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

anybody have a source code for nrf905?

hi, i need the source code for nrf905. otherwise anybody explain how to write a program for rf tx & rx using nrf905 transceiver.

Parents
  • Did you find any code? I have implemented code on a PIC24 using this manual, and looking at examples for other CPUs on the web. It does not work, and I am lost. As far as I can see if I hold TX_EN high top enable the device, TRX_CE low so not Tx or Rx - load the TX payload with SPI, pulse TRX_CE the dat should go. It does on occasions but mostly fails.

    I wondered if there were any timing constraints not well detailed enough in this manual

    I have no problems with the 2.4GHz shockburst device

    Happy to share my code once I have removed the application stuff

Reply
  • Did you find any code? I have implemented code on a PIC24 using this manual, and looking at examples for other CPUs on the web. It does not work, and I am lost. As far as I can see if I hold TX_EN high top enable the device, TRX_CE low so not Tx or Rx - load the TX payload with SPI, pulse TRX_CE the dat should go. It does on occasions but mostly fails.

    I wondered if there were any timing constraints not well detailed enough in this manual

    I have no problems with the 2.4GHz shockburst device

    Happy to share my code once I have removed the application stuff

Children
  • If you have trouble with this, I think it would be better to take it in a separate question. However, there is two things you should check:

    1. Whether the VDD_PA line goes high. This will be high whenever the device is actually sending data on-air. If you don't see any activity here, there is something wrong with your SPI actions.
    2. Whether the DR bit is set after you've tried sending. This will be set when data has been transmitted. If this is set correctly and you see VDD_PA go high, but you don't receive anything, there is either something wrong with your receiver, something wrong with the channel settings or something wrong with the crystal. Have you verified that the crystal is in fact oscillating at the correct frequency?
Related