Frequency configuration for STM32

ST suggests using their XLS configurators that generate system_stm32xxxx.c file for you.

This generator can be found on site if you need one for STM32L1xx the family you can use this one:


You need Microsoft Excel. I use 2003, because had some issues with newer versions. Also, you need to enable Lower Macros level in Excel settings for making this work. Then you should open the file:

Frequency configurator for STM32

Some advice:

Example generated config by settings used on the screenshot: system_stm32l1xx.c

For additional info read en.CD00290434.pdf

Ivan Borshchov profile picture
Jan 10, 2017
by Ivan Borshchov
Did it help you?
Yes !

Best related