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.
串口一端接PC机,一端接DSP,用PC机发送数据,无法进入到中断程序,下面是我的一些代码。
建议检查下 UART能收到数吗? UART中断/Event标志有没有置位?
检查UART和中断相关寄存器
能详细说一下吗?新手不知道从哪里检查
数能收到。但是进不了中断,读取那个数的函数没办法实现。如何看有没有置位?程序我是去别人那里移植的。
寄存器IFR在程序刚刚仿真进去的时候是置位的,但是一下就变成0了。