Hi,
As stated here:
After manually starting the HFCLK crystal it will be enabled even though there are no peripherals requesting the HFCLK. When no peripherals request the crystal it will reside in standby mode where the current consumption is around 25uA, compared to 470uA when it is in use, see nRF51822 PS v3.1, table 22. When a peripheral needs the HFCLK, it will be ready in standby mode and there is no startup time.
When softdevice is enabled however, the softdevice will be in control of the high frequency crystal and automatically enables the crystal before a radio event and disables the crystal after a radio event, in order to save current. If the application needs to enable the 16MHz crystal while the softdevice is enabled, it must do so by calling the following softdevice functions:
sd_clock_hfclk_request
So, if with SoftDevice enabled, I request the HFCLK. Then, run the RTC to START TIMER every 500msec and STOP the time after 50msec, i.e., the TIMER just runs for 50msec. Considering that there is no radio event during these operations, can we expect that during the 450msec period XO16MHz will be put in STANDBY mode with 25uA and no startup time required? (Also, I assume that STOPPING the TIMER means that is doesn't need HFCLK anymore and no other action is required)
In other words, with SoftDevice do all of these happen automatically, or there is no standby and for having the lower current I should use sd_clock_hfclk_release and again request it and also expect the startup current and startup time each time?
Thanks!