cancel
Showing results for 
Search instead for 
Did you mean: 

How to the STM32F4 Chip action normally. When the LSE clock install fail.

TCao
Associate

I am working with STM32F405, I seem that the SMT32F405 had hanging when the LSE clock install fail in SystemClock_Config function. So, is there any way, when the LSE clock config fail but the chip still active normal. Thanks

2 REPLIES 2

Perhaps bring up the clocks individually, or stop using HAL monster functions

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Jack Peacock_2
Senior III

As Clive points out the only reason you are hanging is that's how HAL does it. There are no hardware restrictions that cause this, and in fact it's not uncommon to timeout on LSE startup and fall back to LSI in order to keep the application running after a hardware failure. I do this on virtually all designs. Sometimes the crystal doesn't start, any number of reasons, but unless a precision LSE is needed the LSI fallback allows you to keep running and at least report a fault.

Jack Peacock