-
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
-
MeanFFT&LSCE
对数据进行分段fft分析,最后进行平均,功能类似FFT的平滑处理。(The data are analyzed by segmented fft and eventually averaged. The function is similar to that of FFT smoothing.)
- 2018-11-23 10:20:32下载
- 积分:1
-
SimulateDeposition
说明: 相场模拟计算的matlab程序,模拟沉积过程中的结构演化(Phase field simulation of matlab procedures)
- 2020-06-15 22:55:01下载
- 积分:1
-
sato
2psk的sato盲均衡算法,压缩包中的论文有介绍一部分(Sato blind equalization algorithm for 2PSK)
- 2017-06-14 10:42:59下载
- 积分:1
-
伪
伪彩颜色表,用于实现图像伪彩变幻处理.
可以用于医学图像处理和其他类型的图像处理.
例如在医学影像处理中将灰色图像以自定义伪彩显示出来.-Pseudo-color color table for the realization of pseudo-color image changing treatment. Can be used for medical image processing and other types of image processing. For example, in medical imaging will deal with the gray image to customize the pseudo-color display.
- 2022-05-08 05:33:41下载
- 积分:1
-
ETHERNET_SIMATIC NET OPC_PLC_S7
说明: 通过ETHERNET建立SIMATIC NET OPC 服务器与PLC 的S7连接(agsrjt7glohy8uihjnkvhmjfukydt5erfuygt7lo86o8lio)
- 2019-05-09 22:29:09下载
- 积分:1
-
六相永磁同步电机控制系统仿真与分析
六相永磁同步电机控制系统仿真,基于matlab的simulink仿真(Simulation and analysis of six-phase permanent magnet synchronous motor control system)
- 2018-12-04 10:48:42下载
- 积分:1
-
circlesuplycenterbest
补偿光源布局,计算光照度,设置循环求最优
简单的一个小程序(Compensate the layout of the light source, calculate the illumination, set the cycle to find the best.)
- 2018-11-29 08:58:24下载
- 积分:1
-
121
自适应波束形成中的采样矩阵逆算法(SMI) 程序基于窄带自适应波束形成编写,QQ日志发表源码程序,结合易语言编码转换支持库和脚本语言支持组件,实现QQ日志的发表很适合初学者学习使用(The adaptive beamforming algorithm in the sampling matrix inversion (SMI) program narrowband based adaptive beamforming, QQ log published source program, combined with easy language encoding conversion support library and script language support components, realize QQ log published very suitable for beginners learning to use)
- 2020-06-28 18:40:02下载
- 积分:1
-
MAX232
max232的pdf资料,可以方便大家制作串口通信时使用-MAX232
- 2022-04-22 10:03:11下载
- 积分:1