2016-03-13 09:17 AM
I have just discovered a new ''undocumented'' layer in the latest CubeL4 library. If I understand it, it is a Low-Level layer (it's named
HAL_<PPP>_LL
) and it's a more optimized way to deal with STM32L4 peripherals, losing portability between different CubeHALs. However, I can't find a word from ST about this on the official web site, and I wonder how it's related with the actual HAL: does this module aim to provide a separated ''low-level'' path to the hardware, or it will replace/integrate the HAL? Is ST planning to ''change'' the current logic under the HAL? Will this module be introduced in other HALs too?I think that it would be important that ST engineers give us more information on the direction, otherwise it's really hard to invest on this platform..... #stm32-hal-low-level2016-03-13 09:26 AM
LL HAL is new. ST start to develop this as response to reports about code size of other libraries.
For me this is nothing new, It is still ugly. Reg based programing is more readable and so on. LL is only new names for bits. Strange2016-03-16 09:57 AM
Hi cnoviello,
I would like to provide you some more details about the LL drivers inside the STM32CubeL4: ''The STM32Cube HAL is an STM32 embedded software stack that ensures a maximized portability across STM32 portfolio, while the LL APIs make up a fast, light-weight, expert-oriented layer which is closer to the hardware than the HAL. HAL and LL APIs can be used simultaneously.''.This is exactly the description provided in thehttp://www.st.com/web/en/catalog/tools/PF261908
.Some more details about these drivers and how to use them on standalone or mixed with HAL drivers are provided in:http://www.st.com/st-web-ui/static/active/en/resource/technical/document/user_manual/DM00173145.pdf
: Description of STM32L4 HAL and Low-layer drivershttp://www.st.com/st-web-ui/static/active/en/resource/technical/document/user_manual/DM00157440.pdf
: Getting started with STM32CubeL4 for STM32L4 Serieshttp://www.st.com/web/en/learning/learning_pres.html?icmp=tt2780_gl_prom_sep2015
-Mayla-
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.
2016-03-20 11:52 PM
> I would like to provide you some more details about the LL drivers inside the STM32CubeL4: ...
Is there any information available about the LL state of testing, e.g. coverage and results ? Otherwise, one would be tempted to take the number of bug reports / complaints on this forum as estimate.