Menu

Test Code for NRF24L01

2016-05-31
2016-05-31
  • William Roth

    William Roth - 2016-05-31

    The attached code is to help simplify setting up a Nordic NRF24L01+ RF Device. Subs "Commands" eliminate the need for writing SPI stuff. Other subs allow debugging/ reading registers.

    See the Attached Files. If you have problems or questions ask here.

    William

     

    Last edit: William Roth 2016-05-31
  • William Roth

    William Roth - 2016-05-31

    Attached is a screenshot of the Terminal after calling the PrintDetails Sub. This shows all registers and their values at power up (defaults). Each register is read and the data displayed. If the NRF24L1+ is operating correctly and the connections from the Microcontroller are good then the data will be exactly as shown in the screenshot.

    Correction: Config register 0x00 show a value of "9". This is becasue I wrote a "9" to register 0x00 using the NRF_Write sub, prior to calling PrintDetails. The default value will be "8".

    William

     

    Last edit: William Roth 2016-06-01

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.