AnsweredAssumed Answered

K22f stuck in hard fault handler in BOARD_BootClockRUN

Question asked by Bartek Szatkowski on May 12, 2016
Latest reply on May 15, 2016 by xiangjun.rong

I've tracked my issues with K22f to board being stuck in hard fault handler:

eg the bubble demo bubble.c:

buble.c:140 BOARD_BootClockRUN

clock_config.c:131 CLOCK_SetSimConfig(&g_defaultClockConfigRun.simConfig);

fsl_clock.c:520 CLOCK_SetEr32kClock(config->er32kSrc);

fsl_clock.c:663 SIM->SOPT1 = ((SIM->SOPT1 & ~SIM_SOPT1_OSC32KSEL_MASK) | SIM_SOPT1_OSC32KSEL(src));


What could be going wrong?