qixinwei-pcba
STM32F302RBT6 ST Mainstream Arm Cortex-M4 Mixed-Signal 32-bit MCU 128KB Flash 72MHz FPU CAN ADC DAC Comparator Op-Amp LQFP-64
STM32F302RBT6 Product Overview
The STM32F302RBT6 is a Cortex-M4 mixed-signal MCU from STMicroelectronics in an LQFP-64 package. It runs at 72 MHz with FPU and ART Accelerator. It integrates 128 KB Flash, 32 KB SRAM, CAN 2.0B, USB 2.0 FS (crystal-less), 12-bit ADC (15ch, 0.2µs), 12-bit DAC (2ch), 3 ultra-fast comparators (25ns), 1 programmable op-amp (PGA), up to 9 timers (incl. 2 motor control PWM/deadtime), and up to 14 communication interfaces (3×USART/3×UART/2×SPI/I2S/2×I2C/USB/CAN). 51 I/Os (LQFP-64), all 5 V-tolerant. Supply 2.0–3.6 V, -40–85 °C. Compared to the STM32F302C8T6, both Flash and SRAM are doubled, the package is upgraded to LQFP-64 with more I/Os, and CAN, an additional comparator, and an advanced timer are added for more complex mixed-signal applications. Compared to the STM32F103RBT6 (Cortex-M3), it upgrades to a Cortex-M4 core with FPU, adds op-amps, ultra-fast comparators, CAN, and crystal-less USB.
STM32F302RBT6 Core Features
Core: Arm Cortex-M4 72 MHz + FPU + ART Accelerator Memory: 128 KB Flash, 32 KB SRAM CAN 2.0B + USB 2.0 FS: Crystal-less USB, LPM and BCD support 12-bit ADC: 15 channels, 0.2 µs, 0–3.6 V 12-bit DAC: 2 channels, buffered 3 Ultra-Fast Comparators: 25 ns 1 Programmable Op-Amp (PGA): Gain ×2/×4/×8/×16 Timers: 2× motor control PWM (deadtime/emergency stop), 3× 16-bit GP, 1× 32-bit GP, 2× watchdogs, SysTick Communication Interfaces: 3×USART + 3×UART (ISO7816/LIN/IrDA), 2×SPI/I2S, 2×I2C (SMBus), USB FS, CAN 2.0B I/Os: 51, all 5 V-tolerant Low Power: Sleep/Stop/Standby, VBAT backup RTC Package: LQFP-64 (10×10×1.4 mm)
STM32F302RBT6 Applications
Digital Power: SMPS, inverters, PFC Motor Control: Dual-motor FOC (2 advanced timers), BLDC/PMSM, fans, pumps Industrial Automation: CAN bus nodes, inverters Consumer: Game controllers, remote controls IoT Nodes Sensor Signal Conditioning
STM32F302RBT6 Key Advantages
Cortex-M4 + FPU + Op-Amps/Comparators + CAN: High mixed-signal integration for digital power, motor control, and industrial communication 128 KB Flash + 32 KB SRAM: Double the storage of the F302C8 series for more complex applications LQFP-64 Package: 51 I/Os, rich resources Dual Advanced Timers: Supports dual-motor FOC 72 MHz FPU: Single-cycle DSP and floating-point operations Crystal-less USB + CAN 2.0B: Combines industrial bus and general communication 3 × 25ns Ultra-Fast Comparators + 1 PGA: No external op-amps/comparators needed, saves BOM ADC 0.2 µs Fast Conversion Mature STM32 Ecosystem: CubeIDE/CubeMX/HAL/LL
Why Choose QIXINWEI
Years of experience in the electronics industry. Trusted by global customers.
Massive In-Stock Inventory – Ready to ship promptly.
BOM Matching Service – One-stop solution, save time.
PCBA Customization – Professional engineering team creates tailor-made solutions based on your needs.
Cost-Effective & Efficient – Better channel, better cost.
A dedicated team makes your procurement smoother.
Contact us for BOM quotes or PCBA inquiries.











FAQ:
What is the STM32F302RBT6 and how does it differ from the STM32F303RBT6?
The STM32F302RBT6 is a 72 MHz Arm Cortex‑M4F microcontroller with 128 KB Flash and 32 KB SRAM in an LQFP‑64 package. It includes one fast 12‑bit ADC (5 Msps), one 12‑bit DAC, two operational amplifiers, three analog comparators, CAN, and USB. Compared to the STM32F303RBT6, the F302 replaces the F303’s four high‑speed ADCs, PGA, and seven comparators with a slightly leaner analog set. This makes the F302RBT6 a more cost‑focused choice for general‑purpose motor control and industrial applications that still need a powerful analog front‑end and full communication, but do not require the maximum simultaneous sampling capability of the F303.Is 128 KB Flash and 32 KB SRAM enough for a complete motor control application with CAN and USB?
Absolutely. A typical FOC library, CANopen stack, and USB device protocol can fit comfortably within 100 KB of Flash. The 32 KB SRAM—which includes a block of Core Coupled Memory (CCM) for zero‑wait‑state access—provides sufficient space for the real‑time control stack, communication buffers, and sensor data. This exact configuration is used in many production‑proven single‑axis motor drives and compact industrial controllers.How can the built‑in operational amplifiers and comparators simplify my design?
The two embedded rail‑to‑rail operational amplifiers can be configured as PGAs or used for signal conditioning, directly interfacing with current‑shunt resistors and eliminating external amplifier ICs. The three fast analog comparators provide cycle‑by‑cycle over‑current protection without additional components. In the compact LQFP‑64 footprint, this integration reduces BOM cost and PCB area, making it easier to build a complete single‑motor drive or power converter.How does the STM32F302RBT6 compare to the classic STM32F103RBT6 as an upgrade?
The STM32F103RBT6 uses a Cortex‑M3 core with a 1 Msps 12‑bit ADC and no FPU. The F302RBT6 adds a single‑precision FPU, DSP instructions, a much faster 5 Msps ADC, a DAC, built‑in op‑amps and comparators, plus a CAN/USB combination. The Flash stays at 128 KB, but SRAM is increased to 32 KB with a CCM block. The pin‑out is often very similar, enabling a smooth hardware upgrade that significantly boosts control‑loop performance and analog precision.When should I pick the STM32F302RBT6 over the STM32F303RBT6? What analog features are given up?
Choose the F302RBT6 when your application does not need four simultaneous 5 Msps ADCs or the programmable gain amplifiers (PGAs) found on the F303. The F302 still offers one fast ADC, a DAC, op‑amps, and comparators, keeping the core analog processing powerful enough for many motor drives and general‑purpose control loops. In return, you get a more cost‑optimized MCU with the same CAN, USB, and Cortex‑M4F core, ideal for high‑volume products where every component cost matters.Does the STM32F302RBT6 have CCM (Core Coupled Memory), and how should I use it?
Yes, it includes a block of CCM that provides zero‑wait‑state access for the CPU. Place your real‑time control stack, critical variables, and lookup tables in the CCM for deterministic, low‑latency access. Since DMA cannot access the CCM, all ADC, communication, and DMA‑driven buffers must be placed in the remaining system SRAM. Proper CCM usage can significantly reduce control‑loop jitter.Can the STM32F302RBT6 run USB and CAN at the same time? What other interfaces are available?
Yes. It includes a full‑speed USB device controller (external pull‑up required; no on‑chip PHY) and a CAN 2.0B interface, both of which can operate concurrently. You also have up to three USARTs, two SPIs, and two I2Cs. This makes the F302RBT6 a capable single‑motor‑drive node that can communicate over CAN on an industrial network and over USB for configuration or firmware updates—all from a single 64‑pin chip.How fast is the ADC on the STM32F302RBT6, and how many channels does it support?
The single 12‑bit ADC can sample at up to 5 Msps and supports up to 10 external channels in the LQFP‑64 package. While it lacks the simultaneous multi‑ADC capability of the F303, it is still extremely fast for most motor‑control and power‑conversion tasks. The ADC is tightly coupled to the advanced timers, allowing automatic triggering at the PWM center or edge with zero CPU overhead.What development tools and motor‑control libraries support the STM32F302RBT6?
All major IDEs—free STM32CubeIDE, Keil MDK, and IAR EWARM—fully support the chip. ST provides the X‑CUBE‑MCSDK, which includes ready‑to‑use FOC and six‑step algorithms that work seamlessly with the F302’s ADC and timer peripherals. For evaluation, you can start with a NUCLEO‑F302R8 or NUCLEO‑F303RE board (software‑compatible) and then migrate to the RBT6 by adjusting the linker script and pin‑out in CubeMX.What are the most typical applications for the STM32F302RBT6?
It is ideal for cost‑optimized single‑axis motor drives (PMSM/BLDC), digital power converters, industrial sensor hubs, multi‑channel data loggers, and any space‑constrained design that needs a powerful Cortex‑M4F core with solid analog performance, CAN, and USB connectivity. Its blend of a rich analog front‑end and a competitive price makes it a popular choice for high‑volume professional products that do not need the full F303 analog firepower.
- Product Type:
- Mainstream Arm Cortex-M4 Mixed-Signal 32-bit MCU
- Brand:
- STMicroelectronics
- Core:
- Arm Cortex-M4 72MHz (FPU + ART Accelerator)
- Package:
- LQFP-64 (10×10×1.4mm)
- Memory:
- 128KB Flash, 32KB SRAM
- Peripherals:
- CAN 2.0B, USB 2.0 FS (crystal-less), 12-bit ADC (15ch/0.2µs), 12-bit DAC (2ch), 3× Ultra-fast comparators (25ns), 1× Programmable op-amp (PGA), 2× Motor control PWM (deadtime), Calendar RTC
- Interfaces:
- 3×USART, 3×UART, 2×SPI/I2S, 2×I2C (SMBus)
- I/Os:
- 51
- Voltage:
- 2.0V~3.6V
- Temperature:
- -40°C~85°C