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

Libuarte - advanced UARTE driver - Problem with hardware flow control

We are using the advanced UARTE library to get advantage of EasyDMA to receive data from a LTE module.

We also implemented hardware flow control. THe problem is that the Nordic chip correctly de-asserts the RTS line to stop the data flow coming from the module when there are only 4 (if er got well) bytes available.

The problem is that the LTE module we are using polls the RTS line evey 2ms, meaning that it could transfer a lot of data (much more than 4) before stopping.

Is there any way to anticipate the handshake control when we have much more room available in the buffer?

Alternatively, what is the best approach to deal with the problem?

Thanks

Related