STM32F413RGT6 - 100MHz Cortex-M4 MCU 1MB Flash 64-LQFP | ST
MPN: STM32F413RGT6 ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $8.55 | $8.55 |
| 10 | $7.69 | $76.90 |
| 100 | $6.83 | $683.00 |
| 500 | $6.14 | $3,070.00 |
| 1,000 | $5.47 | $5,470.00 |
STM32F413RGT6 Overview
A microcontroller (MCU) is a single-chip computer that integrates a CPU core, memory (Flash for code, SRAM for data), and programmable peripherals on one die. The Arm Cortex-M4 core specifically adds a single-precision floating-point unit (FPU) and DSP extensions, enabling efficient handling of motor-control loops, audio processing, and digital-filter math. Within the broader taxonomy, the STM32F413RGT6 is a 32-bit MCU -> Arm Cortex-M4 MCU -> STM32 family -> STM32F4 high-performance access line -> power management-aware connected MCU.
The STM32F413RGT6 features a rich peripheral set including USB 2.0 full-speed with on-chip PHY, CAN 2.0B, three SPIs, three I2C, four USART plus two UARTs, one SAI (serial audio interface), one SDMMC, and a 12-bit ADC with up to 16 channels. The device also integrates a real-time clock, two 12-bit DACs, a 16-bit timer with motor-control PWM capability, and an independent watchdog. Internal regulators and power-saving Run/Stop/Standby/Shutdown modes support portable and battery-powered designs.
Architecturally, the Cortex-M4F core couples a 3-stage pipeline with branch prediction to the STM32 adaptive real-time (ART) accelerator, which pre-fetches and caches instructions from Flash - this is what allows zero-wait-state execution from on-chip memory at 100 MHz. An additional SRAM-backed cache bank accelerates code executed from external memories via the FSMC interface, expanding addressable storage for graphics or data-logging firmware.
Typical applications include industrial motor control (BLDC/PMSM FOC drives), home-automation gateways with USB-CDC and CAN connectivity, audio peripherals leveraging the SAI and dedicated I2S paths, USB HID/COM devices, and small-form-factor HMI panels with TFT displays driven via the integrated LTDC-free SPI/8080 interface. The wide 1.71 V to 3.6 V supply range also makes it well-suited to coin-cell or Li-ion powered IoT nodes.
Designers should plan PCB decoupling around the multiple VDD/VSS pairs (especially the dedicated VDDA/VSSA for the ADC), keep the NRST reset trace short with the recommended 10 kΩ pull-up, and ensure HSE crystal traces are length-matched and guarded by a ground ring. For USB designs, the D+/D- pair must be 90-ohm differential and routed within 8 mm of the connector.
This page combines distributor pricing, pin-compatible drop-in alternatives, and practical design notes not found on a single distributor page - use the comparison table and design_notes sections below to shortlist alternatives and avoid common pitfalls.
Drop-in alternatives for STM32F413RGT6 — same package, pin-to-pin compatible. Different-package parts requiring PCB rework are excluded.
Variants in this series
Same-series models that are drop-in compatible with STM32F413RGT6 (same form factor and footprint) — differing in SRAM, Timers, Flash Memory, Package, ADC.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
STM32F412RGT6
✅ Drop-In📋 Reference alternative (not in catalog)
STM32F405RGT6
✅ Drop-In✓ In Stock
$6.75 / Unit
View Datasheet →STM32F413RGT6TR
✅ Drop-In📋 Reference alternative (not in catalog)
STM32F401RGT6
✅ Drop-In📋 Reference alternative (not in catalog)
STM32F411RGT6
✅ Drop-In📋 Reference alternative (not in catalog)
STM32F427RGT6
✅ Drop-In📋 Reference alternative (not in catalog)
STM32F413RGT6 Maximum Ratings & Electrical Characteristics
| Core Architecture | Arm Cortex-M4 with FPU and DSP |
| Maximum CPU Frequency | 100 MHz |
| DMIPS | 125 DMIPS |
| Flash Memory | 1 MB (1M x 8) |
| SRAM | 256 KB |
| Package | 64-LQFP (10x10 mm) |
| Operating Voltage | 1.71 V to 3.6 V |
| Operating Temperature | -40C to +85C (industrial) |
| ADC | 12-bit, up to 16 channels |
| DAC | 12-bit x 2 |
| USB | USB 2.0 full-speed with on-chip PHY |
| CAN | CAN 2.0B active |
| Timers | 16-bit advanced-control timer with PWM |
| Mounting Type | Surface Mount |
| RoHS Status | Compliant |
STM32F413RGT6 Pin Configuration
| Pin 1 | VBAT — RTC backup supply voltage |
| Pin 2 | PC13 — GPIO / Tamper-RTC (PC13) |
| Pin 3 | PC14 — GPIO / OSC32_IN |
| Pin 4 | PC15 — GPIO / OSC32_OUT |
| Pin 5 | OSC_IN — HSE crystal oscillator input |
| Pin 6 | OSC_OUT — HSE crystal oscillator output |
| Pin 7 | NRST — Reset input (active low) |
| Pin 8 | VSSA — Analog ground |
| Pin 9 | VDDA — Analog supply voltage |
| Pin 10 | PA0-WKUP — GPIO PA0 / Wakeup |
| Pin 11 | PA1 — GPIO PA1 |
| Pin 12 | PA2 — GPIO PA2 / USART2_TX |
| Pin 13 | PA3 — GPIO PA3 / USART2_RX |
| Pin 14 | PA4 — GPIO PA4 / SPI1_NSS |
| Pin 15 | PA5 — GPIO PA5 / SPI1_SCK |
| Pin 16 | PA6 — GPIO PA6 / SPI1_MISO |
| Pin 17 | PA7 — GPIO PA7 / SPI1_MOSI |
| Pin 18 | PB0 — GPIO PB0 / ADC1_IN8 |
| Pin 19 | PB1 — GPIO PB1 / ADC1_IN9 |
| Pin 20 | PB2 — GPIO PB2 / BOOT1 |
| Pin 21 | PB10 — GPIO PB10 / I2C2_SCL |
| Pin 22 | PB11 — GPIO PB11 / I2C2_SDA |
| Pin 23 | VSS_1 — Digital ground |
| Pin 24 | VDD_1 — Digital supply voltage |
| Pin 25 | PB12 — GPIO PB12 / SPI2_NSS |
| Pin 26 | PB13 — GPIO PB13 / SPI2_SCK |
| Pin 27 | PB14 — GPIO PB14 / SPI2_MISO |
| Pin 28 | PB15 — GPIO PB15 / SPI2_MOSI |
| Pin 29 | PA8 — GPIO PA8 |
| Pin 30 | PA9 — GPIO PA9 / USART1_TX |
| Pin 31 | PA10 — GPIO PA10 / USART1_RX |
| Pin 32 | PA11 — GPIO PA11 / USB_DM |
| Pin 33 | PA12 — GPIO PA12 / USB_DP |
| Pin 34 | PA13 — GPIO PA13 / SWDIO |
| Pin 35 | VSS_2 — Digital ground |
| Pin 36 | VDD_2 — Digital supply voltage |
| Pin 37 | PA14 — GPIO PA14 / SWCLK |
| Pin 38 | PA15 — GPIO PA15 |
| Pin 39 | PB3 — GPIO PB3 / SWO |
| Pin 40 | PB4 — GPIO PB4 |
| Pin 41 | PB5 — GPIO PB5 |
| Pin 42 | PB6 — GPIO PB6 / I2C1_SCL |
| Pin 43 | PB7 — GPIO PB7 / I2C1_SDA |
| Pin 44 | BOOT0 — Boot mode selection |
| Pin 45 | PB8 — GPIO PB8 / TIM4_CH1 |
| Pin 46 | PB9 — GPIO PB9 / TIM4_CH2 |
| Pin 47 | VSS_3 — Digital ground |
| Pin 48 | VDD_3 — Digital supply voltage |
| Pin 49 | VSS_4 — Digital ground |
| Pin 50 | VDD_4 — Digital supply voltage |
| Pin 51 | PC0 — GPIO PC0 / ADC1_IN10 |
| Pin 52 | PC1 — GPIO PC1 / ADC1_IN11 |
| Pin 53 | PC2 — GPIO PC2 / ADC1_IN12 |
| Pin 54 | PC3 — GPIO PC3 / ADC1_IN13 |
| Pin 55 | VREF+ — ADC positive voltage reference |
| Pin 56 | VDDA — Analog supply voltage |
| Pin 57 | PA0 — GPIO PA0 (alt function) |
| Pin 58 | PC4 — GPIO PC4 / ADC1_IN14 |
| Pin 59 | PC5 — GPIO PC5 / ADC1_IN15 |
| Pin 60 | PC6 — GPIO PC6 |
| Pin 61 | PC7 — GPIO PC7 |
| Pin 62 | PC8 — GPIO PC8 / SDMMC_D0 |
| Pin 63 | PC9 — GPIO PC9 / SDMMC_D1 |
| Pin 64 | VSS_5 — Digital ground |
Typical Applications
STM32F413RGT6 is suitable for 6 applications: Industrial Motor Control (BLDC / PMSM FOC), USB Human Interface Device / CDC Bridge, Audio Peripheral with SAI / I2S, Home-Automation Gateway with CAN Connectivity, Small TFT HMI Panel with Touch, Portable Battery-Powered IoT Sensor Node.
Industrial Motor Control (BLDC / PMSM FOC)
The STM32F413RGT6 fits BLDC and PMSM field-oriented control drives because its 100 MHz Cortex-M4F core can run a single-cycle FOC loop with the 16-bit advanced-control PWM timer outputting complementary 3-phase signals with hardware dead-time insertion. The on-chip 12-bit ADC with 16 channels and dual 12-bit DACs allow simultaneous current sampling and timing-critical feedback without external analog. Compared with discrete MCU + gate-driver solutions, the F413 integrates USB-CDC for commissioning and CAN 2.0B for networked drives on the same die, reducing BOM and PCB area while keeping the motor-control cycle deterministic.
Recommended
USB Human Interface Device / CDC Bridge
The STM32F413RGT6 is ideal for USB HID, CDC, and vendor-class peripherals because it integrates the USB 2.0 full-speed physical layer on-chip - designers avoid the external PHY, crystal, and ESD array that older STM32F1/F4 designs required. With 1 MB Flash and 256 KB SRAM, large USB-CDC + composite HID + DFU bootloader stacks fit comfortably, and the ART accelerator keeps interrupt latency under 12 cycles at 100 MHz so USB SOF jitter stays within the 0.5% spec. The on-chip regulator and full 1.71-3.6 V supply also let the part run directly from a USB bus-powered 3.3 V LDO.
Recommended
Audio Peripheral with SAI / I2S
The STM32F413RGT6 includes a dedicated SAI (serial audio interface) and standard I2S peripherals, allowing direct connection to CS5343/4 ADCs, SGTL5000 audio codecs, and I2S class-D amplifiers without external logic. The 100 MHz Cortex-M4F can run lightweight audio processing (FFT, equalization, dynamic range compression) while streaming 48 kHz/24-bit stereo over SAI with negligible CPU load. Compared with smaller Cortex-M0 audio bridges, the F413 trades the BOM savings for genuine DSP capability on-chip.
Recommended
Home-Automation Gateway with CAN Connectivity
The STM32F413RGT6's combination of CAN 2.0B active, USB FS, two UARTs, three SPI, and three I2C make it well suited to home-automation gateways bridging KNX/CAN sensor nodes to Wi-Fi/Ethernet uplinks. The 1 MB Flash accommodates a TLS stack plus a CANopen or DeviceNet firmware image, and the 256 KB SRAM buffers full CAN frames at 1 Mbaud without overrun. The on-chip RTC with calendar and 20 backup registers lets the gateway keep time across power cycles for scheduled events.
Recommended
Small TFT HMI Panel with Touch
The STM32F413RGT6 drives small SPI-based TFT panels (up to ~3.5 inch 320x240) and resistive touch controllers via its three SPI ports, with the FSMC interface providing parallel 8080 mode for faster panel refresh. The Cortex-M4F core renders LVGL-style UIs at 30+ fps and the 1 MB Flash stores full icon sets and multi-language fonts. The 12-bit ADC reads a resistive touch controller directly, eliminating a separate touch IC and reducing BOM in cost-sensitive HMI panels.
Recommended
Portable Battery-Powered IoT Sensor Node
The STM32F413RGT6 supports Run/Stop/Standby/Shutdown low-power modes and operates from 1.71 V to 3.6 V, making it suitable for coin-cell or Li-ion powered IoT sensor nodes. Stop-mode current of ~30 uA with RTC running allows multi-month battery life on periodic wake-up cycles. Compared with smaller Cortex-M0+ sensor MCUs, the F413 trades quiescent current for the ability to perform on-die DSP (filtering, FFT) before transmitting over LoRa or BLE, reducing total energy per measurement.
Recommended
Recommended Products Summary
Engineering reference data for STM32F413RGT6 — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | STM32F412RGT6 | STM32F405RGT6 | STM32F401RGT6 | STM32F411RGT6 |
|---|---|---|---|---|---|
| Package | 64-LQFP (10x10 mm) | 64-LQFP (10x10 mm) - same | 64-LQFP (10x10 mm) - same | 64-LQFP (10x10 mm) - same | 64-LQFP (10x10 mm) - same |
| Brand | STMicroelectronics | STMicroelectronics | STMicroelectronics | STMicroelectronics | STMicroelectronics |
| Maximum CPU Frequency | 100 MHz | 100 MHz | 168 MHz | 84 MHz | 100 MHz |
| Flash Memory | 1 MB | 1 MB | 1 MB | 256 KB | 512 KB |
| SRAM | 256 KB | 256 KB | 192 KB | 64 KB | 128 KB |
| USB | USB 2.0 FS with on-chip PHY | USB 2.0 FS (external PHY) | USB 2.0 FS + HS OTG | USB 2.0 FS (external PHY) | USB 2.0 FS (external PHY) |
| CAN | CAN 2.0B active | None | CAN 2.0B | None | None |
| Ethernet MAC | No | No | Yes (MII/RMII) | No | No |
Key Differentiators
- Only F4 family MCU with USB FS on-chip PHY in 64-LQFP (vs STM32F412RGT6)
- Integrated CAN 2.0B plus SAI audio in same die (vs STM32F405RGT6)
- 1 MB Flash at 100 MHz matches F412 in same package (vs STM32F401RGT6)
Design Notes
The STM32F413RGT6 has four VDD/VSS pairs (VDD_1..VDD_4) and a dedicated VDDA/VSSA pair for the analog domain. Decouple each VDD with a 100 nF ceramic placed within 5 mm of the pin, plus a bulk 4.7 uF near the regulator. Tie VDDA to the same 3.3 V rail through a ferrite bead and add 10 nF + 1 uF on VREF+ for clean ADC readings; per datasheet DS10713, ADC accuracy degrades by 1 LSB per 50 mV ripple on VDDA.
For USB designs using the on-chip FS PHY, route D+/D- as a 90-ohm differential pair (per USB 2.0 spec), keep the pair length-matched within 150 ps, and place the USB connector within 8 mm of pins 32/33 (PA11/PA12). Add a USBLC6-2SC6 ESD array near the connector. The HSE crystal traces (OSC_IN/OSC_OUT) must be short, length-matched, and surrounded by a ground guard ring to avoid radiated emissions above the EN 55022 class-B limit.
Do not leave BOOT0 floating - the STM32F413RGT6 will randomly enter system memory bootloader or main Flash depending on its state at NRST release. Tie BOOT0 to GND through 10 kohm for normal boot, or to VDD through 10 kohm for bootloader entry. Also, when using the SAI audio interface, ensure I2S_MCK is configured before enabling the peripheral or the codec will see no master clock and fail silently. Consult errata sheet ES0287 for known silicon issues.
Estimated: at full 100 MHz CPU load with all peripherals active and USB streaming, the F413 draws roughly 90 mA from 3.3 V (~300 mW). The 64-LQFP has theta_JA of ~50 C/W on a 4-layer JEDEC test board, giving a 15 C junction-temperature rise above ambient - well within the 85 C industrial limit. For closed enclosures without airflow, monitor internal die temperature via the on-chip sensor and throttle CPU clock above 105 C.
Compliance Information
RoHS compliant and lead-free per ST product page. Industrial grade -40C to +85C; not AEC-Q100 qualified - ST offers STM32F413VHT6 in LQFP-100 for AEC-Q100 Grade 2 automotive designs.