STMicroelectronics STM32F401RET7
- Part No.:
- STM32F401RET7
- Manufacturer:
- STMicroelectronics
- Category:
- Microcontrollers
- Package:
- 64-LQFP
- Datasheet:
-
STM32F401RET7.pdf
- Description:
- IC MCU 32BIT 512KB FLASH 64LQFP
- Quantity:
- Payment:

- Shipping:

Inventory:451
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM32F401RET7 from STMicroelectronics is a 32-bit Arm® Cortex®-M4 microcontroller with FPU, operating up to 84 MHz, featuring 512 KB Flash, 96 KB SRAM, and integrated USB OTG FS controller with on-chip PHY. It delivers 105 DMIPS performance and supports real-time audio via I2S with PLLI2S, targeting embedded control and connectivity applications in industrial HMI and portable medical devices.
For engineers reviewing the STM32F401RET7 datasheet, STM32F401RET7 pinout, STM32F401RET7 application, or STM32F401RET7 equivalent, key selection criteria include its 84 MHz CPU frequency, 512 KB flash density, USB OTG FS + PHY integration, 12-bit 2.4 MSPS ADC, and 78 fast 42 MHz 5 V-tolerant GPIOs - all critical for resource-constrained, mixed-signal edge-node designs.
Technical Context
The STM32F401RET7 implements an Arm Cortex-M4 core with hardware FPU and ART Accelerator enabling zero-wait-state execution from Flash at 84 MHz. Its memory subsystem includes 512 KB of embedded Flash, 96 KB SRAM, and 512 bytes OTP, with MPU support for secure task isolation.
Peripherals are organized across multiple AHB/APB buses: dual 32-bit general-purpose timers (TIM2/TIM5), three I2C interfaces with SMBus/PMBus support, four SPIs (up to 42 Mbit/s), three USARTs (two at 10.5 Mbit/s), SDIO, and USB OTG FS with integrated PHY - enabling simultaneous high-speed serial comms and storage interfacing without external transceivers.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | Arm Cortex-M4 with FPU, 84 MHz max - enables deterministic DSP math and real-time control loops |
| Flash / RAM | 512 KB Flash / 96 KB SRAM - sufficient for complex firmware with protocol stacks and local data buffering |
| ADC | 1×12-bit, 2.4 MSPS, 16-channel - supports high-resolution sensor acquisition at >1 kHz sampling rates |
| USB Interface | USB 2.0 full-speed OTG with on-chip PHY - eliminates need for external transceiver in host/device/OTG roles |
| I/O Count & Tolerance | 78 GPIOs @ 42 MHz, all 5 V-tolerant - simplifies interface to legacy peripherals and level-shifting circuits |
| Power Modes | Stop mode down to 10 µA (deep power-down), Standby at 2.4 µA - extends battery life in always-on sensing nodes |
| Clock Sources | 4–26 MHz HSE, 32 kHz LSE for RTC, factory-trimmed 16 MHz HSI - enables precise timekeeping and low-power clock gating |
Pinout & Package
LQFP64 (10 × 10 mm, 0.5 mm pitch) package with exposed thermal pad; RoHS-compliant ECOPACK2 construction.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD, VDDA, VSS, VSSA | Power supply and analog ground | Dual-domain supply enables clean ADC operation with independent analog reference path |
| PA0–PA15, PB0–PB15, PC0–PC15, PD0–PD15, PE0–PE15 | General-purpose I/O | 78 pins support alternate functions including USART, SPI, I2C, TIM, USB, and SDIO - configurable per application |
| PA11/PA12 | USB DM/DP | Dedicated full-speed USB 2.0 differential pair with integrated PHY - no external transceiver required |
| PC13–PC15 | RTC oscillator inputs | Support 32.768 kHz crystal for subsecond RTC accuracy and calendar functionality |
| NRST | Active-low reset input | Asynchronous reset with internal pull-up; compatible with push-button and supervisor IC reset signals |
| BOOT0 | Boot mode select | Configures boot source (system memory, main Flash, or SRAM) at power-up - essential for DFU and recovery |
Key Features
| Feature | Design Value |
|---|---|
| ART Accelerator | Enables 0-wait-state Flash execution at 84 MHz - eliminates performance penalty of internal Flash latency |
| Adaptive Real-Time Execution | Dynamic prefetch and branch cache reduce instruction fetch stalls - improves real-time determinism for motor control |
| USB OTG FS with PHY | Integrated transceiver supports device/host/OTG modes - reduces BOM count and PCB area vs discrete PHY solutions |
| 5 V-Tolerant I/Os | All 78 fast GPIOs tolerate 5 V inputs - allows direct connection to TTL/CMOS logic without level shifters |
| Low-Power Stop Mode | 10 µA typical (deep power-down) with RTC running - enables multi-year battery life in metering and sensor nodes |
Applications
| Industrial HMI Panel | Portable ECG Monitor |
|---|---|
Use Scenario: Touch-enabled display panel controlling PLC I/O and reporting status via UART/USB. IC Role / Device Role / Timing Role: Main application processor handling GUI rendering, communication stack, and real-time I/O scanning. Use Value: 84 MHz Cortex-M4 + 512 KB Flash supports FreeRTOS + LVGL graphics library; USB OTG enables field firmware updates and data export. | Use Scenario: Battery-powered wearable acquiring lead-II ECG signals and transmitting via BLE bridge (UART-connected). IC Role / Device Role / Timing Role: Signal acquisition controller managing ADC sampling, digital filtering, and buffered transmission. Use Value: 12-bit 2.4 MSPS ADC captures high-fidelity waveforms; 10 µA Stop mode extends single-charge battery life beyond 72 hours. |
| Smart Energy Meter | IoT Gateway Node |
Use Scenario: DIN-rail mounted meter measuring voltage/current harmonics and logging data to SD card. IC Role / Device Role / Timing Role: System-on-chip managing metrology ADC interface, SDIO storage, and isolated RS-485 communication. Use Value: SDIO interface drives standard SD cards at 25 MB/s; 96 KB SRAM buffers waveform samples before compression and storage. | Use Scenario: Edge node aggregating Zigbee/Z-Wave sensor data and forwarding via Ethernet or cellular modem. IC Role / Device Role / Timing Role: Protocol translation hub with multiple UART/SPI/I2C interfaces and USB host for modem control. Use Value: Three USARTs (10.5 Mbit/s) support simultaneous modem AT command channel, debug console, and sensor bridge; 78 GPIOs enable flexible peripheral expansion. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| STM32F411RETx | Higher Flash (512 KB → 512 KB), same RAM, but adds 2× more DMA streams (16 → 32) and higher USB throughput via dedicated DMA channels | Better suited for concurrent high-bandwidth peripherals (e.g., simultaneous SDIO + USB + SPI) | Select when multi-peripheral concurrency and larger code footprint demand exceed STM32F401RET7's capabilities |
| STM32G431KBT6 | Same LQFP64 package, but Cortex-M4 with FPU at 170 MHz, 128 KB Flash, 32 KB SRAM, and enhanced analog (2× 12-bit ADCs, 3× comparators) | Optimized for analog-intensive control (motor, power conversion), not USB-centric connectivity | Prefer for cost-sensitive, analog-dense applications where USB OTG and large Flash are unnecessary |
Compared with STM32F401RET7, the STM32F411RETx offers superior peripheral concurrency for data-rich gateways, while the STM32G431KBT6 trades USB/Flash capacity for higher analog integration and CPU speed - making each optimal for distinct system-level trade-offs.
Availability
STM32F401RET7 is available at Aetrix Electronics and suitable for industrial HMI, portable medical devices, smart energy meters, and IoT gateway nodes requiring stable component supply and long-term manufacturability.
Supply support for STM32F401RET7 includes scheduled delivery planning, volume procurement assistance, BOM continuity management, traceable sourcing, and lifecycle availability coordination for OEM customers, industrial embedded developers, connected-device designers, and electronics production programs.
Manufacturer
STMicroelectronics is a global semiconductor leader headquartered in Geneva, specializing in microcontrollers, power management, sensors, and automotive ICs.
The STM32F4 series targets high-performance embedded applications demanding DSP capability, rich connectivity, and real-time responsiveness - particularly where USB, audio, and mixed-signal integration are central to system architecture.
FAQ
What is the maximum operating frequency and how is it achieved?
The STM32F401RET7 achieves 84 MHz maximum CPU frequency using its internal PLL driven by either the 4–26 MHz HSE crystal or the 16 MHz HSI RC oscillator. The ART Accelerator ensures zero-wait-state execution from Flash memory at this speed, eliminating instruction-fetch bottlenecks and delivering consistent 105 DMIPS performance without external SRAM.
Does STM32F401RET7 support USB device, host, and OTG simultaneously?
No - the USB 2.0 full-speed controller supports device, host, or OTG modes, but only one mode active at a time. Mode selection is controlled via software configuration of the USB_OTG_GUSBCFG register and external ID pin state. Hardware does not allow concurrent device and host stacks; OTG behavior requires external VBUS detection and ID pin routing.
How many ADC channels are available and what is their effective resolution?
The STM32F401RET7 integrates one 12-bit successive-approximation ADC with up to 16 external input channels. At 2.4 MSPS sampling rate, effective resolution is 11.2 bits (ENOB) under typical conditions due to aperture jitter and noise; actual usable resolution depends on signal bandwidth, sampling clock stability, and external analog front-end design.
Is the LQFP64 package of STM32F401RET7 pin-compatible with other STM32F4 series MCUs?
No - the STM32F401RET7 LQFP64 pinout is unique to the F401xD/E subfamily. While some power and reset pins align, peripheral alternate function mappings (e.g., USB, SDIO, SPI) differ significantly from STM32F411 or STM32F407 packages. Direct replacement requires PCB redesign and firmware adaptation due to non-overlapping AFIO register configurations.
STM32F401RET7 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- STMicroelectronics
- Package/Case:
- 64-LQFP
- Series:
- STM32F4
- Packaging:
- Tray
- Product Status:
- Active
- Programmable:
- Not Verified
- Core Processor:
- ARM® Cortex®-M4
- Core Size:
- 32-Bit Single-Core
- Speed:
- 84MHz
- Connectivity:
- I2C, IrDA, LINbus, SDIO, SPI, UART/USART, USB OTG
- Peripherals:
- Brown-out Detect/Reset, DMA, I2S, POR, PWM, WDT
- Number of I/O:
- 50
- Program Memory Size:
- 512KB (512K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- -
- RAM Size:
- 96K x 8
- Voltage - Supply (Vcc/Vdd):
- 1.7V ~ 3.6V
- Data Converters:
- A/D 16x12b
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 105°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
STM32F401RET7 FAQ
1.How can I place an order for STM32F401RET7 through Aetrix?
Please submit a Request for Quotation (RFQ) for STM32F401RET7 on Aetrix. Our sales agent will provide a competitive quotation and guide you through the order confirmation once you accept the terms.
2.Are the price and stock information for STM32F401RET7 reliable?
The price and inventory of STM32F401RET7 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM32F401RET7 is usually 5 days.
3.What payment methods are accepted for STM32F401RET7?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM32F401RET7 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM32F401RET7?
STM32F401RET7 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM32F401RET7 order is processed, you will receive an email with the shipment details and tracking number.
Note: Tracking information may take up to 24 hours to appear. Express delivery typically takes 3–5 business days.
5.How can I obtain technical support or documentation for STM32F401RET7?
For technical support, including STM32F401RET7 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM32F401RET7 requirements.
6.How does Aetrix verify that STM32F401RET7 is sourced from the original manufacturer or authorized distributors?
All STM32F401RET7 products on Aetrix are procured from qualified distributors and authorized channels. Our dedicated quality assurance team conducts strict verification, including traceability checks and, if necessary, third-party testing. This ensures that STM32F401RET7 meets industry standards.
7.What is the process for return or replacement of STM32F401RET7?
All STM32F401RET7 units undergo pre-shipment inspection (PSI). If there is an issue with STM32F401RET7, returns or replacements are accepted under the following conditions:
1.Quantity discrepancies, incorrect items, or visible external defects (such as breakage or corrosion), acknowledged by Aetrix.
2.The issue is reported within 90 days of delivery.
3.The STM32F401RET7 part is unused and in its original packaging.
Return procedure for STM32F401RET7:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM32F401RET7 Tags

-
ATTINY4-TSHR
Microchip Technology

-
ATTINY10-TSHR
Microchip Technology

-
ATTINY10-TS8R
Microchip Technology

-
ATTINY202-SSNR
Microchip Technology

-
ATTINY202-SSFR
Microchip Technology

-
ATTINY402-SSNR
Microchip Technology

-
PIC16F15213T-I/MF
Microchip Technology

-
PIC16F15213-E/MF
Microchip Technology

-
PIC10F200T-I/OT
Microchip Technology

-
ATTINY412-SSNR
Microchip Technology

-
PIC10F202T-I/OT
Microchip Technology

-
ATTINY404-SSNR
Microchip Technology
Tech Hub
A practical engineering guide to 3.3V and 5V logic compatibility, input thresholds, resistor dividers, translator ICs, MOSFET level shifting, I2C pull-ups, timing limits and power-sequencing risks.
The 74HC595 uses push-pull logic outputs, while the TPIC6B595 uses 50 V open-drain DMOS sinks for higher-power loads. This guide compares timing, current limits, 3.3 V interfacing, load wiring, thermal…
The 74HC595 converts serial data into eight stable parallel outputs. This guide covers pin functions, shift and storage timing, OE and MR behavior, drive-current limits, cascading, voltage compatibilit…
A technical comparison of level-sensitive latches and edge-triggered flip-flops, covering timing windows, setup and hold limits, master–slave operation, time borrowing, race-through, HDL inference and…
A D latch stores one bit while Enable controls when data can pass. This reference covers gate-level operation, truth tables, transparency, setup and hold timing, LE versus OE, common ICs and practical …
An SR latch stores one bit through cross-coupled feedback. This engineering reference covers NOR and NAND implementations, truth tables, forbidden-state recovery, gated operation, switch debouncing, fa…
Latch circuits retain one bit through feedback. This technical reference covers SR and D latches, truth tables, transparency, timing limits, latch-versus-flip-flop behavior, applications and common log…
An engineering guide to LED driver operation, constant-current and constant-voltage outputs, linear and switching topologies, dimming, IC selection, calculations, replacement compatibility, and fault c…
Operational amplifier guide covering op amp basics, feedback, ideal vs real op amps, common configurations, buffer circuits, offset, bias current, gain-bandwidth, slew rate, rail-to-rail limits and sel…
Jumper cables guide covering safe connection order, red and black clamp placement, final ground connection, cable gauge, length, clamp quality, copper vs CCA cables, jump starter comparison and battery…

