cancel
Showing results for 
Search instead for 
Did you mean: 

STD peripheral and Hal driver

NSemrHomeInit
Senior

Dear ST Hello,

What is the deference between Std peripheral drivers and Hal drivers please?

Some project use the std peripheral and IDE cube uses the Hal drivers, could you please clarify this point?

Thank you in advance,

S.Tarik

6 REPLIES 6
Olivier GALLIEN
ST Employee

Hi @NSemrHomeInit​ 

Guess this old post might help :

https://community.st.com/s/question/0D50X00009XkXLB/what-is-the-difference-between-stmcube-and-standard-peripheral-library

Olivier

Olivier GALLIEN
In order 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.

SPL is the older style API, similar to that available for the STR7 and STR9 series parts

If you have an existing working project using SPL, probably safer left alone. If you need to refresh the design to newer STM32 parts you might want to consider refactoring, using the HAL, LL, register level or pseudo-SPL

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

Thank you clive1,

It is clear for me, you munched anther type of driver "LL", could explain please?

I thank you for your interaction.

Merci

TDK
Guru

First hit in Google for "stm32 ll driver":

https://www.st.com/resource/en/user_manual/dm00105879-description-of-stm32f4-hal-and-ll-drivers-stmicroelectronics.pdf

If you feel a post has answered your question, please click "Accept as Solution".

I won't to dig a lot into the details in this level.

Thank you anyway 🙂