完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
嗨,我正在使用
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个回答
|
|
你好 ,
在与专家核实后,我认为这是不可能的 可以在快速连续PC模式下屏蔽延迟 1快速连续PCS模式。通过PUSHR中的控制位屏蔽延迟。 cf位PE_MASC 奇偶校验启用或屏蔽当前帧PE中的tASC延迟 该位使能SPI帧的奇偶校验位发送和奇偶校验接收检查。 最好的祝福 二万 以上来自于谷歌翻译 以下为原文 Hello , After checking with experts, I think that it is not possible The delays can be masked in Fast Continuous PC mode 1 Fast Continuous PCS mode. Delays masked via control bits in PUSHR. cf bit PE_MASC Parity Enable or Mask tASC delay in the current frame PE This bit enables parity bit transmission and parity reception check for the SPI frame. Best regards Erwan |
|
|
|
只有小组成员才能发言,加入小组>>
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
1629 浏览 1 评论
2317 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
1522 浏览 1 评论
2911 浏览 6 评论
5405 浏览 21 评论
401浏览 4评论
694浏览 4评论
在Linux上安装Atollic TRUEStudio的步骤有哪些呢?
298浏览 3评论
使用DMA激活某些外设会以导致外设无法工作的方式生成代码是怎么回事
750浏览 3评论
644浏览 3评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-5-17 03:55 , Processed in 0.891585 second(s), Total 78, Slave 62 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号