Other Parts Discussed in Thread: CC2650, SYSBIOS
I use the RF06EB & CC2650. I get the UART function by using the Drivers/UART/UART.c. And I need to connect RX and TX to a half duplex line. But in this case, when I receive data after have sent some data, we received the data sent before. It seems like the RX buffer get the same data when sending some data.
For example, we send five bytes 0x11 0x22 0x33 0x44 0x55, then expect to receive two bytes 0x66 0x77, but we received seven bytes 0x11 0x22 0x33 0x44 0x55 0x66 0x77in fact.
Is there any way to make the RX buffer not to receive data while the TX sending? Or is there a way to clear the RX buffer except by reading all the received data out?


