This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TRF7960返回值有误

Other Parts Discussed in Thread: CC2538

我把官方的demo移植到其他单片机上,使用了里面的14443A的协议,当我发送wkup后,irq来后读irq寄存器的状态,读出来的值是0xc0,也就是发送完成,并且接受标志位被设置。demo里面的中断处理函数里面又对0x80  0x40的处理,没有对0xc0的处理,所以程序进入最后的else,然后整个接受过程被终止。另外还有一个问题,7960如何进行复位?我现在遇到的情况是如果我在中断处理函数被打断,那么后面7960就会死掉,任何操作都没反应,即使单片机复位都不行。问题已经困惑我很久了。始终解决不了,