embassy-rs / nrf-softdevice

Apache License 2.0
256 stars 76 forks source link

Fix calibration config value #166

Closed lonesometraveler closed 1 year ago

lonesometraveler commented 1 year ago

This change should have been in #165. Sorry, I somehow overlooked it.

"For nRF52, the application must ensure calibration at least once every 8 seconds to ensure +/-500 ppm clock stability. The recommended configuration for NRF_CLOCK_LF_SRC_RC on nRF52 is rc_ctiv=16 and rc_temp_ctiv=2. This will ensure calibration at least once every 8 seconds and for temperature changes of 0.5 degrees Celsius every 4 seconds." (Nordic documentation)