STMicroelectronics

STM32F103RET6 - 72MHz Cortex-M3, 512KB Flash MCU | STMicroelectronics

MPN: STM32F103RET6 βœ“ Active
In Stock Ships in 1-3 business days
2.0 V to 3.6 V Vdss 64-LQFP Package 72 MHz Speed 512 KB Memory
Contact for pricing
MOQ: 1 |
Price updated: 2026-09-05
Volume Pricing
Qty Unit Price Extended
1 $0 $0.00
10 $0 $0.00
100 $0 $0.00
500 $0 $0.00
1,000 $0 $0.00
ℹ️ All prices are in USD

STM32F103RET6 Overview

The STMicroelectronics STM32F103RET6 is a 32-bit ARM Cortex-M3 microcontroller running at up to 72 MHz, with 512 KB of Flash memory and 64 KB of SRAM, housed in a 64-pin LQFP package.

What is an ARM Cortex-M3 microcontroller? An MCU (microcontroller unit) integrates a processor core, program memory, data memory, and programmable peripherals on a single chip, enabling standalone embedded operation. The Cortex-M3 is a 32-bit RISC core within the ARM Cortex-M family (M0, M3, M4, M7), widely adopted for industrial control, medical devices, and consumer electronics because of its deterministic interrupt latency, nested vectored interrupt controller (NVIC), and rich peripheral ecosystem. Within STMicroelectronics' portfolio, the STM32F1 series sits in the general-purpose performance class between entry-level STM32F0 and mainstream STM32F4 devices.

Key features of the STM32F103RET6 include 512 KB of Flash organized in 128-bit wide banks for fast code execution, 64 KB of SRAM, three 12-bit ADCs, four general-purpose 16-bit timers plus two advanced PWM timers, and standard communication interfaces (USART, SPI, I2C, USB 2.0 full-speed, CAN 2.0B). The LQFP-64 package exposes 51 GPIO pins, and the device operates from a 2.0V to 3.6V supply over an industrial -40C to +85C temperature range.

Technically, the Cortex-M3 core uses a 3-stage pipeline with single-cycle multiply, while the MPU (memory protection unit) and JTAG/SWD debug interfaces support robust, serviceable designs. The high-density Flash architecture supports both in-system programming and in-application programming.

Typical applications include motor drives and inverters, PLC I/O modules, medical devices such as blood glucose meters, and industrial communication gateways using CAN or USB.

Design consideration: connect VDDA to a clean filtered analog supply and configure BOOT0 correctly at reset, since boot mode selection directly affects programming and startup behavior.

This page synthesizes distributor availability, drop-in second sources such as GD32F103RET6, and practical design notes not found in the manufacturer datasheet, providing engineers a one-stop selection resource.

Drop-in alternatives for STM32F103RET6 β€” 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 STM32F103RET6 (same form factor and footprint) β€” differing in Package, SRAM, Timers, Flash Memory, Supply Voltage.

Microchip Technology
Package: 100-LQFP (14x14 mm)
SRAM: 64KB
Flash Memory: 512KB (512K x 8)
Compare with STM32F103RET6 β†’
STMicroelectronics
Package: LQFP-64, 7 x 7 mm, 0.5 mm pitch
SRAM: 20 KB
Timers: 3 x general-purpose 16-bit + 1 advanced PWM timer
Compare with STM32F103RET6 β†’
STMicroelectronics
Package: LQFP-64 (10x10 mm)
Timers: Seven 16-bit timers
Supply Voltage: 2.5 V / 3.3 V
Compare with STM32F103RET6 β†’
STMicroelectronics
Package: LQFP64 (10x10 mm)
SRAM: 48 KB
Timers: Multiple 16-bit timers including PWM, plus RTC
Compare with STM32F103RET6 β†’
STMicroelectronics
Package: LQFP64 (10x10 mm, 0.5 mm pitch)
SRAM: 96 KB
Timers: Advanced-control, general-purpose, basic
Compare with STM32F103RET6 β†’

Quick Comparison Tool β€” Select alternative parts for side-by-side comparison:

STM32F103RCT6

βœ… Drop-In
STMicroelectronics
πŸ“¦ 64-LQFP
ARM Cortex-M3 32-bit Β· 72 MHz Β· 256 KB Β· 48 KB Β· 2.0 V to 3.6 V Β· -40C to +85C Β· LQFP64 (10x10 mm) Β· 51

βœ“ In Stock

$3.35 / Unit

View Datasheet β†’

STM32F103RBT6

βœ… Drop-In
STMicroelectronics
πŸ“¦ 64-LQFP
ARM Cortex-M3 Β· 32-bit Β· 72 MHz Β· 128 KB (128K x 8) Β· 20 KB Β· 2.5 V / 3.3 V

βœ“ In Stock

$3.32 / Unit

View Datasheet β†’

STM32F103R8T6

βœ… Drop-In
STMicroelectronics
πŸ“¦ 64-LQFP
ARM Cortex-M3 32-bit Β· 72 MHz Β· 64 KB (64K x 8) Β· 20 KB Β· 2.0 V to 3.6 V Β· 51 I/O Β· 2 x 12-bit, 1 us conversion time, 16 channels Β· 3 x general-purpose 16-bit + 1 advanced PWM timer

βœ“ In Stock

$2.9 / Unit

View Datasheet β†’

GD32F103RET6

βœ… Drop-In
πŸ“¦ 64-LQFP
register/pin-compatible second source, clocks up to 108 MHz vs 72 MHz (+50%), zero-wait Flash

πŸ“‹ Reference alternative (not in catalog)

APM32F103RET6

βœ… Drop-In
πŸ“¦ 64-LQFP
register-compatible STM32F103 clone with equal 512 KB Flash and 72 MHz; minor ADC/USB tolerance differences

πŸ“‹ Reference alternative (not in catalog)

CH32F103RBT6

βœ… Drop-In
πŸ“¦ 64-LQFP
register-compatible alternative, typically 128 KB Flash variant, low-cost second source

πŸ“‹ Reference alternative (not in catalog)

MM32F103RET6

βœ… Drop-In
πŸ“¦ 64-LQFP
Cortex-M3 compatible alternative with equal memory class; firmware revalidation required

πŸ“‹ Reference alternative (not in catalog)

STM32F103RET6 Maximum Ratings & Electrical Characteristics

Core ARM Cortex-M3
Core Size 32-bit
Maximum Clock Frequency 72 MHz
Flash Memory 512 KB
SRAM 64 KB
Supply Voltage Range 2.0 V to 3.6 V
Operating Temperature -40C to +85C
Package 64-LQFP
Number of I/O 51 GPIO
ADC Resolution 12-bit, 3 units
Timers 4 x 16-bit general purpose + 2 advanced PWM timers
Communication Interfaces USART, SPI, I2C, USB 2.0 full-speed, CAN 2.0B
Debug Interfaces JTAG, SWD
Mounting Type Surface Mount
Product Series STM32F1 (high-density performance line)

STM32F103RET6 Pin Configuration

QFP-64 Package Pinout Diagram QFP-64 10x10mm, P0.5mm, JEDEC MS-026. 1 16 QFP-64
Pin 1 VBAT β€” Battery backup supply for RTC and backup registers
Pin 2 PC13 β€” GPIO port C pin 13 / TAMPER-RTC
Pin 3 PC14 β€” GPIO port C pin 14 / OSC32_IN
Pin 4 PC15 β€” GPIO port C pin 15 / OSC32_OUT
Pin 5 VDD_3 β€” Digital power supply 3
Pin 6 VSS_3 β€” Digital ground 3
Pin 7 NRST β€” System reset (active low)
Pin 8 PC0 β€” GPIO port C pin 0 / ADC12_IN10
Pin 9 PC1 β€” GPIO port C pin 1 / ADC12_IN11
Pin 10 PC2 β€” GPIO port C pin 2 / ADC12_IN12
Pin 11 PC3 β€” GPIO port C pin 3 / ADC12_IN13
Pin 12 VDDA β€” Analog power supply
Pin 13 VSSA β€” Analog ground
Pin 14 PA0 β€” GPIO port A pin 0 / ADC123_IN0 / WKUP
Pin 15 PA1 β€” GPIO port A pin 1 / ADC123_IN1
Pin 16 PA2 β€” GPIO port A pin 2 / ADC123_IN2 / USART2_TX
Pin 17 PA3 β€” GPIO port A pin 3 / ADC123_IN3 / USART2_RX
Pin 18 VDD_4 β€” Digital power supply 4
Pin 19 PA4 β€” GPIO port A pin 4 / ADC12_IN4 / SPI1_NSS / DAC_OUT1
Pin 20 PA5 β€” GPIO port A pin 5 / ADC12_IN5 / SPI1_SCK / DAC_OUT2
Pin 21 PA6 β€” GPIO port A pin 6 / ADC12_IN6 / SPI1_MISO
Pin 22 PA7 β€” GPIO port A pin 7 / ADC12_IN7 / SPI1_MOSI
Pin 23 PC4 β€” GPIO port C pin 4 / ADC12_IN14
Pin 24 PC5 β€” GPIO port C pin 5 / ADC12_IN15
Pin 25 PB0 β€” GPIO port B pin 0 / ADC12_IN8
Pin 26 PB1 β€” GPIO port B pin 1 / ADC12_IN9
Pin 27 PB2 β€” GPIO port B pin 2 / BOOT1
Pin 28 PB10 β€” GPIO port B pin 10 / I2C2_SCL / USART3_TX
Pin 29 PB11 β€” GPIO port B pin 11 / I2C2_SDA / USART3_RX
Pin 30 VSS_1 β€” Digital ground 1
Pin 31 VDD_1 β€” Digital power supply 1
Pin 32 PB12 β€” GPIO port B pin 12 / SPI2_NSS / I2C2_SMBA / TIM1_BKIN
Pin 33 PB13 β€” GPIO port B pin 13 / SPI2_SCK / TIM1_CH1N
Pin 34 PB14 β€” GPIO port B pin 14 / SPI2_MISO / TIM1_CH2N
Pin 35 PB15 β€” GPIO port B pin 15 / SPI2_MOSI / TIM1_CH3N
Pin 36 PC6 β€” GPIO port C pin 6 / TIM8_CH1
Pin 37 PC7 β€” GPIO port C pin 7 / TIM8_CH2
Pin 38 PC8 β€” GPIO port C pin 8 / TIM8_CH3
Pin 39 PC9 β€” GPIO port C pin 9 / TIM8_CH4
Pin 40 PA8 β€” GPIO port A pin 8 / USART1_CK / TIM1_CH1 / MCO
Pin 41 PA9 β€” GPIO port A pin 9 / USART1_TX / TIM1_CH2
Pin 42 PA10 β€” GPIO port A pin 10 / USART1_RX / TIM1_CH3
Pin 43 PA11 β€” GPIO port A pin 11 / USART1_CTS / TIM1_CH4 / USB_DM / CAN_RX
Pin 44 PA12 β€” GPIO port A pin 12 / USART1_RTS / USB_DP / CAN_TX
Pin 45 PA13 β€” GPIO port A pin 13 / JTMS / SWDIO
Pin 46 VSS_2 β€” Digital ground 2
Pin 47 VDD_2 β€” Digital power supply 2
Pin 48 PA14 β€” GPIO port A pin 14 / JTCK / SWCLK
Pin 49 PA15 β€” GPIO port A pin 15 / JTDI / SPI1_NSS / TIM2_CH1
Pin 50 PC10 β€” GPIO port C pin 10 / UART4_TX / SDIO_D2
Pin 51 PC11 β€” GPIO port C pin 11 / UART4_RX / SDIO_D3
Pin 52 PC12 β€” GPIO port C pin 12 / UART5_TX / SDIO_CK
Pin 53 PD2 β€” GPIO port D pin 2 / UART5_RX / SDIO_CMD
Pin 54 PB3 β€” GPIO port B pin 3 / JTDO / SPI1_SCK / TIM2_CH2
Pin 55 PB4 β€” GPIO port B pin 4 / NJTRST / SPI1_MISO / TIM3_CH1
Pin 56 PB5 β€” GPIO port B pin 5 / SPI1_MOSI / TIM3_CH2 / I2C1_SMBA
Pin 57 PB6 β€” GPIO port B pin 6 / I2C1_SCL / TIM4_CH1 / USART1_TX
Pin 58 PB7 β€” GPIO port B pin 7 / I2C1_SDA / TIM4_CH2 / USART1_RX
Pin 59 BOOT0 β€” Boot mode selection pin
Pin 60 PB8 β€” GPIO port B pin 8 / TIM4_CH3 / I2C1_SCL / CAN_RX
Pin 61 PB9 β€” GPIO port B pin 9 / TIM4_CH4 / I2C1_SDA / CAN_TX
Pin 62 VSS_5 β€” Digital ground 5
Pin 63 VDD_5 β€” Digital power supply 5
Pin 64 PH0/Osc_IN β€” External high-speed oscillator input (HSE)

Typical Applications

STM32F103RET6 is suitable for 6 applications: Industrial Motor Control, PLCs and Industrial Automation, Medical and Portable Diagnostic Devices, USB Devices and Consumer Electronics, Communication Gateways and CAN Nodes, Smart Sensors and IoT Edge Nodes.

🏭

Industrial Motor Control

The STM32F103RET6 fits motor drives and inverters because its two advanced-control timers (TIM1/TIM8) generate complementary PWM outputs with programmable dead-time insertion for three-phase MOSFET or IGBT bridges, while the 72 MHz Cortex-M3 core executes field-oriented control loops with ample headroom. The three 12-bit ADCs support simultaneous phase-current sampling, and the CAN 2.0B interface links the drive into industrial fieldbus networks. Placed as the main controller with a gate-driver companion IC, it delivers deterministic PWM timing without a separate FPGA. The trade-off is that sensorless algorithms needing heavy math may benefit from newer Cortex-M4 parts with DSP instructions, but for standard PMSM/BLDC FOC up to moderate speeds the F103 high-density line remains production-proven and second-sourceable.

βš™οΈ

PLCs and Industrial Automation

In programmable logic controllers and automation I/O modules, the STM32F103RET6 provides the balanced combination of 512 KB Flash for protocol stacks (Modbus, CANopen over its CAN 2.0B interface), 64 KB SRAM for data buffering, and 51 GPIO pins for digital input/output banks. The -40C to +85C operating range meets industrial cabinet requirements, and the 2.0V-3.6V supply tolerates wide regulator drift. Multiple USARTs isolate operator panels from fieldbus communication on one chip. Its deterministic NVIC interrupt latency keeps scan-cycle jitter low for time-critical I/O handling. When the application later needs more memory or faster math, the identical footprint allows migration within the STM32F1 family without PCB respin - a key reason this family persists in industrial designs in 2026.

πŸ’Š

Medical and Portable Diagnostic Devices

Portable diagnostic products such as blood glucose meters and handheld analyzers use the STM32F103RET6 as the main controller managing the user interface and sensor data acquisition, per distributor application descriptions (Amcore). The three 12-bit ADCs digitize sensor front-ends with 1 LSB-class resolution adequate for electrochemical and optical measurements, while the low 2.0V supply floor supports battery-powered designs with series LDO regulation. The USB full-speed device interface enables data upload to PCs and charging-side communication. SRAM of 64 KB comfortably hosts a graphical UI stack with fonts. For medical designs, the part's long STMicroelectronics lifecycle and enormous validation history simplify regulatory documentation, though designers must filter VDDA carefully to protect ADC accuracy against pump and display noise.

πŸ”§

USB Devices and Consumer Electronics

The STM32F103RET6 integrates a USB 2.0 full-speed device controller, making it a classic choice for HID devices, custom USB instruments, and consumer peripherals. The 512 KB Flash hosts the USB stack plus application firmware and DFU bootloader with room to spare, while 72 MHz execution keeps control-loop and UI tasks responsive during USB transfers. Note that USB operation requires VDD of 2.7V-3.6V per the STMicroelectronics datasheet, and the 48 MHz USB clock is derived from the PLL, so the HSE crystal should be 8 MHz for standard crystal configurations. Widespread community tooling (ST-Link, OpenOCD, Arduino core) shortens development. For new USB-C PD designs, evaluate STM32F4 or U5 series instead, but for classic full-speed peripherals the F103 line remains cost-effective.

🌐

Communication Gateways and CAN Nodes

Industrial gateways bridging CAN to RS-485 or UART leverage the STM32F103RET6's simultaneous CAN 2.0B and multiple USART peripherals. The 512 KB Flash accommodates dual protocol stacks plus logging, and 64 KB SRAM buffers message bursts between networks with different timing characteristics. The 72 MHz Cortex-M3 handles store-and-forward translation with deterministic latency via the NVIC. Distributor data explicitly lists the part in the Motor Control and communication MCU categories, reflecting its gateway heritage. Designers should add a proper CAN transceiver and common-mode choke at the physical layer, and watch CAN-FD requirements - the F103 supports only classical CAN 2.0B, so gateways needing CAN-FD must move to STM32G4-class parts, which is the main limitation here.

🧩

Smart Sensors and IoT Edge Nodes

The STM32F103RET6 serves smart sensors and edge nodes that need more memory and I/O than small-footprint MCUs provide: 512 KB Flash hosts a TCP/MQTT stack and OTA bootloader, while the 12-bit ADCs and timers read analog sensors and drive local actuators. The 2.0V-3.6V supply range pairs with single-cell Li-ion regulation, and the industrial temperature rating suits outdoor enclosures. Connectivity is added via SPI/I2C/UART radios, since the F103 has no integrated RF. Power consumption is moderate rather than ultra-low - battery-only multi-year designs should compare STM32L4 parts - but for mains-powered or frequently-charged edge nodes the F103RET6 offers an unmatched code ecosystem, hardware debugging via SWD, and multiple qualified second sources that de-risk long-term supply.

Recommended Products Summary

STM32F103VET6 STMicroelectronics Used in: Industrial Motor Control IR2104 Half-bridge gate driver for the inverter stage Used in: Industrial Motor Control STM32F107RCT6 STMicroelectronics Used in: PLCs and Industrial Automation SN65HVD230 CAN transceiver companion for fieldbus ports Used in: PLCs and Industrial Automation STM32L476VGT6 STMicroelectronics Used in: Medical and Portable Diagnostic Devices ADS1110 16-bit delta-sigma ADC front-end for precision sensor channels Used in: Medical and Portable Diagnostic Devices STM32F401RDT6 STMicroelectronics Used in: USB Devices and Consumer Electronics USBLC6-2SC6 ESD protection for the USB port Used in: USB Devices and Consumer Electronics TJA1050 High-speed CAN transceiver Used in: Communication Gateways and CAN Nodes STM32F412VET6 STMicroelectronics Used in: Communication Gateways and CAN Nodes STM32L431RCT6 STMicroelectronics Used in: Smart Sensors and IoT Edge Nodes ESP8266 Wi-Fi connectivity module over UART Used in: Smart Sensors and IoT Edge Nodes
What are the key specifications of STM32F103RET6?
The STM32F103RET6 is a 32-bit ARM Cortex-M3 microcontroller from STMicroelectronics running at up to 72 MHz with 512 KB Flash and 64 KB SRAM, in a 64-pin LQFP package. It integrates three 12-bit ADCs, four 16-bit general-purpose timers, two advanced PWM timers, and USART, SPI, I2C, USB, and CAN interfaces, operating from 2.0V to 3.6V over -40C to +85C. According to the STMicroelectronics datasheet, it belongs to the high-density STM32F1 performance line with 51 GPIO pins.
What is the maximum clock frequency of STM32F103RET6?
The STM32F103RET6 runs its ARM Cortex-M3 core at up to 72 MHz. The core uses a 3-stage pipeline and achieves 1.25 DMIPS/MHz, so peak throughput is approximately 90 DMIPS at full speed. According to the STMicroelectronics STM32F103RE datasheet, the 72 MHz clock can be generated from the internal 8 MHz HSI RC oscillator or an external 4-16 MHz crystal (HSE) through the PLL, giving designers flexibility between cost and clock accuracy.
How much Flash and SRAM does STM32F103RET6 have?
The STM32F103RET6 integrates 512 KB of Flash memory and 64 KB of SRAM. According to STMicroelectronics documentation, the Flash is organized in 128-bit wide memory banks with a prefetch buffer, allowing zero-wait-state execution at lower frequencies and fast code fetch at 72 MHz. Compared with the STM32F103RBT6 (128 KB Flash) or STM32F103RCT6 (256 KB Flash), the RET6 offers the largest memory in the same 64-LQFP footprint, which matters for firmware with USB stacks, RTOS, or OTA update capability.
What is the difference between STM32F103RET6 and STM32F103RBT6?
The main difference is Flash memory: STM32F103RET6 has 512 KB while STM32F103RBT6 has 128 KB; both share the same 64-LQFP package, pinout, 72 MHz Cortex-M3 core, and 64 KB SRAM (per the STMicroelectronics datasheet family table). They are pin-to-pin drop-in compatible, so a board designed for the RBT6 can accept the RET6 for larger firmware. If your application fits within 128 KB, the RBT6 costs less; choose the RET6 for USB device stacks, RTOS platforms, or future firmware expansion.
What is the best drop-in replacement for STM32F103RET6?
Pin-to-pin second sources in the same 64-LQFP package include the GigaDevice GD32F103RET6 and Geehy APM32F103RET6, both documented as register- and peripheral-compatible replacements for STM32F103 during the 2020-2022 shortage (per web cross-reference sources such as fumaxtech.com and htelec.com). The GD32F103 runs up to 108 MHz (vs 72 MHz) with faster Flash access, while remaining footprint-identical. STMicroelectronics' own STM32F103RBT6 and STM32F103RCT6 are also drop-in options with smaller Flash. Always validate USB and ADC tolerance limits on your specific board before qualifying a second source.
What is the best GigaDevice equivalent for STM32F103RET6?
The GigaDevice GD32F103RET6 is the widely accepted Chinese equivalent for STM32F103RET6: it is pin-to-pin compatible in LQFP-64 and register-level compatible, so most STM32F1 firmware and toolchains work with minimal changes, according to multiple migration guides (jlinks.net, fumaxtech.com). Key differences: the GD32F103 clocks up to 108 MHz (50% faster) and uses zero-wait-state Flash access, but its ADC input range and USB tolerance characteristics differ slightly. For new designs needing second sourcing, GD32F103RET6 is the most mature cross-brand option.
Where to buy STM32F103RET6 and what is its price?
The STM32F103RET6 is available from authorized distributors such as DigiKey, which lists it under ARM Cortex-M3 STM32F1 Microcontroller ICs (digikey.com, part 1852094), plus secondary channels like Heisener, Ampheo, and Amcore, where stock around 15,000 pieces has been reported. Exact unit pricing varies by volume and channel; per third-party market commentary, STM32F103 parts have carried 9-12 week lead times and elevated prices since the 2021-2023 shortage. Contact XAIPART for a volume quotation with current pricing as of 2026-09-06.
Is STM32F103RET6 in stock and what is its lead time?
Availability is mixed across channels as of 2026-09-06: authorized distributor stock on DigiKey shows buy-now, ship-today status, while secondary marketplaces such as Heisener report roughly 15,480 pieces in stock. However, industry sources note STM32F103 family lead times of 9-12 weeks for direct-from-ST orders in 2026. For production planning, secure authorized stock first, then qualify a pin-compatible second source such as GD32F103RET6 or APM32F103RET6 to hedge against supply interruptions.
Where can I download the STM32F103RET6 datasheet PDF?
The official STM32F103RET6 datasheet PDF is published by STMicroelectronics at st.com under document family STM32F103RE (link: https://www.st.com/resource/en/datasheet/stm32f103re.pdf). The datasheet covers the 256-512 KB high-density devices including the RET6, with full electrical characteristics, pin definitions for the 64-LQFP package, and peripheral descriptions. Supplementary documents include the STM32F10x reference manual (RM0008) and the ARM Cortex-M3 technical reference manual, all free downloads from st.com.
Where can I find the STM32F103RET6 pinout for LQFP-64?
The complete STM32F103RET6 pinout is in the pinouts and pin description table of the official STMicroelectronics datasheet (STM32F103RE family). The 64-LQFP package provides 51 GPIO pins across ports A, B, C, and D, plus power pins (VDD/VSS pairs, VDDA/VSSA, VBAT), NRST, and BOOT0. Pin 1 is VBAT, pin 7 is NRST, and pin 59 is BOOT0; PA13/PA14 double as SWDIO/SWCLK for debugging. Always verify against the datasheet table for your board revision, as alternate-function mappings depend on which peripherals are enabled.
STM32F103RET6 vs STM32F103VET6 - which should I choose?
Both are 512 KB Flash, 64 KB SRAM, 72 MHz Cortex-M3 STM32F1 high-density MCUs, but they differ in package: the RET6 comes in 64-LQFP with 51 GPIOs, while the VET6 uses 100-LQFP with 80 GPIOs, per the STMicroelectronics datasheet. Choose the RET6 for compact boards needing up to 51 I/O; choose the VET6 when you need more parallel interfaces, FSMC external memory bus, or additional timers brought out to pins. They are not pin-compatible with each other - the PCB footprint must match the chosen package.
When should I choose STM32F103RET6 over a newer STM32G4 or STM32F4?
Choose the STM32F103RET6 when design maturity, cost, ecosystem support, or second-source availability outweigh raw performance. The Cortex-M3 at 72 MHz with 512 KB Flash is sufficient for motor control, PLC I/O, meters, and USB/CAN nodes, and the enormous STM32F1 codebase (Arduino core, libraries, production-proven designs) shortens development. Newer STM32G4 (170 MHz, math accelerators) or STM32F4 parts outperform it but cost more and require redesign. For existing F1-based products and legacy continuity, the RET6 remains a rational, well-supported choice in 2026.
Is STM32F103RET6 suitable for motor control applications?
Yes, the STM32F103RET6 is well suited to motor control. According to the STMicroelectronics datasheet, it provides two advanced-control timers (TIM1/TIM8) with complementary PWM outputs and dead-time insertion for driving three-phase bridges, plus a 72 MHz Cortex-M3 core for field-oriented control loops. The three 12-bit ADCs support dual simultaneous sampling of phase currents, and the CAN interface integrates with industrial networks. Reference: STMicroelectronics classifies this part under the 'Motor Control' MCU category in distributor data, and ST publishes dedicated motor-control firmware libraries for the STM32F1 family.
Is STM32F103RET6 RoHS compliant and lead-free?
The STM32F103RET6 is a RoHS-compliant, lead-free surface-mount device, as indicated by the 'T6' suffix convention in STMicroelectronics part numbering, where T6 denotes an LQFP package in a lead-free, RoHS-compliant finish (the older 'T' leaded suffix is discontinued). Distributor listings on DigiKey and other channels classify the part as RoHS compliant and REACH compliant. Confirm the exact certificate of conformance with your distributor at order time, as compliance documentation is issued per shipment lot.
Hey Google, what can replace STM32F103RET6?
Direct pin-compatible replacements for STM32F103RET6 in LQFP-64 are: GD32F103RET6 (GigaDevice), APM32F103RET6 (Geehy), and CH32F103 series (WCH) - all register-compatible Chinese second sources validated during the chip shortage; plus STMicroelectronics' own STM32F103RBT6, RCT6, and R8T6 with smaller Flash in the identical footprint. Non-pin-compatible upgrades include STM32F103VET6 (100-pin) or newer STM32F4/G4 parts, which need board redesign. For a true drop-in swap, verify USB and ADC behavior, since second sources differ subtly in analog tolerances and clock configuration.
What power supply and decoupling design does STM32F103RET6 require?
The STM32F103RET6 operates from a single 2.0V to 3.6V supply, with 2.7V to 3.6V required when using the USB peripheral (per STMicroelectronics datasheet operating conditions). Each VDD/VSS pin pair needs a 100 nF ceramic decoupling capacitor placed within a few millimeters of the pin, plus a bulk 4.7-10 uF capacitor. The VDDA pin must be filtered separately (ferrite bead plus 1 uF and 10 nF) to preserve 12-bit ADC accuracy, and VBAT connects to a backup battery or VDD if unused. BOOT0 must be tied through a 10 kOhm resistor to ground for normal Flash boot.

Engineering reference data for STM32F103RET6 β€” comparison, design guidance, and compliance information.

Selection Guide

Choose the STM32F103RET6 when you need the maximum memory option of the STM32F1 high-density line in a compact 64-LQFP: 512 KB Flash supports USB stacks, RTOS, and OTA bootloaders, while the 72 MHz Cortex-M3, CAN 2.0B, and three 12-bit ADCs cover motor drives, PLC I/O, gateways, and portable medical devices. If 256 KB or 128 KB suffices, the pin-compatible STM32F103RCT6 or RBT6 cost less with identical PCB layout. For supply-chain resilience, qualify GigaDevice GD32F103RET6 or Geehy APM32F103RET6 - both are LQFP-64 pin-compatible, register-level alternatives, with the GD32 adding a 108 MHz speed boost but requiring USB/ADC revalidation. Choose newer STM32G4/F4/L4 parts when you need CAN-FD, DSP math, ultra-low power, or >100 MHz performance and can afford a board redesign; for everything else in the F1 ecosystem, the RET6 remains the rational 2026 default.

Comparison with Alternatives

Parameter This Product STM32F103RCT6 STM32F103RBT6 GD32F103RET6 APM32F103RET6
Package 64-LQFP 64-LQFP - same 64-LQFP - same 64-LQFP - same 64-LQFP - same
Brand STMicroelectronics STMicroelectronics STMicroelectronics GigaDevice Geehy Semiconductor
Core / Frequency ARM Cortex-M3 @ 72 MHz ARM Cortex-M3 @ 72 MHz ARM Cortex-M3 @ 72 MHz ARM Cortex-M3 @ up to 108 MHz ARM Cortex-M3 @ 72 MHz
Flash Memory 512 KB 256 KB 128 KB 512 KB 512 KB
SRAM 64 KB 48 KB 20 KB 64 KB 64 KB
GPIO Count 51 51 51 51 51
USB / CAN USB 2.0 FS + CAN 2.0B USB 2.0 FS + CAN 2.0B USB 2.0 FS + CAN 2.0B USB 2.0 FS + CAN 2.0B USB 2.0 FS + CAN 2.0B
Drop-in Status Reference part Pin-to-pin, less Flash/SRAM Pin-to-pin, less Flash/SRAM Pin-to-pin, register-compatible Pin-to-pin, register-compatible

Key Differentiators

  • Largest Flash in the 64-LQFP F103 footprint (vs STM32F103RBT6)
  • Proven cross-brand second sourcing (vs GD32F103RET6)
  • Honest limitation: no CAN-FD and moderate performance (vs STM32G474VET6)

Design Notes

Provide separate decoupling for every VDD/VSS pair: 100 nF X7R ceramic per pin pair within 3 mm of the package, plus one 4.7-10 uF bulk capacitor. The VDDA pin must be filtered from the digital rail with a ferrite bead plus 1 uF and 10 nF capacitors, because ADC accuracy (12-bit, 1 LSB = 0.8 mV at 3.3V) degrades sharply with digital supply noise. If USB is used, the 2.7V-3.6V supply requirement and the 48 MHz PLL-derived USB clock must both be satisfied - use an 8 MHz HSE crystal for the standard USB clock configuration.

BOOT0 determines the boot source at reset: low boots user Flash, high (with BOOT1 low) boots the system bootloader for UART programming. Tie BOOT0 through a 10 kOhm resistor to ground and expose it on a jumper header for in-field reprogramming. PA13/PA14 (SWDIO/SWCLK) should have dedicated debug header pads - using them as GPIO after lockout will brick debug access. Second-source MCUs (GD32F103/APM32F103) boot and program like the F103, but revalidate flash wait states and USB tolerance before production release.

Keep the HSE crystal (4-16 MHz) traces under 10 mm with ground guard rings, and load capacitors matched to the crystal spec (typically 2x 18-22 pF for an 8 MHz crystal, verify with crystal CL). PWM outputs from TIM1/TIM8 used for motor control should route away from ADC input traces to prevent dead-time glitches coupling into current-sense channels. Estimate: a typical F103 design running at 72 MHz with 51 toggling GPIOs draws tens of mA; ensure the 3.3V regulator is rated at least 150 mA with margin for peripheral loads.

Compliance Information

RoHS
Compliant
REACH
Compliant
AEC-Q100
Not Applicable
Lead Free
Yes
Halogen Free
Unknown
Conflict Minerals
Unknown

T6 suffix denotes lead-free, RoHS-compliant LQFP package per STMicroelectronics naming convention and distributor listings. Halogen-free and conflict-minerals status not stated in provided data.

Data verified on: 2026-09-06 β€” data verified and curated by XAIPART's component engineering team

Related Searches

STM32F103RET6 datasheet PDF STM32F103RET6 STMicroelectronics buy STM32F103RET6 72MHz 512KB Flash microcontroller STM32F103RET6 LQFP-64 pinout STM32F103RET6 motor control application STM32F103RET6 vs STM32F103RBT6 difference STM32F103RET6 drop-in replacement GD32 STM32F103RET6 price stock lead time STM32F103RET6 equivalent pin compatible GD32F103RET6 replace STM32F103RET6 compatibility STM32F103RET6 USB CAN microcontroller 64 pin best second source for STM32F103RET6 2026

Related Components & Terms

STMicroelectronics STM32F103RET6 STM32F103RCT6 STM32F103RBT6 GD32F103RET6 GigaDevice ARM Cortex-M3 STM32F1 series microcontroller MCU embedded processor LQFP-64 QFP package family surface mount RoHS REACH SWD JTAG NVIC CAN 2.0B USB 2.0 full-speed 12-bit ADC motor control PLC
Quick Quote RFQ
Fill in complete details β€” our sales team will respond within 24 hours
Part Number Manufacturer Package QTY Target Price Extended
Total: $0.00 USD
βœ“
Quote submitted!

We will respond to your email within 24 hours

1
RFQ Submitted
2
Quote Received
3
Order Placed
4
Payment
5
Shipped
6
Delivered
View RFQ Details