This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

close buffer FIFO Rx uart

i use ble_uart example nrf51 in sdk1 with ic kline interface with mortorbike NRF51 Tx,RX connect to TX,RX MC33290 and Kline of MC32290 connect to motorbike
( you can Google MC33290)

specially,byte that NRF transmit in Tx,will be stored in RX. example, i send 3 byte 'a' ,'b','c' in Tx,and motorbkie give me 2 byte '1','2' then i receive 3 byte that i have already send 'a','b','c' and 2 byte '1','2'. so totally, In RX, i have 5 byte. now i need to take 2 byte '1','2'. i use ble_uart with FIFO.so when i transmit byte and receive byte. all of them automaticly was pushed into FIFO buffer. so when i get data by app_uart_get (), i read all buffer include byte i send. so i want to ask about how close FIFO buffer RX while i'm sending byte, and reopen when complete to filter byte i send and just recive byte I need

Related