-
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
-
冬季北方室内空气交换问题的数学模型详细设计
冬季北方室内空气交换问题的数学模型详细设计-northern winter indoor air exchange of detailed mathematical model of the design
- 2022-06-26 17:21:37下载
- 积分:1
-
38 NSGA-II工具箱
说明: 一种传统的优化方法,用于优化各种函数函数函数函数(optimization djisfjvis fefjwef sdoijefw)
- 2019-12-29 12:46:38下载
- 积分:1
-
编号为1
编号为1-52张牌,正面向上,从第2张开始,以2为基数,是2的倍数的牌翻一次,直到最后一张牌;然后,从第3张开始,以3为基数,是3的倍数的牌翻一次,直到最后一张牌;然后…从第4张开始,以4为基数,是4的倍数的牌翻一次, 直到最后一张牌;...再依次5的倍数的牌翻一次,6的,7的 直到 以52为基数的 翻过,输出:这时正面向上的牌有哪些?-No. 1-52 card in a positive, progressive, from the first two, with two as the base, 2 is a multiple of the license over time, until finally a license; Then, from the first three starting with three to the base, 3 is a multiple of the license over time, until finally a license; Then ... from the first four starting to four as the base, 4 is a multiple of the license over time, until finally a license; ... followed by the five multiples of the licensing repotted once, 6, 7 to 52 until the base of the turn, the output : At this time positive signs of upward What?
- 2022-01-25 16:12:45下载
- 积分:1
-
MFC Graphics Tablet Test Application
MFC Graphics Tablet Test Application
- 2022-11-07 02:50:03下载
- 积分:1
-
这是php编的论坛的原代码,希望正在学习php的同行借鉴一下,我们学校的论坛原代码就是这个 !...
这是php编的论坛的原代码,希望正在学习php的同行借鉴一下,我们学校的论坛原代码就是这个 !-This is php series of the Forum of the original code, php hope is learning from peers, we are a forum for schools is the original code!
- 2022-11-02 09:10:03下载
- 积分:1
-
on the transverse mode of the electromagnetic wave, can be used to increase thei...
关于bragg光纤的电磁波横模的计算,用其可以给加好的了解bragg的模式特性-on the transverse mode of the electromagnetic wave, can be used to increase their understanding of good characteristics of the model bragg
- 2022-03-30 06:38:57下载
- 积分:1
-
echarts-demo
echarts-demo for study for love for hanjinjin
- 2018-06-03 22:51:25下载
- 积分:1
-
address2
一个简单的基于静态路由表的最佳路由过程,OMNETPP平台下已经编译通过。(A simple static routing table based on the best routing process, OMNETPP platform has been compiled through.)
- 2008-08-01 13:53:13下载
- 积分:1
-
Form1.Designer1
c#实现KTV点歌功能,并有一定文字说明,而且界面很好看(C# implements the function of KTV song ordering, and has a certain text description, and the interface is very good.)
- 2020-06-25 07:40:02下载
- 积分:1