NRF24L01+ Help

Does anyone have experience configuring the nrf24l01+ for auto acknowledgement? I can send packets but the transmiter reports that the acknowledgement wasn’t received.

I am not receiving automatic acknoledgement for the transceivers although I’ve tried my best to follow the data sheet.

https://www.sparkfun.com/datasheets/Components/SMD/nRF24L01Pluss_Preliminary_Product_Specification_v1_0.pdf

I would like to avoid manual ACKs so that I take load off of processor. It would be better to use available hardware.

Here is my receiver configuration:

CONFIG: 0xf
STATUS: 0xe
EN_AA: 0x3f
RX_ADDR: 0x3
SETUP_AW: 0x3
SETUP_RETR: 0x3
RF_CH: 0x4c
RF_SETUP: 0x20
STATUS: 0xe
OBSERVE_TX: 0x0
RPD: 0x0
RX_ADDR_P0: 0x41 41 41 78 52
TX_ADDR: 0x41 41 41 78 52
RX_PW_P0: 0x20
FIFO_STATUS: 0x11
DYNPD: 0x0
FEATURE: 0x0

Here is my transmitter configuration:

CONFIG: 0xe
STATUS: 0xe
EN_AA: 0x3
RX_ADDR: 0x1
SETUP_AW: 0x3
SETUP_RETR: 0xff
RF_CH: 0x4c
RF_SETUP: 0x20
STATUS: 0xe
OBSERVE_TX: 0xf
RPD: 0x0
RX_ADDR_P0: 0x41 41 41 78 52
TX_ADDR: 0x41 41 41 78 52
RX_PW_P0: 0x20
FIFO_STATUS: 0x11
DYNPD: 0x0
FEATURE: 0x0

I disabled the DYNPD and FEATURE register in this instance to see if I can transmit without dynamic payload. I also tried setting DYNPD and FEATURE to 0x3f and 0x6. This doesn’t work as well.

If anyone has experience with this chip it would be of great help if they can help me configure auto ack. I think I can have auto ack without dynamic ack payload but if I’m wrong please let me know. I will confirm this thought too.

If I can’t get it I may be forced to use manual ACKs.

Thank you.

I looked at TX state diagram and payload isn’t required.

I found a helpful link and it looks like I can get an ack now after some time. it’s slow but it’s working. I had to clear the MAX_RT flag from register and wait until the ack was received.
It’s still not working 100% so I will leave this open for now.

https://devzone.nordicsemi.com/f/nordic-q-a/9764/nrf24l01-with-autoack-i-can-only-receive-for-once

I got the acks working now. But it is really slow. It takes over a minute to send an image.

I think this needs to be addressed at HW level. I do not have a decoupling capacitor on vdd and gnd.

If anyone with exerience on this chip can comment it will help. I will try soldering a capacitor soon.

I need to increase speed of comms.

More info:
I have the pcb antenna version of nrf24l01+, not the high power chip.

Adding a 10uF capacitor worked! The send/ack communication is really fast now.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.

Good to know you resovled the issue.

1 Like