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

- Shipping:

Inventory:1,126
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM32F302RET6 from STMicroelectronics is a 32-bit ARM® Cortex®-M4 microcontroller with FPU, 72 MHz max clock, 512 KB Flash, 64 KB SRAM, and integrated analog peripherals including two 12-bit ADCs (0.20 µs conversion), one 12-bit DAC, four rail-to-rail comparators, and two operational amplifiers-designed for real-time motor control and sensor signal conditioning in industrial drives.
For engineers reviewing the STM32F302RET6 datasheet, STM32F302RET6 pinout, STM32F302RET6 application, or STM32F302RET6 equivalent, key selection criteria include its dual ADC sampling capability, programmable gain amplifier (PGA) support via op-amps, CAN 2.0B interface, and 5 V-tolerant I/Os enabling direct interfacing with legacy industrial logic.
Technical Context
The device integrates an ARM Cortex-M4 core with hardware floating-point unit and memory protection unit (MPU), supporting deterministic real-time execution. Its analog subsystem features independent VDDA supply (2.4–3.6 V) for DAC and op-amps, and separate 2.0–3.6 V analog domain for ADCs and comparators-enabling mixed-signal coexistence without noise coupling.
Timing architecture includes three clock sources: 4–32 MHz HSE crystal, 32 kHz LSE for RTC, and internal 8 MHz HSI with PLL multiplication up to 72 MHz. The interconnect matrix enables concurrent peripheral access without bus contention, critical for simultaneous ADC sampling, PWM generation, and CAN messaging.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core | ARM Cortex-M4 with FPU, 72 MHz max - enables real-time DSP operations (e.g., field-oriented control) without external math coprocessor |
| Flash / SRAM | 512 KB Flash + 64 KB SRAM (first 32 KB with HW parity) - supports complex firmware with safety-critical data integrity |
| ADC | Two 12-bit ADCs, 0.20 µs conversion, up to 18 channels - allows synchronized dual-channel sampling for current/voltage monitoring in 3-phase inverters |
| DAC & Op-Amps | One 12-bit DAC (2.4–3.6 V supply) + two rail-to-rail op-amps configurable as PGA - provides precision analog output and sensor front-end gain without external components |
| Timers | One 32-bit + eleven 16-bit timers, including advanced-control TIM1 with deadtime generation - meets IEC 60730 Class B requirements for motor drive fault protection |
| Communication | CAN 2.0B, 5× USART/UART, 4× SPI (2 with I2S), USB FS - supports industrial fieldbus integration, encoder feedback, and host connectivity |
| I/O Voltage | Up to 115 fast I/Os, several 5 V-tolerant - simplifies interface with 5 V sensors, PLC-level digital inputs, and legacy industrial peripherals |
Pinout & Package
LQFP64 package (10 × 10 mm, 0.5 mm pitch) with exposed thermal pad; RoHS-compliant, industrial temperature range (–40°C to +85°C).
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD, VSS | Core power supply / ground | 3.3 V nominal core supply; requires local 100 nF + 4.7 µF decoupling per VDD pin |
| VDDA, VSSA | Analog power supply / ground | Separate 2.4–3.6 V analog domain for ADC/DAC/op-amps; must be filtered independently from digital VDD |
| PA0–PA15, PB0–PB15, etc. | General-purpose I/O | 115 total GPIOs; many support multiple alternate functions (e.g., TIMx_CHy, ADCx_INy, USARTx_TX) |
| PA11/PA12 | USB DM/DP | Dedicated full-speed USB 2.0 interface with internal transceiver; no external PHY required |
| PD0/PD1 | CAN RX/TX | Direct connection to external CAN transceiver; supports bit rates up to 1 Mbit/s |
| NRST | Active-low reset input | Asynchronous reset with internal pull-up; accepts 1.65–5.5 V logic levels |
Key Features
| Feature | Design Value |
|---|---|
| Flexible Static Memory Controller (FSMC) | Supports external NOR/PSRAM/NAND with up to 4 chip selects - enables expansion of code/data space beyond on-chip limits |
| Capacitive Sensing (TSC) | Up to 24 channels for touchkey/linear/rotary sensors - eliminates need for external touch controller in HMI applications |
| Programmable Voltage Detector (PVD) | Configurable threshold (2.2–2.9 V) with interrupt generation - enables early brown-out detection before system failure |
| Low-power modes | Sleep, Stop, Standby with RTC retention - achieves <1.5 µA standby current (VBAT mode) for battery-backed applications |
| 96-bit unique ID | Factory-programmed serial number - supports secure device authentication and license binding |
Applications
| Motor Control System | Industrial HMI Panel |
|---|---|
Use Scenario: 3-phase BLDC motor drive with current sensing, position feedback, and thermal monitoring. IC Role / Device Role / Timing Role: Real-time execution of FOC algorithm, synchronized ADC sampling of phase currents, and generation of complementary PWM with deadtime. Use Value: Integrated op-amps condition shunt voltage signals; dual ADCs capture Iα/Iβ simultaneously; advanced timers ensure precise gate timing and fault shutdown. | Use Scenario: Touch-enabled operator interface with LED indicators, relay control, and serial communication to PLC. IC Role / Device Role / Timing Role: Capacitive touch sensing engine, GPIO-driven discrete I/O, and UART/CAN gateway between HMI and control network. Use Value: On-chip TSC supports 12+ touch keys without external IC; 5 V-tolerant I/Os directly drive LEDs and optocouplers; CAN interface enables seamless integration into factory automation networks. |
| Energy Monitoring Unit | Medical Sensor Node |
Use Scenario: DIN-rail mounted power meter measuring voltage, current, and harmonic content in AC mains. IC Role / Device Role / Timing Role: High-precision analog front-end controller with simultaneous sampling, FFT computation, and isolated RS-485 reporting. Use Value: Dual ADCs sample voltage/current at exact same instant; 12-bit DAC calibrates reference offsets; CRC unit ensures firmware integrity during OTA updates. | Use Scenario: Portable patient monitor acquiring ECG, temperature, and SpO₂ signals with low-power operation. IC Role / Device Role / Timing Role: Analog signal conditioner, low-power data logger, and BLE/USB host interface controller. Use Value: Rail-to-rail comparators detect R-wave peaks; op-amps provide programmable gain for weak biopotential signals; ultra-low leakage Stop mode extends battery life to >72 hours. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| STM32F303RET6 | Includes embedded bootloader, higher ADC resolution (16-bit via oversampling), no FSMC | Better suited for high-accuracy measurement; lacks external memory interface needed for firmware-over-the-air storage | Select when precision analog acquisition outweighs need for external PSRAM/NOR expansion |
| STM32G431KBT6 | Higher CPU frequency (170 MHz), enhanced analog (2x faster ADC, 3x op-amps), no CAN | Optimized for digital power control; missing CAN limits use in automotive body networks or industrial fieldbus nodes | Select for high-speed digital control loops where CAN is not required and cost-per-MHz is critical |
Compared with STM32F302RET6, STM32F303RET6 trades FSMC for enhanced ADC accuracy and bootloader flexibility, while STM32G431KBT6 delivers superior compute throughput and analog density but omits CAN-making the F302RET6 uniquely balanced for cost-sensitive industrial motion control with fieldbus connectivity.
Availability
STM32F302RET6 is available at Aetrix Electronics and suitable for industrial motor drives, energy meters, human-machine interfaces, and medical sensor nodes requiring stable component supply across multi-year production cycles.
Supply support for STM32F302RET6 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, Switzerland, specializing in microcontrollers, power management, and analog/mixed-signal ICs for industrial, automotive, and consumer markets.
The STM32F3 series targets cost-effective, analog-rich embedded control-designed specifically for applications demanding high-precision signal acquisition, real-time processing, and compact integration of motor control peripherals.
FAQ
What is the maximum operating frequency and how is it achieved?
The STM32F302RET6 achieves a maximum CPU frequency of 72 MHz using its internal 8 MHz HSI oscillator multiplied by a programmable PLL. External 4–32 MHz crystal (HSE) can also feed the PLL for higher stability. All peripherals operate synchronously at this frequency unless prescaled, and the FPU enables single-cycle floating-point operations essential for motor control algorithms.
Does this MCU support hardware CRC calculation and why does it matter?
Yes, it includes a dedicated cyclic redundancy check (CRC) calculation unit compliant with IEEE-802.3. This accelerates firmware image validation, EEPROM data integrity checks, and communication packet verification without burdening the CPU-critical for functional safety compliance (e.g., IEC 61508 SIL-2) and robust over-the-air update mechanisms.
How many analog channels can be sampled simultaneously and what is the timing relationship?
Two independent 12-bit ADCs allow true simultaneous sampling of up to 18 channels (9 per ADC). They share a common trigger source (e.g., TIM1 TRGO) with sub-nanosecond skew, enabling synchronized acquisition of phase currents in 3-phase systems-essential for accurate Clarke/Park transforms in field-oriented control.
Is the USB interface self-powered and does it require an external PHY?
No external PHY is required: the STM32F302RET6 integrates a full-speed USB 2.0 transceiver with internal pull-up resistors and descriptor handling. It operates in self-powered mode using VDD (3.3 V), eliminating external components. However, VBUS sensing and enumeration logic must be implemented in firmware per USB specification.
STM32F302RET6 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- STMicroelectronics
- Package/Case:
- 64-LQFP
- Series:
- STM32F3
- Packaging:
- Tray
- Product Status:
- Active
- Programmable:
- Not Verified
- Core Processor:
- ARM® Cortex®-M4
- Core Size:
- 32-Bit Single-Core
- Speed:
- 72MHz
- Connectivity:
- CANbus, I2C, IrDA, LINbus, SPI, UART/USART, USB
- Peripherals:
- DMA, I2S, POR, PWM, WDT
- Number of I/O:
- 51
- Program Memory Size:
- 512KB (512K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- -
- RAM Size:
- 64K x 8
- Voltage - Supply (Vcc/Vdd):
- 2V ~ 3.6V
- Data Converters:
- A/D 16x12b; D/A 1x12b
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
STM32F302RET6 FAQ
1.How can I place an order for STM32F302RET6 through Aetrix?
Please submit a Request for Quotation (RFQ) for STM32F302RET6 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 STM32F302RET6 reliable?
The price and inventory of STM32F302RET6 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM32F302RET6 is usually 5 days.
3.What payment methods are accepted for STM32F302RET6?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM32F302RET6 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM32F302RET6?
STM32F302RET6 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM32F302RET6 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 STM32F302RET6?
For technical support, including STM32F302RET6 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM32F302RET6 requirements.
6.How does Aetrix verify that STM32F302RET6 is sourced from the original manufacturer or authorized distributors?
All STM32F302RET6 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 STM32F302RET6 meets industry standards.
7.What is the process for return or replacement of STM32F302RET6?
All STM32F302RET6 units undergo pre-shipment inspection (PSI). If there is an issue with STM32F302RET6, 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 STM32F302RET6 part is unused and in its original packaging.
Return procedure for STM32F302RET6:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM32F302RET6 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…

