Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs

Receiving Access Address for nRF52840 Radio

Hi,

i have nRF52840 DK.

I am working on radio test code based radio_test example code with nRF5_SDK_17.0.2_d674dde version.

If the transmitter is configured as :   (BLEN = 4, BIG_ENDIAN)

    NRF_RADIO->TXADDRESS   = 0x00UL; 
   
    nrf_radio_prefix0_set(0xAB);
    nrf_radio_base0_set(0xABABABAB);

The receiver: (BLEN = 4, BIG_ENDIAN) 

      NRF_RADIO->RXADDRESSES = 0x01UL;  

      nrf_radio_prefix0_set(0xAB);
      nrf_radio_base0_set(0xABABABAB);

It receives packets.

But If base0 on both Tx/Rx is changed into :

    nrf_radio_base0_set(0x6372E1BEU); 

Then no packets are received.

Is this because the base0 address is BAD / INVALID, or is this caused by something else? 

Thank you,

David Zhou

Parents
  • Hi, 

    You need to change the address on both RX and TX sides. 

    Since we cannot reproduce it, How do you test it? 

    Regards,
    Amanda

  • Hi Amanda,

    I have changed on both sides (Tx and Rx ) as I indicated in the above post:

        nrf_radio_base0_set(0x6372E1BEU);   //for both Tx and Rx

    I am using  radio_test example code with nRF5_SDK_17.0.2_d674dde version for Rx and Tx.

    In Tx:   NRF_RADIO->TXADDRESS   = 0x00UL; so Base0+Prefix0 is Tx-ed.

    In Rx:  NRF_RADIO->RXADDRESSES = 0x01UL; so Base0+Prefix0 to be matched.

    That's my understanding.

    Edit:  I have tested again, It works. I might have made mistakes. But I will do more testings.

    Edit 2: I have tested all options, they are good. Thank you, case closed.

    Thank you for your support,

    David Zhou

Reply
  • Hi Amanda,

    I have changed on both sides (Tx and Rx ) as I indicated in the above post:

        nrf_radio_base0_set(0x6372E1BEU);   //for both Tx and Rx

    I am using  radio_test example code with nRF5_SDK_17.0.2_d674dde version for Rx and Tx.

    In Tx:   NRF_RADIO->TXADDRESS   = 0x00UL; so Base0+Prefix0 is Tx-ed.

    In Rx:  NRF_RADIO->RXADDRESSES = 0x01UL; so Base0+Prefix0 to be matched.

    That's my understanding.

    Edit:  I have tested again, It works. I might have made mistakes. But I will do more testings.

    Edit 2: I have tested all options, they are good. Thank you, case closed.

    Thank you for your support,

    David Zhou

Children
Related