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

Multiple transmitters to a nRF52832 with ESB failed.

Hi,

I am using two nRF52832 and one nRF24L01+.

My topology is as follows: nRF52832 A<---> nRF52832 B<---> nRF24L01+.

where "A <---> B" means that A communicate with B with ESB protocol. In the topology, the nRF52832 in the middle(i.e., nRF52832 B) acts as a reciever while the others(i.e., nRF52832 A and nRF24L01+) acts as transmitters.

I have set two different addresses in nRF52832 A and nRF24L01+, repectively. I also set the same addresses in nRF52832 B in order to have it communicate with the others. I can also have nRF52832 B recieved the packets from nRF52832 A and nRF24L01+, repectively, as expected.

However, when nRF52832 A and nRF24L01+ transmitted the packets concurrently, the reciever(i.e., nRF52832 B) crashed, after receiving some packets, as you can see the screenshot of the logging diary below. In the duration, some packets were not received successfully(The packets from nRF52832 A with value from 83 to 87). Finally, the application of the receiver(i.e., nRF52832 B) crashed as it was not able to receive any packets and log anything anymore. even though the transmitter were still transmitting the packets.

I supposed that the packets from two transmitters collide with each other, which makes the receiver application crashed. I tried to flush the rx_fifo manully after receiving packet every time, as the picture shows below. But it didn't help to solve the problem.

Any suggestion would be helpful. Thanks in advanced.

Parents
  • I suppose that the codes which have LED blinked have taken up CPU too much time, which made the application crashed. I deleted these codes and now the application met new error. As the picture shows below, a fatal error occured and the system reset and the application restarted again.

    Any suggestion would be appreciated. Thanks in advanced.

Reply
  • I suppose that the codes which have LED blinked have taken up CPU too much time, which made the application crashed. I deleted these codes and now the application met new error. As the picture shows below, a fatal error occured and the system reset and the application restarted again.

    Any suggestion would be appreciated. Thanks in advanced.

Children
Related