industry news
Subscribe to EE Journal Daily Newsletter
3 + 6 =

STMicroelectronics Completes Deployment of Low-Layer Software for All STM32 MCUs

Application Program Interfaces assist code optimization within STMCube™ environment

GENEVA, July 12, 2017 – STMicroelectronics has completed the introduction of its free Low-Layer Application Programming Interface (LL API) software to the STM32Cube software packages for all STM32 microcontrollers (MCUs). The LL APIs enable expert developers to work within the convenient and easy-to-use STMCube™ environment, and optimize their code down to the register level using ST-validated software for faster time to market.

The combination of LL APIs and Hardware Abstraction Layer (HAL) software in all STM32Cube packages now gives developers complete flexibility when choosing how to control device peripherals. They can leverage the HAL’s ease of use and portability or use LL APIs to optimize performance, code footprint, and power consumption. Code examples tailored to run on the associated STM32 Nucleo board provide templates that simplify porting to other STM32 MCUs.

With features such as peripheral-initialization services that are functionally equivalent to STM32 Standard Peripheral Libraries (SPLs), the LL APIs present an easy migration path from the older SPLs to the simple but powerful STM32Cube ecosystem. Using the LL APIs can deliver superior performance, comparable to that of STM32Snippets direct-register-access code examples.

The LL APIs are MISRA-C 2004 compliant except where indicated, and have been checked using Grammatech CodeSonar® for optimum code quality and reliability. An automatic-update mechanism inside STM32CubeMX keeps the LL APIs up to date with the latest releases.

As a further boost to productivity, the STM32CubeMX tool automates the generation of peripheral-initialization code with LL APIs for STM32L0, STM32F0, STM32L4, and STM32F3 MCUs. Support for the remaining STM32 series will be added in the coming months. A written guide and an automated tool for the SPL-to-LL code migration are also available.

For further information please visit

Leave a Reply

featured blogs
Nov 22, 2017
While DAC is the focal point for the EDA industry, the test community travels in a slightly separate orbit. There are many conferences throughout the year, and around the globe, to help bridge the problems and solutions in academia and the industry. The most prestigious one i...
Aug 03, 2017
Strictly speaking it is not the fifth birthday of Mars Rover Curiosity, since it had been built over many years and its journey from Earth to Mars took months but it was five (Earth) years ago that Curiosity landed on Mars for a 90 day mission. And it is still trundling aroun...
Nov 20, 2017
When faced with the need for more of something, one possible solution is expansion. This could take many forms but one simple way is extending it to be greater in size, such as adding the dining room table leaves to fit more people around the Thanksgiving table. Samtec’s...
Nov 16, 2017
“Mommy, Daddy … Why is the sky blue?” As you scramble for an answer that lies somewhere between a discussion of refraction in gasses and “Oh, look—a doggie!” you already know the response to whatever you say will be a horrifyingly sincere “B...
Nov 07, 2017
Given that the industry is beginning to reach the limits of what can physically and economically be achieved through further shrinkage of process geometries, reducing feature size and increasing transistor counts is no longer achieving the same result it once did. Instead the...