industry news
Subscribe Now

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 www.st.com/stm32cubefw

Leave a Reply

featured blogs
May 2, 2024
I'm envisioning what one of these pieces would look like on the wall of my office. It would look awesome!...

featured video

Why Wiwynn Energy-Optimized Data Center IT Solutions Use Cadence Optimality Explorer

Sponsored by Cadence Design Systems

In the AI era, as the signal-data rate increases, the signal integrity challenges in server designs also increase. Wiwynn provides hyperscale data centers with innovative cloud IT infrastructure, bringing the best total cost of ownership (TCO), energy, and energy-itemized IT solutions from the cloud to the edge.

Learn more about how Wiwynn is developing a new methodology for PCB designs with Cadence’s Optimality Intelligent System Explorer and Clarity 3D Solver.

featured paper

Altera® FPGAs and SoCs with FPGA AI Suite and OpenVINO™ Toolkit Drive Embedded/Edge AI/Machine Learning Applications

Sponsored by Intel

Describes the emerging use cases of FPGA-based AI inference in edge and custom AI applications, and software and hardware solutions for edge FPGA AI.

Click here to read more

featured chalk talk

USB Power Delivery: Power for Portable (and Other) Products
Sponsored by Mouser Electronics and Bel
USB Type C power delivery was created to standardize medium and higher levels of power delivery but it also can support negotiations for multiple output voltage levels and is backward compatible with previous versions of USB. In this episode of Chalk Talk, Amelia Dalton and Bruce Rose from Bel/CUI Inc. explore the benefits of USB Type C power delivery, the specific communications protocol of USB Type C power delivery, and examine why USB Type C power supplies and connectors are the way of the future for consumer electronics.
Oct 2, 2023
26,800 views