-
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
-
读取GPS数据,并讲GPS数据写人日志的源代码!
读取GPS数据,并讲GPS数据写人日志的源代码!-Read GPS data and GPS data-speaking people to write the source code for the log!
- 2022-01-25 22:55:30下载
- 积分:1
-
maze is an adventure game in turboC2 environment prepared by the small games, as...
迷宫探险游戏是一个在turboC2环境下编写的小游戏,该游戏只要是完成小人从左上角闯过迷宫到达右下角的路径探险-maze is an adventure game in turboC2 environment prepared by the small games, as long as the game is complete villains leaped from the upper left corner of the maze to reach the lower right path adventure.
- 2022-06-20 09:56:53下载
- 积分:1
-
Assembly-CSharp
说明: 使用C#编程,将操作ini,的方法编写成类,方便下次直接调用(Using C # programming, the method of operating ini is written into classes to facilitate the next direct call.)
- 2020-06-25 11:40:01下载
- 积分:1
-
The adventures of AdventuresofHuckleberryFinn by Mark Twain in text file
The adventures of AdventuresofHuckleberryFinn by Mark Twain in text file
- 2022-05-10 15:58:31下载
- 积分:1
-
注册表VI
说明: labview操作注册表,包含删除,添加,查询(register,incloud add delete and research)
- 2020-06-23 12:20:01下载
- 积分:1
-
UWB信道的仿真程序,是一个比较经典和难得的程序!
UWB信道的仿真程序,是一个比较经典和难得的程序!-UWB channel simulation program, is a more classic and rare procedure!
- 2023-07-22 18:05:03下载
- 积分:1
-
5G中文协议
说明: 5G协议,包含频率段范围,接入网系统架构,PDCP、RLC、MAC等(5g protocol, including frequency range, access network system architecture, PDCP, RLC, MAC, etc)
- 2020-03-06 14:20:42下载
- 积分:1
-
用C语言写的小游戏:贪食蛇。可以调蛇的速度,也可调关(共有10关)。...
用C语言写的小游戏:贪食蛇。可以调蛇的速度,也可调关(共有10关)。-Using C language to write a small game:贪食蛇. Can tune the speed of the snake, but also adjustable clearance (a total of 10 customs).
- 2022-01-28 04:26:21下载
- 积分:1
-
对一副图像进行部分模糊化处理,鼠标自有选取区域,并对此区域进行模糊化处理...
对一副图像进行部分模糊化处理,鼠标自有选取区域,并对此区域进行模糊化处理-Part of a blurred image processing, mouse, choose their own region and this region fuzzy processing
- 2023-07-20 07:45:03下载
- 积分:1