STM32F407VET6: ST Cortex-M4F MCU — Specs, Selection Guide & Sourcing
By QIXINWEI | STMicroelectronics | STM32F407VET6
What Is the STM32F407VET6?
This is an STMicroelectronics part built on an Arm Cortex-M4F core, clocked at up to 168 MHz, with a single-precision floating-point unit and DSP instructions. Flash is 512 KB. RAM comes in two blocks: 128 KB of system SRAM and 64 KB of core-coupled RAM. The same die carries a 10/100 Ethernet MAC, USB 2.0 OTG, a camera interface and three 12-bit ADCs, in a 100-pin LQFP package (14 × 14 mm) running from 1.8 V to 3.6 V. Pick this family member when 512 KB of Flash covers your firmware and you still want the full set of peripherals.
Key Takeaways
At 168 MHz, with an FPU and DSP instructions, floating-point control loops that took fixed-point workarounds on a Cortex-M3 can be written as ordinary C.
Memory splits into 512 KB of Flash and 192 KB of RAM. DMA can reach the 128 KB system SRAM; it can't touch the 64 KB of CCM RAM.
Against the STM32F407VGT6, nothing changes except Flash. Same silicon, same LQFP-100 package, 512 KB here and 1 MB there.
Two details kill more F407 boards than everything else combined: a VCAP pin missing its 2.2 µF capacitor (the chip won't start) and DMA buffers placed in CCM, where no DMA controller can address them.
ST still produces the part. What actually goes wrong in purchasing is remarked stock and wrong-suffix shipments, so order on the full part number.
STM32F407VET6 vs the F1 Generation: Why Designs Move Up
A 72 MHz Cortex-M3 with USB and CAN replaced 8-bit MCUs in most sockets, and the STM32F103 generation proved it. Then designs outgrow it, usually in one of three ways. The control loop needs floating point. The product needs an Ethernet port. Or a camera lands on the requirements list.
This chip answers all three. Clock speed more than doubles, from 72 MHz to 168 MHz. The core picks up an FPU and DSP extensions (multiply-accumulate, SIMD, saturation arithmetic). And because of ST's ART Accelerator, the CPU fetches code from Flash at full speed with zero wait states.
There's a practical bonus, too. The original STM32F4 Discovery board carried this family (in its 1 MB VGT6 form), so a decade of application notes, driver code and forum answers maps straight onto the part. Your team stays in the STM32Cube tools it already knows. The workflow doesn't change. The headroom does.
STM32F407VET6 Specifications
Core: Arm Cortex-M4F, up to 168 MHz, with single-precision FPU and DSP instructions
Flash / SRAM: 512 KB Flash; 128 KB system SRAM plus 64 KB CCM (core-coupled) RAM, and 4 KB battery-backed backup SRAM
Accelerator: ART Accelerator for zero-wait-state execution from Flash at full speed
Supply voltage: 1.8–3.6 V (internal core regulator; see the VCAP notes below)
Temperature range: −40 to +85 °C (standard grade for the "6" suffix)
ADC: 3× 12-bit ADCs, up to 24 channels shared, 2.4 MSPS each; 7.2 MSPS in triple-interleaved mode
DAC: 2× 12-bit DAC channels
Timers: 14 in total, including two advanced-control PWM timers (TIM1, TIM8) with dead-time generation and break inputs
Serial interfaces: 4× USART + 2× UART, 3× SPI (two with I2S mode), 3× I2C, 2× CAN 2.0B
USB: USB 2.0 OTG full-speed with on-chip PHY; high-speed available through an external ULPI PHY
Ethernet: 10/100 Ethernet MAC with dedicated DMA, IEEE 1588v2 hardware timestamping, MII and RMII PHY interfaces
Camera and memory interfaces: DCMI camera interface (8- to 14-bit parallel), FSMC external memory controller for SRAM, NOR/NAND Flash and LCDs
Security and extras: Hardware random number generator, CRC unit, 96-bit unique ID
Package: LQFP-100, 14 × 14 mm, up to 82 GPIO
STM32F407VET6 Pins and Power: What Decides Whether the Board Boots
VCAP capacitors are not optional. Power for the core comes from an internal regulator, and pins VCAP_1 and VCAP_2 each need a 2.2 µF low-ESR ceramic capacitor to ground. Miss one out, fit the wrong value, or park it at the far end of a long trace and the chip doesn't start. On a dead F407 board, check these first, before the debugger comes out.
Decoupling and supply pins. Several VDD/VSS pairs come out of the LQFP-100, plus VDDA/VSSA for the analog side. Fit a 100 nF ceramic at every VDD pin and a bulk capacitor (4.7 µF class) on the main rail. VDDA wants its own filtering: a ferrite bead or RC filter from VDD, with 1 µF and 100 nF at the pin. Skimp there and your 12-bit ADC readings will tell on you.
Boot and debug. Where the chip boots from is down to BOOT0 and BOOT1: main Flash, system memory (the factory bootloader), or embedded SRAM. For debug, SWD asks for just SWDIO and SWCLK, plus NRST and ground. Keep those pins reachable even on a cost-cut board. They're the only practical way back into a unit that's been programmed wrong. Full JTAG exists, but it eats pins.
Ethernet costs pins, so count them before layout, not after. RMII takes about seven signals for the PHY, plus the MDIO/MDC management pair and a 50 MHz reference clock. MII needs roughly twice as many. The DCMI is hungry in the same way: eight data lines for an 8-bit sensor, then PIXCLK, HSYNC and VSYNC on top. Wanting Ethernet, DCMI and an FSMC-driven LCD all at once? Map every pin in STM32CubeMX before committing. 82 GPIOs sounds like plenty until the alternate functions start overlapping.
STM32F407VET6 vs STM32F407VGT6 and the Other Alternatives
| Part | Core / Clock | Flash | RAM | Package | Notes |
|---|---|---|---|---|---|
| STM32F103C8T6 | Cortex-M3, 72 MHz, no FPU | 64 KB | 20 KB | LQFP-48 | Lowest cost; no Ethernet, no camera, no DAC, integer math only |
| STM32F407VET6 | Cortex-M4F, 168 MHz, FPU + DSP | 512 KB | 128 KB + 64 KB CCM | LQFP-100 | Ethernet MAC, DCMI, USB OTG, RNG, the full F407 feature set |
| STM32F407VGT6 | Cortex-M4F, 168 MHz, FPU + DSP | 1 MB | 128 KB + 64 KB CCM | LQFP-100 | Same chip, double the Flash, for TLS, graphics or dual-image OTA |
| STM32F405RGT6 | Cortex-M4F, 168 MHz, FPU + DSP | 1 MB | 128 KB + 64 KB CCM | LQFP-64 | Same performance in a smaller package, but no Ethernet MAC and no DCMI |
Don't read this table by headline speed. A VGT6 is not a faster VET6. It's the same die with a bigger Flash array, so the decision is one question: will the firmware image, its update image, the fonts and the certificates all fit inside 512 KB? If they will, the VET6 saves money on every unit. Once a TLS stack or dual-image OTA pushes the build past 512 KB, buy the VGT6 instead.
Dropping to the STM32F405RGT6 is a different kind of trade. CPU, FPU and memory stay; the Ethernet MAC and camera interface go, which is how it fits into LQFP-64. For a DSP or motor board that will never see a network cable, that's a sensible swap.
One porting trap deserves its own warning. Because the STM32F4 Discovery shipped with the VGT6, most published F4 examples quietly assume 1 MB of Flash. Check the memory map before you assume an example fits the VET6.
Where the STM32F407VET6 Fits: Applications
Industrial control and PLCs. Start with what a controller needs: dual CAN, six UART-class ports, advanced PWM timers, and operation from −40 to +85 °C. It's all here. PID code that meant fixed-point gymnastics on an M3 becomes plain floating-point C with an FPU.
Ethernet gateways and protocol converters. A Modbus-TCP or building-automation gateway needs a MAC with its own DMA and IEEE 1588 timestamping, and the integrated 10/100 MAC provides both. Add an RMII PHY and a stack such as LwIP, and fieldbus segments (CAN, RS-485) bridge to Ethernet on this one chip. No second processor required.
Audio and DSP. Real-time audio is realistic on this part, thanks to two I2S interfaces, the DSP instruction set and the FPU. A 512-point FFT fits inside the sample budget at 48 kHz. So do biquad filter banks and a small effects chain.
Camera and image capture. Through the DCMI, 8- to 14-bit parallel sensor data arrives with hardware synchronisation and streams into memory by DMA. Enough for barcode readers, occupancy sensors, low-resolution machine vision and door-phone video, where an application processor would be overkill.
Motor control. Buyers ask this one directly. Yes, it's well suited. TIM1 and TIM8 generate complementary PWM with programmable dead time and break inputs. The ADCs trigger in sync with the PWM. And field-oriented control of a BLDC or PMSM motor (Clarke and Park transforms every cycle) is precisely the floating-point workload the M4F core was built for.
HMI panels. Parallel LCDs and external memory hang off the FSMC, while 512 KB of Flash holds a working set of fonts and images. Push the graphics harder and the VGT6's 1 MB starts earning its price difference.
Worked Example: Budgeting SRAM on an Ethernet + USB Design
Is 128 KB of SRAM enough? Take a typical gateway build and add it up:
Ethernet DMA buffers: LwIP with 12 RX and 8 TX descriptors and 1,524-byte buffers ≈ 32 KB
TCP/IP pools, ARP and connection state: ≈ 12 KB
USB OTG stack buffers and endpoints: ≈ 4 KB
Application queues, protocol stacks (Modbus/CAN), log buffers: ≈ 16 KB
Stacks and RTOS heaps: ≈ 16 KB
The total comes to roughly 80 KB of the 128 KB system SRAM. About 48 KB of headroom. Comfortable, but only if you respect the catch that catches out new F4 users: none of those buffers can live in the 64 KB CCM RAM, because no DMA controller can address CCM. So buffers stay in system SRAM, and compute data moves into CCM instead. An 8,192-point float FFT workspace takes 32 KB; filter state and control variables fit alongside it, worked on with zero DMA contention. Treat the split memory map carelessly and it turns into a trap, one that usually springs the first time Ethernet traffic flows.
Worth checking the ADC side too. Three interleaved ADCs reach 7.2 MSPS, so a 1,024-sample capture takes about 142 µs. One ADC at 2.4 MSPS scanning eight channels gives 300 kSPS per channel, plenty for PWM-synchronised motor-current sampling.
STM32F407VET6 Configuration Notes: Clock Tree, Tools and Boot Modes
Getting to 168 MHz. The standard recipe: an 8 MHz HSE crystal feeds the main PLL, the PLL multiplies up to a 168 MHz SYSCLK, AHB runs at full speed, APB2 at 84 MHz and APB1 at 42 MHz (with APB timer clocks doubling when the prescaler isn't 1). USB OTG, the RNG and SDIO all need an exact 48 MHz, which comes from the PLL's Q output. Set the PLL in STM32CubeMX and let it check the combination instead of solving dividers by hand.
Toolchain. Clock and pin configuration comes out of STM32CubeMX. Drivers come from the STM32CubeF4 HAL/LL package, with LwIP and the USB stacks as selectable middleware. Porting code from the VGT6 Discovery to the VET6 means changing the device selection and the Flash length in the linker script. Check that length explicitly. A 700 KB image links happily against a VGT6 target; it will not fit the VET6.
CCM usage note. Data gets into CCM through the dedicated linker section (.ccmram). Stack and heap can move there too, which suits deterministic, interrupt-heavy code. One rule stands regardless: no DMA buffers in CCM, ever.
Bootloader modes. Pull BOOT0 high and the factory bootloader will program the chip over USART, USB (DFU), CAN and I2C. Handy on production fixtures, and again as a field recovery path. Most products strap BOOT0 low. If you want that recovery option, leave a way to pull the pin high.
Common Mistakes When Buying and Designing with the STM32F407VET6
Missing or wrong VCAP capacitors. Every VCAP pin needs its own 2.2 µF capacitor. Boards that omit them do not run slowly. They do not run. Check this before debugging anything else.
Putting DMA buffers in CCM RAM. Ethernet, USB and every other DMA master on the F407 can reach system SRAM and external memory only. A buffer placed in CCM fails silently, usually under load, which makes the fault miserable to track down.
Ordering the wrong suffix. VET6 means 512 KB of Flash. VGT6 means 1 MB. Build a design that was validated on a Discovery board (VGT6) using VET6 chips, and it can fail at the first firmware update that outgrows the smaller array. Put the full order code on the purchase order, not just "STM32F407."
Ethernet PHY clock errors. RMII wants a 50 MHz reference clock, sourced consistently at both ends, from the PHY or from the MCU's MCO output. Carry a 25 MHz assumption over from an MII design and you get a classic no-link board.
Counterfeit and remarked parts. Demand for the F407 family is steady, and steady demand attracts remarked and pulled stock. Buy from a supplier who will show marking and date-code photos before shipment. And be suspicious of prices that only make sense for a lower-density die.
STM32F407VET6 FAQ
Q: How much Flash and RAM does the STM32F407VET6 have? A: Flash is 512 KB. RAM totals 192 KB: 128 KB of system SRAM and 64 KB of CCM (core-coupled) RAM, plus a separate 4 KB of battery-backed backup SRAM.
Q: What is the difference between the STM32F407VET6 and the STM32F407VGT6? A: Only the Flash size. You get 512 KB with the STM32F407VET6 and 1 MB with the STM32F407VGT6. Core, 168 MHz clock, RAM, peripherals and the LQFP-100 package are identical, and the two parts are pin-compatible.
Q: Does the STM32F407VET6 have Ethernet? A: It does. Built in is a 10/100 Ethernet MAC with dedicated DMA and IEEE 1588v2 hardware timestamping. Reaching the cable still takes an external PHY chip, connected over MII or RMII.
Q: Is the STM32F407VET6 good for motor control? A: Yes. TIM1 and TIM8, its two advanced-control timers, provide complementary PWM outputs with programmable dead time and break inputs. Its three 12-bit ADCs can be triggered in sync with the PWM, and field-oriented control of BLDC and PMSM motors is floating-point math, which is what the Cortex-M4F core runs.
Q: Does the STM32F407VET6 support USB high-speed? A: Not on its own. What's built in, through the on-chip PHY, is USB 2.0 full-speed at 12 Mbit/s. High-speed at 480 Mbit/s works only with an external ULPI PHY chip on the dedicated pins.
Q: Can DMA use the 64 KB CCM RAM on the STM32F407VET6? A: No. On this part the CCM RAM hangs off the core's data bus only, and no DMA controller can address it. Use CCM for stacks, filter state and compute buffers. Every DMA buffer belongs in the 128 KB system SRAM.
Q: Is the STM32F407VET6 still in production? A: Yes, it's an active STMicroelectronics part with no end-of-life notice. In practice the purchasing risks are wrong suffixes and remarked stock, not discontinuation.
Q: How is the STM32F407VET6 programmed? A: SWD or JTAG with any ST-Link-class probe is the normal route; the other is the factory system bootloader, over USART, USB DFU, CAN or I2C, when BOOT0 is set. Fixtures usually use SWD. The bootloader is the recovery path.
Sourcing the STM32F407VET6 in Bulk from QIXINWEI
Order on the complete part number, STM32F407VET6, and state the package and temperature grade you need. "STM32F407" alone leaves the Flash size ambiguous between 512 KB and 1 MB, and that ambiguity is where wrong shipments start. QIXINWEI (Shenzhen Qixinwei Technology Co., Ltd) supplies this part and the wider STM32F407 family in tray packaging from Shenzhen stock. Marking and date-code photos are available before shipment, so incoming inspection can start before the parts leave.
Building a gateway, controller or HMI around this chip? Send the whole BOM. We kit the STM32F407VET6 with its RMII PHY, 8 MHz crystal, VCAP and decoupling capacitors, external Flash and connectors in one shipment, and run a lifecycle check across the list, from samples to volume. Details at https://www.qixinwei-pcba.com/.
Send your BOM to QIXINWEI for a quote.
Recently Posted
-
I2C EEPROM Selection Guide
November 23, 2026An I2C EEPROM is the smallest decision on most boards and the one that gets revisited most often, because the wrong density shows
Read More -
OPA2134PA: TI SoundPlus Audio Dual Op-Amp for Hi-Fi Preamps | Specs, Guide & Sourcing
November 23, 2026A Hi-Fi preamp lives or dies on the first gain stage. If the op-amp in that stage adds distortion or noise, no later stage can rem
Read More -
ESP32 Selection Guide: S3, C3, C6, C5, H2, P4 Compared
November 21, 2026OverviewChoosing an ESP32 is not about memorizing a parameter table. Answer five questions about your project first — does it need
Read More -
MCP6002-I/P: Low-Power Rail-to-Rail Dual Op-Amp for 3.3V Designs
November 20, 2026A 3.3 V single-supply design leaves an op-amp very little room. A sensor signal that swings from ground to 3.3 V needs an amplifie
Read More