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

HELP WITH NRF24L01+ AND ACK_PAYLOAD (not working)

I have two NRF24L01+ devices. My aim is to have one as PTX and the other as PRX replying with ACK_PAYLOAD. It is working with ACK enabled (without payload). However when ACK_PAYLOAD is enabled (through feature and dynamic payload registers), the PTX does not receive RX payload (TX_DS and RX_DR flags are not set) even though PRX is sending the payload (TX_DS on PRX is set). Can someone provide a config and implementation setting that has worked for them, since i am struggling to get mine to work. PTX config:

  1. TX_ADDRESS = {0x34,0x43,0x10,0x10,0x01}
  2. RX_ADDR_P0 = {0x34,0x43,0x10,0x10,0x01}
  3. Enable Pipe0, Auto acknowledge
  4. SETUP_RETR: 500us, 10 retransmit
  5. RF_SETUP: 250 kbps (have tried with 1 mbps and 2 mbps without success as well)
  6. FEATURE: enable ack payload, dynamic payload
  7. DYNPD: enable dynamic payload pipe 0
  8. CONFIG: 0x0e (disable all interrupts on IRQ, power up PTX, 2 bit CRC)

PRX config: same as PTX except RX_PW_0: number of bytes sent by PTX. CONFIG: 0x0f (disable all interrupts on IRQ, power up PRX, 2 bit CRC)

Thanks!

Parents Reply Children
No Data
Related