2016-11-13 08:00 AM
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.2019-02-12 10:54 AM
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
2019-02-13 12:12 AM
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
2021-11-22 12:02 AM
the difference between LL and HAL