Hi, I'm trying to use nRF52832 by external oscillator(ash7k-32.768KGZ-T). When i use SDK13, i just add clock setting like below.
NRF_CLOCK->LFCLKSRC = (CLOCK_LFCLKSRC_SRC_Xtal << CLOCK_LFCLKSRC_SRC_Pos) | (CLOCK_LFCLKSRC_BYPASS_Enabled << CLOCK_LFCLKSRC_BYPASS_Pos ) | (CLOCK_LFCLKSRC_EXTERNAL_Enabled << CLOCK_LFCLKSRC_EXTERNAL_Pos);
NRF_CLOCK->EVENTS_LFCLKSTARTED = 0;
NRF_CLOCK->TASKS_LFCLKSTART = 1;
while (NRF_CLOCK->EVENTS_LFCLKSTARTED == 0)
{
/* Nothing to do */
}
I changed SDK version to 14.0.0 and i added clock above code in dfu project. But, my dfu project is not working.
How do i change clock source code to use bypass external oscillator?
Thanks. Regards Youngjun.