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

How to set the payload length and the width of address to communicate with 24L01+

Hi all,

I use the nRF2402 to do communicate with nRF24L01+.I have read the all the information from Product_Specification_nRF2402_2_2, but I still know how to set the payload length and the width of address.I know the L01+ very much,but Idon't know the 2402.Could you give me some detailed information?Thanks.

Best regards, Alice

Parents
  • Hi Alice,

    The nRF2402 has no configuration settings for address width and payload length.

    You have probably seen that it has a very limited configuration word (page 15 in the product specification) where you must enable ShockBurst mode, select CRC mode and length, enable preamble and configure the right RF channel in order to be shockburst compatible. To load a packet for transmission you'll have to set CS low, wait at least 50ns, set CE high and clock in the packet (address first then payload) before pulling CE low to initiate the transmission. So, basically you clock in the address and payload for every transmission, and nRF2402 just wraps preamble and CRC around whatever you clock into it.

    To receive this packet with a nRF24L01+ you must disable the enhanced shockburst features and run only plain shockburst.

    Best regards, Jon Gunnar

Reply
  • Hi Alice,

    The nRF2402 has no configuration settings for address width and payload length.

    You have probably seen that it has a very limited configuration word (page 15 in the product specification) where you must enable ShockBurst mode, select CRC mode and length, enable preamble and configure the right RF channel in order to be shockburst compatible. To load a packet for transmission you'll have to set CS low, wait at least 50ns, set CE high and clock in the packet (address first then payload) before pulling CE low to initiate the transmission. So, basically you clock in the address and payload for every transmission, and nRF2402 just wraps preamble and CRC around whatever you clock into it.

    To receive this packet with a nRF24L01+ you must disable the enhanced shockburst features and run only plain shockburst.

    Best regards, Jon Gunnar

Children
No Data
Related