2017-01-31 10:02 AM
Hi
I am new to the STM32L0x processor, and have moved from a freescale 8 bit controller. The first thing I am looking at is the system clock. I have a few questions hopefully someone can help? Many Thanks
I understand the 2 external oscillators, HSE and LSE. I am planning to design low power applications, and not sure if I have picked this up correctly, as only used to 1 system clock:
1. If I use an extarnal 32.768Kz external crytal for the LSE, I see it can be used for the RTC, can this be used as a clock for the UART, and timer channels?
2. If I do number 1., do i use an internal clock for the SYSCLK?
Many Thanks
Scott
Solved! Go to Solution.
2017-02-01 02:02 AM
Hi
devlin.scott
,Welcome to STM32 community
As it is said by
Waclawek.Jan
, you have first to refer to Reset and clock control(RCC) chapter in your related reference manual (Clock tree).As newbie with STM32 family,I recommend you to download the
which is a graphical software configuration tool that allows generating C initialization code using graphical wizards.( refer User manual for further details about CUBEMX)-Nesrine-
2017-01-31 10:36 AM
In the RM (which depends on the exact part number), there is a whole-page clock schematics in the RCC chapter.
The answer to your questions is probably no (at least not directly, you may be able to condition the HSI by LSE using a timer and software), but I don't use the 'L0s so it's up to you to figure out the details.
JW
2017-02-01 02:02 AM
Hi
devlin.scott
,Welcome to STM32 community
As it is said by
Waclawek.Jan
, you have first to refer to Reset and clock control(RCC) chapter in your related reference manual (Clock tree).As newbie with STM32 family,I recommend you to download the
which is a graphical software configuration tool that allows generating C initialization code using graphical wizards.( refer User manual for further details about CUBEMX)-Nesrine-
2017-02-02 05:40 AM
Thanks for the reply