2008-11-10 09:34 PM
which clock is used when starting the STM32
2011-05-17 03:51 AM
Hello,
When the STM32 is starting, as long as the RCC hasn't been set up, which clock is used by the processor to start? Is it the HSI at 8MHz or the LSI at 40kHz or something else? Also, regarding the figure 8 (Clock tree) of the RM0008 reference manual, the STM32 has 2 different internal clock? HSI and LSI? Thanks2011-05-17 03:51 AM
I think it uses the HSI at 8MHZ when it starts,
Also, regarding the figure 8 (Clock tree) of the RM0008 reference manual, the STM32 has 2 different internal clock? HSI and LSI? Yup the LSI is for the independent watchdog, IIRC thats targetting the safety market with its requirements for the watchdog not running on the main clock. BTW bear in mind if you want to use an external clock if you turn off the HSI you won't be able to do flash writes. :)