[riot-notifications] [RIOT-OS/RIOT] cpu/nrf5x: enhance external HF clock source handling to allow for substantial energy savings (#15804)
notifications at github.com
Wed Jan 20 17:54:04 CET 2021
@benpicco commented on this pull request.
> @@ -247,6 +248,11 @@ static int _init(netdev_t *dev)
txbuf = 0;
_state = 0;
+ /* the radio need the external HF clock source to be enabled */
+ /* @todo add proper handling to release the clock whenever the radio is
+ * idle */
Well it has the advantage that you don't miss any.
Just replace `NRF_RADIO->POWER = 0` with `nrf5x_radio_off()` and `NRF_RADIO->POWER = 1` with `nrf5x_radio_on()` and you know you are safe if the POWER register is not modified manually anymore.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications