-
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
-
vc编写的游戏俄罗斯方块,功能齐全,很适合大家研究学习vc。...
vc编写的游戏俄罗斯方块,功能齐全,很适合大家研究学习vc。-vc Tetris game written in complete functions, it is suitable for everyone to consider learning vc.
- 2022-03-06 17:00:44下载
- 积分:1
-
System identificaation
参数识别和模态分析神经网络应用于桥梁结构评估。(System identification)
- 2017-09-28 21:55:41下载
- 积分:1
-
spso
说明: 无线传感器网络数学优化模型程序,里面详细记载了WSN的成簇数学模型
(Wireless sensor networks mathematical optimization model program, which documented the WSN clusters of mathematical model)
- 2008-09-16 09:43:21下载
- 积分:1
-
要求用vc写一个画直线,矩形和椭圆的程序
采用橡皮筋模式...
要求用vc写一个画直线,矩形和椭圆的程序
采用橡皮筋模式
-vc was asked to use a line drawing, rectangle and ellipse procedures used rubber-band model
- 2022-12-03 23:40:02下载
- 积分:1
-
TSCMA
说明: 针对信道均衡盲均衡常模算法的初始化问题,不同于普遍的中心抽头初始化,移动抽头可以避免收敛到局部极小值。(For the initialization problem of channel equalization blind equalization constant modulus algorithm, unlike the common centralized tap initialization, mobile tap can avoid convergence to local minimum.)
- 2019-05-07 19:26:12下载
- 积分:1
-
整数规划
建立优化模型,确定优化变量,利用整数规划算法进行优化,仿真结果图片显示。(The optimization model is established, the optimization variables are determined, the linear programming algorithm is used to optimize the results, and the simulation results are displayed.)
- 2021-04-22 21:38:48下载
- 积分:1
-
万门LaTeX课程资料
说明: 万门大学Latex课程资料,包含源码及模板。(Wanmen University Latex course materials, including source code and templates.)
- 2019-04-22 15:59:47下载
- 积分:1
-
vb做的计算器,可以运行
vb做的计算器,可以运行
vb做的计算器,可以运行
vb做的计算器,可以运行-vb do calculators, can run vb do calculators, can run
- 2022-07-14 07:15:19下载
- 积分:1
-
这是我收集有关zigbee的无线网络的书籍,希望对你有用
这是我收集有关zigbee的无线网络的书籍,希望对你有用-This is my collection of books zigbee wireless networks, in the hope useful to you
- 2022-05-16 03:16:40下载
- 积分:1