AnsweredAssumed Answered

CSS is not triggering when HSE fails

Question asked by p.a.002 on Apr 25, 2017
Latest reply on Aug 25, 2017 by p.a.002

Hello,

I'm using STM32F410RBT6 controller. I have configured it to use HSE with PLL (using cubeMX).

I didn't soldered the quarts to the chip because i want to check that interruupt is generated when HSE fails and the CPU is switched to internal RC.

So i have enabled CSS in CUBE MX also.

The problem that the code hangs in HAL_RCC_OscConfig function. It goes to Error_Handler where spins in while(true) cycle. That's strange because CPU should switch to internal RC. 

How can i check that HSE failed in the code?

Thanks

Outcomes