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.

CC3200 uart 中断问题

Other Parts Discussed in Thread: CC3200

最近在调CC3200 uart中断的时候,有个问题发现uart 中断来了,进入中断函数的时候,在中断函数里清中断:

1. MAP_UARTIntClear(UARTA0_BASE, UART_INT_RX);    // 没清成功,会不停地再次进入中断.

2. 如果我没有调用 MAP_UARTCharGet() 函数去读则一直会再进入中断。

我想要实现的是:当串口有中断来的时候,我想在串口里清掉中断,然后向RTOS任务发送一个信号,

在任务里实现读串口的数字.请问有没有相关代码可以发来参考的?