STM32F103RET6 - 72MHz Cortex-M3, 512KB Flash MCU | STMicroelectronics
MPN: STM32F103RET6 β Active| 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 |
STM32F103RET6 Overview
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.
Quick Comparison Tool β Select alternative parts for side-by-side comparison:
STM32F103RCT6
β Drop-Inβ In Stock
$3.35 / Unit
View Datasheet βSTM32F103RBT6
β Drop-Inβ In Stock
$3.32 / Unit
View Datasheet βSTM32F103R8T6
β Drop-Inβ In Stock
$2.9 / Unit
View Datasheet βGD32F103RET6
β Drop-Inπ Reference alternative (not in catalog)
APM32F103RET6
β Drop-Inπ Reference alternative (not in catalog)
CH32F103RBT6
β Drop-Inπ Reference alternative (not in catalog)
MM32F103RET6
β Drop-Inπ 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
| 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.
Recommended
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.
Recommended
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.
Recommended
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.
Recommended
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.
Recommended
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
Recommended Products Summary
Engineering reference data for STM32F103RET6 β comparison, design guidance, and compliance information.
Selection Guide
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
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.