-
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
-
压缩的例子,小脑以PIC 16F877板和之间的通信…
a zipped example of communication between the Cerebellum 16f877 pic board and the CMUcam. There are plenty of comments in the code.
- 2023-07-20 11:40:03下载
- 积分:1
-
事件研究法
说明: 用stata实现事件研究法的实证分析,基于某公司借壳上市的实例,分析超额收益(An empirical analysis of event research method with Stata)
- 2021-03-13 17:19:24下载
- 积分:1
-
XPMenu目录:XPMenu菜单的例子,setup子目录可自动安装注册DLL。
XPMenu目录:XPMenu菜单的例子,setup子目录可自动安装注册DLL。-XPMenu Contents : XPMenu menu example, setup subdirectory can be registered automatically installed DLL.
- 2022-02-01 15:18:31下载
- 积分:1
-
BEMD
Nunes 制作的二维经验模型分解程序,matlab2000年以前版本可以使用,之后版本有bug需要改进(Nunes produced two-dimensional empirical model decomposition program, matlab 2000 years ago, the use of the future, after the version of the need to improve the bug)
- 2017-07-18 18:56:06下载
- 积分:1
-
PSMS PId
实现永磁同步电机的PID闭环控制,能够仿真出来,且波形较好(Realization of Permanent Magnet Synchronous Motor PID Closed Loop Control)
- 2017-09-27 12:49:20下载
- 积分:1
-
利用MATLAB信号处理工具箱设计IIR滤波器
说明: 利用MATLAB信号处理工具箱设计IIR滤波器,包含程序和图像(Design IIR filter using MATLAB signal processing toolbox)
- 2021-01-08 18:03:19下载
- 积分:1
-
ExampleCode_clock_AD9516
ExampleCode_clock配置时钟(ExampleCode_clock SET)
- 2020-06-23 12:40:01下载
- 积分:1
-
SAR
用matlab仿真SAR方向图,并且实现主波束在一定角度范围内扫描的过程。(Simulating SAR pattern with MATLAB .The scanning process of the main beam in a certain angle range is realized.)
- 2019-01-19 15:07:14下载
- 积分:1
-
标准节点数据
电力系统标准节点数据
9,14,30等等(Standard node data of power system
9,14,30)
- 2018-03-23 11:24:11下载
- 积分:1