Hello,
Issue: XOSC16M is not Starting and the loop stuck forever in below line
while(!pwr_clk_mgmt_is_cclk_src_xosc16m());
where it checks CLKLFCTRL 's 3rd bit to confirm is XOSC16M is active or not.
PCB Design Detail
- Taken from Reference Design provided by Nordic Semi.
- 16MHz Crystal Installed - 3225 package with 15pF load capacitor as per recommendation from Datasheet.
Output So far
- MCU is running good.
- RCOSC16M is active and sourcing the 32 kHz clock as per my debug output details below.
Debug Output Details:
- CLKCTRL : 0x00
- CLKLFCTRL : 0xC2 (Set to Synthesized from XOSC16M when active bit | 0x02)
CLKLFCTRL bit 3 is not setting to 1. Why? What am i missing? What parameters i should be checking on to investigate further and resolve this issue? Because if XOSC16M do not starts up, RF radio won't work.
Please advice.