-
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
-
Bus labviewCAN the basis of examples of the use of exercises, is the basis of La...
labviewCAN总线使用的基础实例练习,是初学labview的基础。-Bus labviewCAN the basis of examples of the use of exercises, is the basis of LabVIEW beginner.
- 2022-06-19 11:50:08下载
- 积分:1
-
网站通栏广告代码
说明: jQuery网站通栏广告代码是一款带左右箭头、底部切换按钮的jQuery网站焦点图代码下载。(JQuery website banner advertising code is a jQuery website focus map code download with left and right arrows and bottom switch buttons.)
- 2019-03-21 10:38:46下载
- 积分:1
-
SW3693
说明: NFC Reader Library v4.010.03.001609 for Linux
===========================
This package contains the complete NFC Reader Library with generic porting layers for Linux.
It is intended to run on any Linux system, but prepared to run on the Raspberry Pi with
Raspbian Linux.
- 2020-06-25 13:20:01下载
- 积分:1
-
tuike_jd
说明: 拼多多微擎模块 查优惠卷 配合主程序使用(Put together multiple micro engine modules to check preferential vouchers)
- 2020-06-21 14:20:02下载
- 积分:1
-
SI4731
说明: 单片机驱动SI4731收音芯片程序,有自动搜台功能(SI4731 ,STM32 ,I2CBUS)
- 2021-03-18 20:19:19下载
- 积分:1
-
guanggaokehu
An order query and maintenance system can complete new orders, alterations and deletions, alterations, processing, management, queries, and printouts of reports. At the same time, it also establishes a communication platform among bosses, employees and customers.
- 2019-05-17 14:41:23下载
- 积分:1
-
我的作业,TC2.0下实现图形编辑,用堆栈实现的,还有递归算法,如果需要请留言。...
我的作业,TC2.0下实现图形编辑,用堆栈实现的,还有递归算法,如果需要请留言。-my operation, under WITH TC 2.0 graphics editing, using the stack to achieve, recursive algorithm, please leave if necessary.
- 2022-08-19 23:57:16下载
- 积分:1
-
日本北海道地室蘭市12个月平均风速.csv
可供风速预测相关研究者使用
- 2021-05-06下载
- 积分:1
-
一个VC++ OpenGL封装库+C#应用程序实例
一个VC++ OpenGL封装库,例子源码还提供一个用C#开发的应用程序。只是构造了两个相交的长方体。程序非常简单。通过改变控件的ViewBallRadius可以控制显示的大小,注意ViewBallRadius不能太小,必须把你所画的物体包住,否则会有失真,你也可以写程序自动控制ViewBallRadius的大校鼠标抓住控件可以从不同角度观察物体。这样你就不需要了解OpenGL的细节就可以用它来绘制你所需要的3D物体。只要你愿意你按照我的方法提供任意物体的坐标,就可以绘制出任意复杂的物体。
本例子源码采用Visual Studio 2003开发。
- 2022-04-30 13:23:08下载
- 积分:1