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.

2538串口FIFO的使用方法

因为应用中,串口每次收发的数据包不超过16个字节。所以打算直接用串口的FIFO,实现任意长度的收发数据。

碰到的问题:上位机串口助手发了数据,2538进不了中断。debug时,发现UART_FR寄存器的RXFE始终为1。

环境:smartRF06+HA1.2

屏蔽了:ZTOOL_P1和所有MT开头的defined symbol

附件:因为大小的限制,只上传了hal_uart.c