EYE on NPI: ST STM32L4P5 series microcontrollers #EyeOnNPI #Adafruit @digikey @ST_World @Adafruit

This week’s EYE on NPI looks at a new microcontroller series from ST Micro. Yes, last week was also an ST part – but this one popped into my NPI feed and I just thought it was so interesting, ST gets a double-header! The STM32L4P5 series of chips looks like an excellent competitor to the Microchip ATSAMD51 we use so often – with matching-or-better specifications. Let’s take a closer look!

You can get more spec’s about this chip over at ST’s website. Here’s the overview:

The Cortex-M4 core features a single-precision floating-point unit (FPU), which supports all the Arm® single-precision data-processing instructions and all the data types. The Cortex-M4 core also implements a full set of DSP (digital signal processing) instructions and a memory protection unit (MPU) that enhances the application’s security.

These devices embed high-speed memories (up to 1 Mbyte of Flash memory and 320 Kbytes of SRAM), a flexible external memory controller (FSMC) for static memories (for devices with packages of 100 pins and more), two OCTOSPI Flash memory interfaces (for devices with packages of 100 pins or more) and an extensive range of enhanced I/Os and peripherals connected to two APB buses, two AHB buses and a 32-bit multi-AHB bus matrix.

These devices offer two fast 12-bit ADCs (5 Msps), two comparators, two operational amplifiers, two DAC channels, an internal voltage reference buffer, a low-power RTC, two general-purpose 32-bit timers, two 16-bit PWM timers dedicated to motor control, seven general-purpose 16-bit timers, and two 16-bit low-power timers. The devices support two digital filters for external sigma delta modulators (DFSDMs). In addition, up to 24 capacitive sensing channels are available.

They also feature standard and advanced communication interfaces such as: four I2Cs, three SPIs, three USARTs, two UARTs and one low-power UART, two SAIs, two SDMMCs, one CAN, one USB OTG full-speed, one camera interface and one synchronous parallel data interface (PSSI).

In particular, we like some of the ‘upgrades’ we see compared to other chips – the roomy 320KB RAM, 5 MSPS 12-bit ADCs (that’s the same as a basic pocket oscilloscope!), 9 x 16-bit timers, CAN bus (usually you have to upgrade to get CAN support!), built in op-amps, and… most interesting to me is a built in TFT manager! Not just parallel (6800/8080) style but the ‘real’ 24-bit TFT with HSYNC/VSYNC/CLK signals! Usually you have to go to a Cortex M7 to get something like that included (see the iMX RT or STM32H7 series for example). 24-bit TFT can be easily converted to VGA (using some resistors) or even HDMI using off-the shelf adapter chips so it’s really a neat thing to see.

True TFT output is a rarity because of the frame buffer you normally need. From what ST says in the datasheet the way this is managed in RAM is to have a 8-bit palette of 24-bit colors. So for a classic 4.3″ TFT display that is 480×272 pixels, that would mean 128KB of RAM to address all pixels. A 320×240 display would be only 75KB.

LCD-TFT controller (LTDC)
The LCD-TFT display controller provides a 24-bit parallel digital RGB (red, green, blue) and delivers all signals to interface directly to a broad range of LCD and TFT panels with the following features:
• One display layer with dedicated FIFO (64 x 32-bit)
• Color look-up table (CLUT) up to 256 colors (256 x 24-bit) per layer
• Up to 8 input color formats selectable per layer
• Flexible blending between two layers using alpha value (per pixel or constant)
• Flexible programmable parameters for each layer
• Color keying (transparency color)
• Up to four programmable interrupt events

Nifty stuff! Right now there’s only two packages available – a 144 LQFP STM32L4P5ZGT6 and a 169-BGA  STM32L4P5AGI6P but according to the datasheet there will be 48, 64 and 100 pin variant QFN & QFP’s.

For now we recommend picking up the STM32L4P5AGI6PU Discovery also known as STM32L4P5G-DK on Digi-Key. Which has a built in debugger/programmer and is directly supported in STM32 Cube IDE.

By the way, if you have not yet, subscribe to Digi-Key’s new product feed or visit the website for a nice interface to search through the latest exciting NPIs from Digi-Key!

To see more products in the EYE on NPI series, click here.


Adafruit publishes a wide range of writing and video content, including interviews and reporting on the maker market and the wider technology world. Our standards page is intended as a guide to best practices that Adafruit uses, as well as an outline of the ethical standards Adafruit aspires to. While Adafruit is not an independent journalistic institution, Adafruit strives to be a fair, informative, and positive voice within the community – check it out here: adafruit.com/editorialstandards

Join Adafruit on Mastodon

Adafruit is on Mastodon, join in! adafruit.com/mastodon

Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, TinyGO, or even use the Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for CircuitPython, MakeCode, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.

Have an amazing project to share? The Electronics Show and Tell is every Wednesday at 7:30pm ET! To join, head over to YouTube and check out the show’s live chat and our Discord!

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Join over 38,000+ makers on Adafruit’s Discord channels and be part of the community! http://adafru.it/discord

CircuitPython – The easiest way to program microcontrollers – CircuitPython.org


New Products – Adafruit Industries – Makers, hackers, artists, designers and engineers! — NEW PRODUCT – Half Height / Low Profile MX-Compatible Key Switches – 12 pack – Outemu GTMX

Python for Microcontrollers – Adafruit Daily — Python on Microcontrollers Newsletter: Diving into the Raspberry Pi RP2350, Python Survey Results and more! #CircuitPython #Python #micropython @ThePSF @Raspberry_Pi

EYE on NPI – Adafruit Daily — EYE on NPI Maxim’s Himalaya uSLIC Step-Down Power Module #EyeOnNPI @maximintegrated @digikey

Adafruit IoT Monthly — IoT Vulnerability Disclosure, Decorative Dorm Lights, and more!

Maker Business – Adafruit Daily — A look at Boeing’s supply chain and manufacturing process

Electronics – Adafruit Daily — Function Generator Outputs

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !



No Comments

No comments yet.

Sorry, the comment form is closed at this time.