-
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
-
dnsflushCon
c#实现,可以动态修改host文件并刷新缓存(can dynamically modify the host file and refresh the cache)
- 2016-03-13 22:33:19下载
- 积分:1
-
wpf 登陆页面示例源码 用的sqlserver数据库
wpf 登陆页面示例源码 用的sqlserver数据库
- 2014-04-18下载
- 积分:1
-
diantidiaodu
驱动调度+操作系统+模拟电梯调动的算法程序,使用C++编写。(Driven scheduling algorithm procedures, the+ operating system+ simulated lift mobilize written using the C++.)
- 2012-11-14 20:17:03下载
- 积分:1
-
AllNagra2_source
Nagravision 2 patch source code
- 2011-11-17 10:39:10下载
- 积分:1
-
vibe
说明: 利用vibe算法实现前景检测,有需要的同学可以下载直接运行(get the vibe code,only for study and learning)
- 2020-06-22 12:40:01下载
- 积分:1
-
sql server and the production of simple photo browser. Rar
c#和sql server制作的简单照片浏览器.rar-sql server and the production of simple photo browser. Rar
- 2022-02-11 14:16:19下载
- 积分:1
-
cinrowprocedures
自己写的文件分割程序的源代码,超级好好用()
- 2017-12-11 15:10:29下载
- 积分:1
-
matlab
说明: bp神经网络的模型训练与测试,并判断模型的可靠性。(Bp neural network model training and testing, and judge the reliability of the model.)
- 2020-09-22 14:49:47下载
- 积分:1
-
使用OPENCV加载的任意图片,保存成单色位图BMP,用于打印
使用OPENCV加载的任意图片,保存成单色位图BMP,用于打印
- 2022-02-28 14:34:48下载
- 积分:1