- 这一篇将介绍TMS320F28335中SPI通讯协议的介绍,SPI即串行外围设备接口,全双工同步串行通讯总线。它一共有四根线进行连接,SPISOMI:SPI从输出主输入引脚,SPISIMO:SPI主输出从输入引脚,SPISTE:SPI从发送使能引脚,SPICLK:SPI串行时钟引脚。
具有两种工作模式,分别为主工作模式和从工作模式。
四种时钟模式(由时钟模式和时钟相位控制)
1、Falling edge without phase delay: SPICLK active-high. SPI transmits data on the falling edge of theSPICLK signal and receives data on the rising edge of the SPICLK signal.
无相位延迟的下降沿:SPICLK为高电平有效,在SPICLK的下降沿发送数据,在SPLCLK的上升沿接收数据。
2、Falling edge with phase delay: SPICLK active-high. SPI transmits data one half-cycle ahead of the falling edge of the SPICLK signal and receives data on the falling edge of the SPICLK signal.
3、Rising edge without phase delay: SPICLK inactive-low. SPI transmits data on the rising edge of the SPICLK signal and receives data on the falling edge of the SPICLK signal.
4、Rising edge with phase delay: SPICLK inactive-low. SPI transmits data one half-cycle ahead of the falling edge of the SPICLK signal and receives data on the rising edge of
TMS320F28335与10位数模转换器TLC5615的SPI通讯问题2(SPI协议篇)
最新推荐文章于 2025-06-30 09:00:00 发布