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

RTS flow control dose not work balky

Hello, Nordic staff,

I work at UART(Host PC_A)<->BLE(S110)<=> BLE(S120)<->UART(HostPC_B) product(like a SPP profile of Classic BT) using a S100 and S120.

I use the flow control of RTS/CTS for the data coming from Host PC.

I use the STOPRX task to deactivate the RTS signal when the UART buffer of the application running in the S110 exceeds a threshold value by reference to the "nRF51 Series Reference Manual Version 2.1" on Page 162 of 195.

The RTS flow control works fine(RTS signal is changed from 'L' to 'H' by STOPRRX = 1) when sending data only from Host PC_A(single direction), but when I start sending data from the peer device(BLE(S120)<->UART(HOST PC_B)(bidrection) , the RTS signal suddenly goes 'H' and 'L' repeatedly and the Host PC_A start sending data to S110 again in accordance with the 'H' and 'L' of the RTS signal.

I don't understand what is happening in the UART of S110. If I understand correctly the "RF51 Series Reference Manual Version 2.1" on Page 162 of 195, the RTS signal should be 'H' by setting STOPRX task and should be 'L' by setting STARTRX.

Please help me with solving this problem.(Incidentally I don't use the UART_SHORTS(It's value is 0). Best regards.

Parents Reply Children
No Data
Related