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

How to speed up the change between PTX and PRX of esb?

Hi,

I am using 2 esb devices to test my packet send and received.

My use case is:

1. Node-1 and Node-2 is power-in in PRX mode

2. Node-1 switch to PTX and send a packet, then switch to PRX,

3. Node-2 receive packet, switch to PTX mode and send a packet out. After send packet, switch to PRX.

4. Node-1 receive packet, switch to PTX mode and send a packet out. After send packet, switch to PRX.

....

If the speed between PTX and PRX is to fast, then it will cause many "Send error".  If I add some delay (Ex: use nrf_delay_ms(2)), then there will no error occur.

What is the bottleneck? PTX switch to PRX? or PRX switch to PTX?

Thank you,

Chianglin

Related