Hello,
I am using ESB to communicate between 2 devices. One works as TX and one works as RX. I start from esb_ptx and esb_prx example in nrf sdk 17.1
My TX ack set up:
nrf_esb_config.selective_auto_ack = true;
tx_payload.noack = fasle;
My RX ack set up:
nrf_esb_config.selective_auto_ack = false;
In my project, I use TIMER1, TIMER3, SPIM3
My code running flow:
1. Tx use TIMER3 send the question to Rx each 1s.
2. If Rx answer correctly, Stop TIMER3, Tx will begin getting the data from external peripheral device via SPIM3, data rate ~ 1.3Mbps. TX send the packets of 252 payload data to RX each 1.5ms (TIMER1)
My problem is "I can not send the ack from Rx to Tx when Tx always working with SPIM3 and TIMER1.
Please suggest me the solution.
Thank you very much.
MinhDuc