嗨,我正在使用
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 transmit
ting 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