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

Creating my own RSSI reader for nRF52840 dongle

I am trying to develop a program that can read the RSSI from the nrf52840 dongles without using the RSSI in the BLE app.

I have looked through the example code that is given but I do not see coding examples like this.

Has anyone tried creating their own RSSI reader before? How should I proceed?

Parents
  • You can do that on register level rather easily with TASKS_RSSISTART, TASKS_RSSISTOP and RSSISAMPLE. Read the corresponding section of the product specification of the Nrf52840. In order to sample, the radio has to be configured for reception (notably the channel has to be configured).

    You can see an example of how that works in the proprietary RF examples like ./components/proprietary_rf/esb

    The product specification states that "For the sample to be valid, reception must have started", however, you can actually sample any time when the radio is configured for reception. Eg. sampling while no packet is received will give you some indication of the noise floor on the selected channel.

    Also note that RSSI sampling might require temperature based corrections for precision, but that depends on what you want to achieve.

Reply
  • You can do that on register level rather easily with TASKS_RSSISTART, TASKS_RSSISTOP and RSSISAMPLE. Read the corresponding section of the product specification of the Nrf52840. In order to sample, the radio has to be configured for reception (notably the channel has to be configured).

    You can see an example of how that works in the proprietary RF examples like ./components/proprietary_rf/esb

    The product specification states that "For the sample to be valid, reception must have started", however, you can actually sample any time when the radio is configured for reception. Eg. sampling while no packet is received will give you some indication of the noise floor on the selected channel.

    Also note that RSSI sampling might require temperature based corrections for precision, but that depends on what you want to achieve.

Children
Related