-
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
-
诛仙挂机脚本 完美无封号危险 Seraph应用无限可能
诛仙挂机脚本 完美无封号危险 Seraph应用无限可能-诛仙hang up a perfect script without titles Seraph dangerous applications endless possibilities
- 2022-03-14 09:59:22下载
- 积分:1
-
SAPBCABAPProgramming
说明: SAP ABAP开发指南
全面介绍 ABAP 不可多得开发指导(This documentation describes how to write application programs within the three-tier client/server
architecture of the R/3 System.)
- 2009-07-27 16:44:20下载
- 积分:1
-
子程序
ABAQUS子程序sigini,用于加载预定义场(ABAQUS Subroutine sigini)
- 2020-07-01 02:40:01下载
- 积分:1
-
此源码能够实现石头剪刀布的功能,并且简单易懂,
此源码能够实现石头剪刀布的功能,并且简单易懂,-shitoujiandaobu
- 2023-08-08 19:50:02下载
- 积分:1
-
读取radarsar数据的MATLAB程序
读取radarsar数据的MATLAB程序-MATLAB program to read the data radarsar
- 2022-08-25 21:48:54下载
- 积分:1
-
2004-022-sep
说明: the code for wsn and leach and sep
- 2019-06-13 05:20:51下载
- 积分:1
-
vc小计算器,实现加减乘除功能.
vc小计算器,实现加减乘除功能.-vc small calculators, and the arithmetic function to achieve.
- 2022-03-21 17:01:58下载
- 积分:1
-
ygyui
皮肤按钮 skinbutton transpanel ,,, 欢迎改进()
- 2018-03-11 23:27:33下载
- 积分:1
-
Packet tools (latest version)
封包工具(最新版)-Packet tools (latest version)
- 2022-02-13 17:24:12下载
- 积分:1