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

nRF52 ESB protocoll mac layer access and access to low level software

Hello,

I am working with the Enhanced ShockBurst protocoll on a nRF52832.

  1. For synchronization reasons between several nodes I need time stamps in my data packet from just before the message is sent. Have I access to this software layer?

  2. Do I have access to low level drivers? My intention is: If a message from the PTX is received I want to check one bit whether it is high or low. If it is low I want to send a certain data set, if it is high a different dataset in the ACK back to the PTX.

Thanks a lot in advance,

Florian

Parents Reply
  • @florian: Sorry I was confused with the TX mode. The handling of ACK packet in PRX mode is executed by the SHORT setup when finishing a transmission/receiving. You can find at on_radio_disabled_rx() function, we assign the address and the pointer to the ack payload at line 775 in the nrf_esb.c. And then in on_radio_disabled_rx_ack() we enable the short to enable TX when radio is disabled and send the data with the short READY-START.

    You should modify the m_tx_payload_buffer if you want to send different ack payloads.

Children
No Data
Related