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

Uart without flow control unreliable

Hi all, I'm working on sdk11.0.0 and s130 softdevice. In my project I want to send data coming from uart to ble and data coming from ble to uart same as ble_app_uart example.

uart configuration in my project as shown below

image description

In uart event handler I run a timer with a time period of receive 256 bytes shown belowimage description

In time out handler I collect the data from uart and send it to ble as shown in below

image description

If I send more than 60 bytes at the same from pc terminal sometimes it loses data if I use flow control it working fine. Can one help to make uart communication more reliable without using flow control

Thanks in advance

Related