STM32 VCAP Pins (Hardware Connection, Capacitor Value)

In this quick guide, we’ll explain the functionality of the STM32 VCAP pins, how to decide on the needed capacitor’s value, and the hardware connections for the SM32 VCAP pins on a custom PCB design. Without further ado, let’s get right into it!

Table of Contents

  1. STM32 VCAP Pins
  2. STM32 VCAP Recommended Capacitor Value
  3. STM32 VCAP Pins Hardware Connection
  4. Wrap Up

STM32 VCAP Pins

High-performance STM32 microcontrollers typically have one or two VCAP pins intended for connecting external bypassing capacitors to stabilize the internal LDO that generates the internal VCORE voltage. High-speed operation of the STM32 uC’s CPU (>180MHz) will require you to enable the internal LDO and select a proper output voltage scaling (VOS) to achieve the desired F_CPU frequency.

STM32 VCAP Pins

Here is a table from the STM32H7 datasheet that shows you that the maximum CPU frequency is only achievable when VOS0 is selected which requires the internal LDO to be enabled. Therefore, it’s mandatory to have the external VCAP capacitors in check.

STM32 VOS LDO Scaling And Maximum CPU Frequency
From STM32H750’s Datasheet

The internal LDO generates a lower voltage source for the core (VCORE) than the 3.3v standard (between 1v-1.4v) to reduce the power dissipation at higher clock frequencies. Just like what happens when overclocking a PC’s CPU, the supply voltage changes to maintain operational stability and a manageable power/heat dissipation.


In the datasheet of the target STM32 microcontroller that you’re using, you’ll find a table similar to the one shown below stating the capacitor value needed for the VCAP pins.

STM32 VCAP Capacitor Value


STM32 VCAP Pins Hardware Connection

Typically, you’ll need a 2.2µF per VCAP pin. It’s highly recommended to use low ESR ceramic capacitors placed as near as possible to the STM32’s VCAP pins on the PCB. Here’s an example of the hardware connections needed for the VCAP pins of an STM32H750 microcontroller that I’m currently using in a recent HW design project.

STM32 VCAP Pins Hardware Connection


Wrap Up

In conclusion, we’ve explored the functionality of the VCAP pins, why external capacitors are mandatory, how to decide on the external capacitors’ value, and the hardware connections needed to get it done correctly.

If you’re just getting started with STM32, you need to check out the STM32 Getting Started Tutorial here. Follow this STM32 Series of Tutorials to learn more about STM32 Microcontrollers Programming.

Share This Page With Your Network!
Join Our +25,000 Newsletter Subscribers!

Stay Updated With All New Content Releases. You Also Get Occasional FREE Coupon Codes For Courses & Other Stuff!

Photo of author
Author
Khaled Magdy
Embedded systems engineer with several years of experience in embedded software and hardware design. I work as an embedded SW engineer in the Automotive & e-Mobility industry. However, I still do Hardware design and SW development for DSP, Control Systems, Robotics, AI/ML, and other fields I'm passionate about.
I love reading, writing, creating projects, and teaching. A reader by day and a writer by night, it's my lifestyle. I believe that the combination of brilliant minds, bold ideas, and a complete disregard for what is possible, can and will change the world! I will be there when it happens, will you?

1 thought on “STM32 VCAP Pins (Hardware Connection, Capacitor Value)”

Leave a Comment