完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
扫一扫,分享给好友
使用SPC564X,我试图读取linflex3上BDRM中的字节数(当处于4字节缓冲模式时)。我知道linflexd 0/1可以使用FIFO模式,但是在linflex2-9上没有。我需要这个的原因是收到一个不是4字节对齐的消息。
此外,在发送一个字节后,tx完成中断(由DTF导致)是否会出现任何原因?我找到了一种情况,我将在UARTCR中设置TXEN,将我的字节加载到BDRL中,并在几次中断服务后以同样的方式停止触发。此时TXEN字段仍为1,但DTF为0。 谢谢 以上来自于谷歌翻译 以下为原文 Using an SPC564X, I'm trying to read how many bytes are in the BDRM (when in 4 byte buffer mode) on linflex3. I know it is possible on linflexd 0/1 using FIFO mode, but that isn't available on linflex2-9. The reason I need this is incase a message which isn't 4 byte aligned is received. Also, would there be any reason the tx completed interrupt (cause by DTF) wouldn't fire after sending a byte? I'm finding a situation where I'll set TXEN in UARTCR, load my byte into the BDRL and after a few interrupts servicing in this same way it stops firing. At this point the TXEN field is still 1, but the DTF is 0. Thanks |
|
相关推荐
1个回答
|
|
嗨,
你在使用SPC5studio或其他开发工具吗? 在任何情况下,如果你发送linflex的代码,它可能是有用的,所以我们可以检查它是否一切正常。另外,你能指出你使用的基于z4核心的平台吗? 问候, Procolo 以上来自于谷歌翻译 以下为原文 Hi, are you using SPC5studio or another development tool? In any case, it could be useful if you send your code for linflex so we can check if it's all ok. Also, could you speficy which z4 core based platform are you using? Regards, Procolo |
|
|
|
只有小组成员才能发言,加入小组>>
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
2881 浏览 1 评论
3282 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
1861 浏览 1 评论
3711 浏览 6 评论
6125 浏览 21 评论
对H747I-DISCO写程序时将CN2的st-link复用为usart1,再次烧录时无法检测到stlink怎么解决?
411浏览 2评论
STM32G474RE芯片只是串口发个数据就发烫严重是怎么回事?
510浏览 2评论
STM32处理增量式编码器Z信号如何判断中断是正转的还是反向转的?
334浏览 2评论
使用STM32F407VET6的USB2.0功能,发现ctl后芯片无数据返回,是什么原因可能导致的呢?
246浏览 2评论
用STM32G431开发工程,1.50版本的Package包文件无法输出项目工程
354浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-2-24 14:19 , Processed in 1.111176 second(s), Total 42, Slave 37 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191