Cypress技术论坛
直播中

施敏

8年用户 156经验值
私信 关注
[问答]

如何获得RXBIRR IRQ去断言

嗨,我目前正在研究一个模拟设备BLIMFIN与CYFR6936接口。我已经写了司机模仿WirelessUSB LP驱动1.4柏PSoCs尽量紧密,但它是不稳定的。在发送和接收的几秒钟,rxberr IRQ的断言,我不能断定。阅读的TX和RX irq_status寄存器似乎不清楚,所以我继续射击连续中断。数据表说:“这个标志被清除时,RX去设置和SOP接收,“但这是一段在传输过程中发生的,而另一端是不会发送任何东西因为它在等待一个包。如何获得RXBIRR IRQ去断言,这样我的ISR停止射击?

以上来自于百度翻译


     以下为原文
          Hi,   
I'm currently working on a Analog Devices Blackfin interfacing with a CYRF6936. I've written the driver to mimic the WirelessUSB LP Driver 1.4 for Cypress PSoCs as closely as possible, but it's unstable. After several seconds of transmitting and receiving, the RXBERR IRQ is asserted, and I can't get it to de-assert. Reading the TX and RX IRQ_STATUS registers doesn't seem to clear it, so my interrupt keeps on firing continuously. The datasheet says "this flag is cleared when RX GO is set and a SOP is received," but this is happening during a period of transmission, and the other end isn't going to be transmitting anything because it's waiting for a packet.   
   
How do I get RXBERR IRQ to de-assert so my ISR stops firing?   

回帖(2)

许朝亮

2019-2-13 15:25:36
尽量不要使这个中断出现在IRQ PIN上,而只是在必要的时候通过读取状态寄存器来检查

以上来自于百度翻译


     以下为原文
          try not enabling this interrupt to be present on IRQ pin, rather just examine by reading status register if/when necessary   
举报

徐丽丽

2019-2-13 15:47:55
Anitha,你是对的。这是你可以期待中断和获取RXBIRR IRQ位集的唯一的两种方式。问候,Sai

以上来自于百度翻译


     以下为原文
          Anitha,   
   
You are right .This are the only two ways where you can expect an interrupt and get the RXBERR IRQ bit set.   
   
Regards,   
Sai   
举报

更多回帖

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