How to the STM32F4 Chip action normally. When the LSE clock install fail.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-08-19 7:34 PM
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
- Labels:
-
RCC
-
STM32F4 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-08-19 7:52 PM
Perhaps bring up the clocks individually, or stop using HAL monster functions
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-08-20 5:59 AM
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
