cancel
Showing results for 
Search instead for 
Did you mean: 

HAL vs LL

Posted on November 13, 2016 at 17:00

Hello there,

I was getting quite used to HAL for about a year now. Then I was trying to find out something about modbus mode in STMF0 and I find this ''Low Level API''. I cant seem to find any of its functionality in my current CubeMx generated code for F0 (CubeMx version 4.16.0). I see that I can download a new package for F4 and a new version of CubeMx 4.17.0. Would that bring the LL functionality? Also, if yes, would it affect my project that are written in HAL so far?

I would appreciate all hel regarding this issue.
12 REPLIES 12

Please wait on TXE before outputting data, don't wait for TC, it is the least efficient method. This will be especially true on STM32 supporting a USART FIFO

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

Thanks Clive,i think you are right.

I'm used to wait for the transmission complete because of some microcontrollers SPI,where i have to raise a GPIO used as chip select:in such cases i have to wait for all the bit banged out from the pins,and not only for the buffer empty.

In the case of LPUART1 used as i need i admit that i'm just wasting time, waiting for the hardware doing its job.

Thanks for your hint

Diego

Khalilfayache
Associate II

the difference between LL and HAL 0693W00000GYNMWQA5.jpg