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

nrf24l01+: can't access RF_SETUP register but all others

Dear All,

I'm kinda getting desprate and would be very thankfull if somebody could help me.

I want to get two NRF24l01+ to communicate with each other. But it doesn't work.... With my ATMEGA48PA I can communicate over SPI with the NRF24l01+ Chip. I can read and write all 17 registers EXCEPT of one: the "RF_SETUP" register.

When I read the "RF_SETUP" register I only get zeros back. Also after writing something into it....

Don't really know what to do anymore...did anybody else ever had the problem not being able to access only one register but all others?

Thank you in advance! Theo

Read out configuration after configured as TX:

CONFIG: bx01001010, EN_AA: bx00111111, ENRXADDR: bx00000011, SETUP_AW: bx00000011, SETUP_RETR: bx00101111, RF_CH: bx00000010, RF_SETUP: bx00000000 (supposed to be: bx00001110), STATUS: bx00001110, OBSERVE_TX: bx00000000, RPD: bx00000000, RX_ADDR_P0: 0xE7E7E7E7E7, RX_ADDR_P1: 0xC2C2C2C2C2, RX_ADDR_P2: bx11000011, RX_ADDR_P3: bx11000100, RX_ADDR_P4: bx11000101, RX_ADDR_P5: bx11000110, TX_ADDR: hx11100111, RX_PW_P0: bx00000000, RX_PW_P1: bx00000000, RX_PW_P2: bx00000000, RX_PW_P3: bx00000000, RX_PW_P4: bx00000000, RX_PW_P5: bx00000000, FIFO_STATUS: bx00010001

Parents
  • Hi Theo

    Are you able to get communication running if you don't touch the RF_SETUP register, and just use the default configuration? You don't have to write anything to this register to establish communication (you just won't be able to change the bitrate or output power settings).

    Could you provide some information on the nRF24L01+ modules you have, such as a manufacturer link, and a picture of the module if you have it? There are a lot of fake nRF24L01+ modules out there (especially if you buy cheap modules from China), and they could have unpredictable behavior.

    Best regards
    Torbjørn

Reply
  • Hi Theo

    Are you able to get communication running if you don't touch the RF_SETUP register, and just use the default configuration? You don't have to write anything to this register to establish communication (you just won't be able to change the bitrate or output power settings).

    Could you provide some information on the nRF24L01+ modules you have, such as a manufacturer link, and a picture of the module if you have it? There are a lot of fake nRF24L01+ modules out there (especially if you buy cheap modules from China), and they could have unpredictable behavior.

    Best regards
    Torbjørn

Children
No Data
Related