-
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
-
PCL_supervoxelclustering_label
实现超体素分割,并将体素质心保存,以及分割后各点对应的标签全部实现保存(Supervoxel segmentation is realized, and the core of body quality is saved, as well as the corresponding labels of each point after segmentation are all saved.)
- 2020-11-04 15:59:52下载
- 积分:1
-
exercises1
说明: Exercisesfor tet purpose
- 2019-04-30 03:33:16下载
- 积分:1
-
Basins of Attraction
说明: Basins of Attraction
- 2021-03-03 16:09:33下载
- 积分:1
-
PyLED-master
py语言led控制操作代码,第三方工具。(Py language LED control operation code, third-party tools.)
- 2019-05-26 20:45:25下载
- 积分:1
-
rocket
这个一个qml的案例,方便使用,入门qml的不二之选(this is a classic exampe uml ,it can be run)
- 2017-12-22 11:02:36下载
- 积分:1
-
资源
通过采用有害气体传感器来检测室内环境的有害气体浓度,单片机读取有害传感器的数据与设定的限值进行比较,偌大于设定的安全限值,则认为有害气体泄漏,由单片机控制蜂鸣器进行报警(Toxic Gas Leakage Alarm Detection)
- 2019-04-28 10:52:34下载
- 积分:1
-
tabusearch
本程序提供禁忌搜索tabu search的matlab程序。可模拟遗传算法产生的节点之后的tabu search过程。(This program provides the matlab tabu search tabu search procedure. Generated by genetic algorithm can simulate the node after the tabu search process.)
- 2010-03-15 17:41:14下载
- 积分:1
-
职责链模式-基本代码
说明: 遗传算法求解车辆路径问题,采用C#编写,计算结果以及计算结果的可视化显示(The genetic algorithm is used to solve the vehicle routing problem, which is compiled by C#, and the results are visualized.)
- 2020-06-24 08:20:02下载
- 积分:1
-
(ppt)
胡广书的《现代信号处理教程》ppt文件,相当于电子版本了,因为很全面(Hu-book " Modern Signal Processing Guide" ppt files, the equivalent of an electronic version, because it is comprehensive)
- 2020-08-01 09:48:36下载
- 积分:1