ST意法半导体
直播中

李建设

7年用户 1376经验值
私信 关注
[问答]

SPI帧之间MOSI线上的尖峰

嗨,我正在使用
SPC570S40E1微控制器。当观察示波器上的MOSI线时,即使在发送全零时,我也看到了帧周围的尖峰。我尝试与之通信的设备需要40位消息。为此,我发送了16,16和8位帧。
在第二帧的开始处有一个尖峰,在第三帧的开始处有另一个尖峰。
此外,关于允许屏蔽Tasc和Tcsc延迟的快速连续PC模式,有一种方法可以在不启用奇偶校验位传输的情况下启用延迟屏蔽。
谢谢
更新:如果我启用连续时钟,我没有看到任何尖峰,但我仍然在寻找解决方案而不必这样做。我尝试降低波特率并调整延迟(Tasc和Tcsc),但这不起作用。

#spi

以上来自于谷歌翻译


以下为原文




Hi, I am using the
SPC570S40E1 microcontroller. When looking at the MOSI line on the scope, I am seeing spikes right around the end of a frame even when transmitting all zeros. The device I am trying to communicate with requires a 40 bit message. To achieve that, I am sending 16,16 and 8 bit frames.

There is one spike at beginning of the second frame and another at the beginning of the third frame.

Also, regarding the Fast Continuous PC mode, which allows masking the Tasc and Tcsc delays, is there a way to enable the masking of delays without  also enabling parity bit transmission.

Thanks

Update: I don't see any spikes if I enable continuous clock, but I am still looking for a solution without having to do that. I tried lowering the baud rate and adjusting the delays( Tasc and Tcsc), but that didn't work.

#spi

回帖(1)

刘鑫

2019-6-19 09:21:11
同样的问题
https://community.st.com/0D50X00009XkehiSAB
 
 注意:原始帖子包含大量线程对话,只能迁移到第9级

以上来自于谷歌翻译


以下为原文




Same issue as

https://community.st.com/0D50X00009XkehiSAB
  
Note: the original post contained a large number of threaded conversations and was only able to be migrated to the 9th level
举报

更多回帖

发帖
×
20
完善资料,
赚取积分