Hi,
I am currently working on the development of a product based around a nRF52832 (inside a Laird BL-652 module).
I am trying to understand how the different clocks are used in the system.
I have configured the LFCLK source to 0 (RC oscillator) and calibration is enabled (CTIV = 16, TEMP_CTIV = 2)
From my understanding :
- The system starts with LFCLK set to LFRC and HFCLK set to HFINT
- The Softdevice (S112 v6) starts and request the start of HFXO.
- Once HFXO is started, it is used as base for HFCLK
Here are my questions :
- Can you confirm that my assumptions are correct regarding the previous points ?
- I start the nrf_log module with UART as backend (baudrate 115200). I guess HFCLK is used : but which signal is actually used by the UART peripheral ? PCLK1M ? PCLK16M ?
- I am using the SAADC to read manually a couple of analog values. low_power_mode is set to false and no oversampling is done. Could you tell me which clock signal is used to control the SAADC ? The documentation says either RTC or TIMER (1 or 16 MHz)...
- I have a PWM signal configured with base_clock to NRF_PWM_CLK_16MHz, so I guess this one is pretty clear that it is using PCLK16M (just checking if I'm right there)
Thanks.