looking for basic start up for NRF24L01

Hi, i am looking for basic start up parameters for a 24L01.

I do all my programm in assembler (sorry i am old).

what i aim to do is simple TX-RX, like a small remote with 4 buttons to a simple receiver.

no need to have extensive encryption, rolling codes or channel scans.  i would like to send like 6 bytes, and get them out to my processor, either unfiltered or thru a fifo,...

There is a lot of parameters into this chip and it loses me. I am used to use my own discrete rf hardware in ook (colpits) at 433.92mhz. i need to move to a higher frequency and more payload.

Is there a start up manual, reference or library that can help me.

all i find is threads with users that reports it doesnt work and need tons of tweaks and modifications to "eventualy" work (regardess of the software method irrc)...

thanks for any helps

Parents Reply
  • Hi Patrick,

    From the nRF24L01 datasheet, you can see that when DPL (dynamic payload length) is enabled (via FEATURE.EN_DPL), you must also enable DPL per pipe using the DYNPD register. Make sure you have done this.

    Also, maybe you could try to flush the RX buffer to recover properly, say, something like:

    uint8_t result = read_register(R_RX_PL_WID);

     

        if (result > 32 || !result) {
            flush_rx();
            return 0;
        }
        return result;

    -Priyanka

Children
Related