Hello, I want to manually perform RSSI measurements, which I am doing as described in the specification of the nRF52840:
- Call RXEN task
- Call START radio task after READY event (done via SHORTS)
- Call RSSISTART task
- Read RSSISAMPLE after RSSIEND event
After the finished measurement I am disabling the radio. My question is, whether I should call the RSSISTOP task after step 4?
The documentation just says that the RSSISTOP task stops an RSSI measurement. To my understanding this would mean that in the very short sample period of 0.25 µs (RSSIPERIOD) between step 3 and 4 an RSSISTOP would abort this measurement and therefore prevent that the value in RSSISAMPLE changes.
But I am wondering whether this task also performs something else like disabling some hardware that is performing the measurement, which may affect the power consumption in a negative way when not calling RSSISTOP after the finished measurement.
This came to my mind as to perform an RSSI measurement the radio has to start an RX. So, there would be no (correct) RSSI measurement possible anyway when the radio is disabled. But there is also a dedicated SHORT existing for calling the RSSISTOP task when the radio got DISABLED. Or is the purpose of this just as already indicated above to prevent an invalid value written to RSSISAMPLE if the radio gets disabled during a measurement?