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

NRF24L01+ PIPE SETTINGS

Hello,

i just want setup 1Tx and 1 RX using NRF24L01+ chips. but i am confused what should be Transmitter side Tx & Rx and what should be in Rx Tx & RX ? in order to use auto-ack feature.

which addresses sould be kept in Transmitter and Receiver side ? could you please explain with some example as i am not able to understand...

Please help

Thanks

Parents
  • Hi,

    Normal procedure is to wait until the interrupt is finished before triggering a new transmission:

    
    hal_nrf_write_tx_payload(tx_payload, sizeof(tx_payload));
    CE_PULSE();
    radio_busy = true;
    // Wait for radio operation to finish
    while (radio_busy); // Set false when interrupt occurs
    

    The pulsing on VDD_PA indicates that your PTX is sending, however you should check the interrupt to see if this is "TX_DS" or "MAX_RT". You can also check VDD_PA pin on PRX as it will send an ACK over-the-air.

    Best regards Håkon

Reply
  • Hi,

    Normal procedure is to wait until the interrupt is finished before triggering a new transmission:

    
    hal_nrf_write_tx_payload(tx_payload, sizeof(tx_payload));
    CE_PULSE();
    radio_busy = true;
    // Wait for radio operation to finish
    while (radio_busy); // Set false when interrupt occurs
    

    The pulsing on VDD_PA indicates that your PTX is sending, however you should check the interrupt to see if this is "TX_DS" or "MAX_RT". You can also check VDD_PA pin on PRX as it will send an ACK over-the-air.

    Best regards Håkon

Children
No Data
Related