按您说的单独测试了uartfifo,现象一样,
start progam
Into main uartIRQ //接收4个80,然后发送第1个80
Into uartIRQ RXNE
Rx_Buf[RxCount] = 80
Into main uartIRQ
Into uartIRQ RXNE
Rx_Buf[RxCount] = 80
Into main uartIRQ
Into uartIRQ RXNE
Rx_Buf[RxCount] = 80
Into main uartIRQ
Into uartIRQ RXNE
Rx_Buf[RxCount] = 80
Rx_Buf[0] = 80
Rx_Buf[1] = 80
Rx_Buf[2] = 80
Rx_Buf[3] = 80 //数据接收测试正常
Into main uartIRQ
Into uartIRQ TXE //进入发送中断
Into main uartIRQ
Into uartIRQ RXNE //跳转到接收中断
Rx_Buf[RxCount] = 00 //串口发送00