cancel
Showing results for 
Search instead for 
Did you mean: 

why doesn't have sample source code about stm32 standard peripheral libraries for STM32L0x series?

sw lee
Associate II

i done make working file with STM32F031F6(STM32F0xx_StdPeriph_Driver) at the first time...

and now, we will change to STM32L031F6(STM32L0xx_StdPeriph_Driver) ..

but doesn't have in https://www.st.com/en/embedded-software/stm32-standard-peripheral-libraries.html

0690X0000088rRSQAY.jpg

so i try to with STM32CubeMx...some function has working well but have trouble with TIM2 and I2C1... i cann't find problem.... lol

so just i want try with STM32L031F6(STM32L0xx_StdPeriph_Driver)..that's is simple

ask to who???

2 REPLIES 2
Amel NASRI
ST Employee

Hello @sw lee​ ,

There is no new Standard Peripheral Library developed since STM32Cube package was announced.

This is applicable for STM32L0,STM32L4, STM32F7, STM32H7...

For STM32L0 (as well as STM32F0) you have the option to use snippet code or LL drivers available in the STM32Cube package.

 -Amel

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

sw lee
Associate II

Thanks for answer

 but, when i use to snippet code(with en.stm32snippetsl0.zip), so many not matched for STM32L0.

 source has refer to STM32F0xx many times

like down picture

0690X000008964OQAQ.jpg

and i was tried to LL drivers available in the STM32Cube package before..

i failed also..