-
CH11-KEA128-SPI
1. 硬件接线
(1)调试串口(UART_Debug)使用UART2,在“printf.h”文件中宏定义, 对应引脚为TX-PTD7,RX-PTD6
(在“uart.h文件中宏定义)。
(2)灯0~3(LIGHT_0~LIGHT_3)对应的引脚是PTC0~PTC3,高电平点亮(由硬件接法决定)
(3)SPI0_CLK对应的引脚是PTE0, SPI0_MOSI对应的引脚是PTE1,
SPI0_MISO对应的引脚是PTE2,SPI0_PCS对应的引脚是PTE3,
SPI1_CLK对应的引脚是PTG4, SPI1_MOSI对应的引脚是PTG5,
SPI1_MISO对应的引脚是PTG6,SPI1_PCS对应的引脚是PTG7。
(4)SPI0作为master,SPI1作为slave,SPI1接收SPI0发送的数据并产生中断。
用导线将PTE0与PTG4对接,将PTE1与PTG5对接,将PTE2与PTG6对接,将PTE3与PTG7对接。(1. Hardware wiring
(1) Debugging Serial Port (UART_Debug) uses UART2, macro-defined in "printf.h" file, corresponding pins are TX-PTD7, RX-PTD6.
(macro definition in the uart.h file).
(2) The pins corresponding to the lamp 0~3 (LIGHT_0~LIGHT_3) are PTC0~PTC3, and the high-level lighting is determined by the hardware connection.
(3) The pin corresponding to SPI0_CLK is PTE0, and the pin corresponding to SPI0_MOSI is PTE1.
The pin corresponding to SPI0_MISO is PTE2, and the pin corresponding to SPI0_PCS is PTE3.
The pin corresponding to SPI1_CLK is PTG4, and the pin corresponding to SPI1_MOSI is PTG5.
The pin corresponding to SPI1_MISO is PTG6, and the pin corresponding to SPI1_PCS is PTG7.
(4) SPI0 acts as master and SPI1 acts as slave. SPI1 receives data sent by SPI0 and generates interruption.
PTE0 and PTG4 are docked by wire, PTE1 and PTG5 are docked, PTE2 and PTG6 are docked, PTE3 and PTG7 are docked.)
- 2020-06-16 12:00:01下载
- 积分:1
-
voc_draw.py
说明: VOC格式标注可视化。用于数据标注的检查等(draw a picture with voc 2007 format)
- 2020-06-17 11:20:02下载
- 积分:1
-
saohaoqi
这是我自己写的一个chinanet扫号器(This is a the CHINANET sweep No. I wrote it myself)
- 2013-04-18 13:01:23下载
- 积分:1
-
prospect
用生物参量模拟叶片光谱反射率和透射率的辐射传输模型(Simulation of radiation transmission model of leaf spectrum with biological parameters)
- 2021-04-18 09:48:52下载
- 积分:1
-
可以实现过去,现在,乃至不同时区的切换。可以实现倒计时,时间长短计时和提醒。很适合用在一般事务安排和约会时间等待上。...
可以实现过去,现在,乃至不同时区的切换。可以实现倒计时,时间长短计时和提醒。很适合用在一般事务安排和约会时间等待上。-Can be achieved in the past, present, and even to switch time zones. Countdown can be achieved, time, length of time and reminders. Very suitable for use in the General Service arrangements and the appointment time to wait on.
- 2022-01-26 02:35:16下载
- 积分:1
-
VC数据库编程,把图片放到数据库种,初学的,有点用处
VC数据库编程,把图片放到数据库种,初学的,有点用处-VC database programming, the picture on the database species, beginner, and a bit useless
- 2022-03-02 10:00:07下载
- 积分:1
-
软件简介:新专辑的单
软件介绍:新天堂单用户相册之巴巴变 v1.0 Alpha新巴变相册系统是一套使用PERL写的单用户相册,使用了稀饭相册系统的模板,有良好的显示效果。它基于巴巴变开放的API接口,所有的图片和数据都存放在巴巴变的服务器上,因而对于你的服务器而言不需要什么的存储空间,也不需要有大的带宽,最大限度的降低了安装和运行成本。免去了换空间时的数据转存的问题,你要做的就是把文件从这台服务器拷贝到另一台服务器,而这一切不过分分钟就解决。-Software Description: The new album of the single-user heaven Bababian v1.0 Alpha Bus Change album System is a single-user to use PERL to write albums, using the template system, rice porridge album, there is a good display. It is based on an open API interface Baba change all the pictures and data are stored in the Baba changing servers, so no need for you in terms of what the server storage space and does not require large bandwidth, the maximum reduced installation and operation costs. Eliminates the need for space maintained by the data transfer problem, you have to do is to copy the file from server to another server, and all this, but for every minute to resolve.
- 2022-11-11 15:55:03下载
- 积分:1
-
网页URL地址的js插件
一款可以非常实用方便的操纵网页URL地址的js插件(A very practical and convenient JS plug-in for manipulating web page URL address)
- 2019-01-02 10:26:58下载
- 积分:1
-
avrdudeprog33
fdgafhgkjl; sgfhkgjkj dfj
- 2019-03-17 03:11:53下载
- 积分:1
-
Zbus
说明: 基于隐式Zbus的配电网潮流计算程序,IEEE33节点(Power Flow Calculation of Distribution Network Based on Zbus)
- 2020-06-22 14:00:02下载
- 积分:1