STMicroelectronics

STM32F103RET6 - 512KB Flash ARM Cortex-M3 MCU | STMicroelectronics

MPN: STM32F103RET6 βœ“ Active
In Stock (99,999) Ships in 1-3 business days
2.0 V to 3.6 V Vdss LQFP-64 Package 72 MHz Speed 512 KB Memory
$8.5 USD / Unit
MOQ: 1 |
Volume Pricing
Qty Unit Price Extended
1 $8.5 $8.50
10 $7.8 $78.00
100 $6.9 $690.00
500 $6.2 $3,100.00
1,000 $5.6 $5,600.00
ℹ️ All prices are in USD

Drop-in alternatives for STM32F103RET6 β€” same package, pin-to-pin compatible. Different-package parts requiring PCB rework are excluded.

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

STM32F103RCT6

βœ… Drop-In
πŸ“¦ LQFP-64
256 KB Flash, 48 KB SRAM, same pinout

πŸ“‹ Reference alternative (not in catalog)

STM32F103RBT6

βœ… Drop-In
πŸ“¦ LQFP-64
128 KB Flash, 20 KB SRAM, same pinout

πŸ“‹ Reference alternative (not in catalog)

STM32F105RBT6

βœ… Drop-In
πŸ“¦ LQFP-64
128 KB Flash, 64 KB SRAM, USB OTG, Ethernet MAC, same pinout

πŸ“‹ Reference alternative (not in catalog)

STM32F103RET6 Maximum Ratings & Electrical Characteristics

Core ARM Cortex-M3
Max Clock Frequency 72 MHz
Flash Memory 512 KB
SRAM 64 KB
Supply Voltage 2.0 V to 3.6 V
Package LQFP-64
GPIO Pins 51
ADC 3x 12-bit
Timers 4x 16-bit general-purpose, 2x advanced-control
Communication Interfaces USART, SPI, I2C, USB 2.0 FS, CAN
Operating Temperature -40Β°C to +85Β°C
DMA Channels 12
Debug Interface JTAG, SWD
RoHS Status Compliant
Mounting Type Surface Mount

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 for RTC
Pin 2 PC13 β€” GPIO or RTC output
Pin 3 PC14 β€” GPIO or OSC32_IN
Pin 4 PC15 β€” GPIO or OSC32_OUT
Pin 5 PD0 β€” GPIO or OSC_IN
Pin 6 PD1 β€” GPIO or OSC_OUT
Pin 7 NRST β€” Reset (active low)
Pin 8 VSSA β€” Analog ground
Pin 9 VDDA β€” Analog power supply
Pin 10 PA0 β€” GPIO/ADC12_IN0
Pin 11 PA1 β€” GPIO/ADC12_IN1
Pin 12 PA2 β€” GPIO/USART2_TX
Pin 13 PA3 β€” GPIO/USART2_RX
Pin 14 PA4 β€” GPIO/SPI1_NSS
Pin 15 PA5 β€” GPIO/SPI1_SCK
Pin 16 PA6 β€” GPIO/SPI1_MISO
Pin 17 PA7 β€” GPIO/SPI1_MOSI
Pin 18 PB0 β€” GPIO/ADC12_IN8
Pin 19 PB1 β€” GPIO/ADC12_IN9
Pin 20 PB2 β€” GPIO/BOOT1
Pin 21 PB10 β€” GPIO/I2C2_SCL
Pin 22 PB11 β€” GPIO/I2C2_SDA
Pin 23 PB12 β€” GPIO/SPI2_NSS
Pin 24 PB13 β€” GPIO/SPI2_SCK
Pin 25 PB14 β€” GPIO/SPI2_MISO
Pin 26 PB15 β€” GPIO/SPI2_MOSI
Pin 27 PD8 β€” GPIO/FSMC_D13
Pin 28 PD9 β€” GPIO/FSMC_D14
Pin 29 PD10 β€” GPIO/FSMC_D15
Pin 30 PD11 β€” GPIO/FSMC_A16
Pin 31 PD12 β€” GPIO/FSMC_A17
Pin 32 PD13 β€” GPIO/FSMC_A18
Pin 33 PD14 β€” GPIO/FSMC_D0
Pin 34 PD15 β€” GPIO/FSMC_D1
Pin 35 PD16 β€” GPIO/FSMC_D2
Pin 36 PD17 β€” GPIO/FSMC_D3
Pin 37 VSS β€” Ground
Pin 38 VDD β€” Power supply
Pin 39 PE0 β€” GPIO/FSMC_NBL0
Pin 40 PE1 β€” GPIO/FSMC_NBL1
Pin 41 PE2 β€” GPIO/FSMC_A23
Pin 42 PE3 β€” GPIO/FSMC_A19
Pin 43 PE4 β€” GPIO/FSMC_A20
Pin 44 PE5 β€” GPIO/FSMC_A21
Pin 45 PE6 β€” GPIO/FSMC_A22
Pin 46 PE7 β€” GPIO/FSMC_D4
Pin 47 PE8 β€” GPIO/FSMC_D5
Pin 48 PE9 β€” GPIO/FSMC_D6
Pin 49 PE10 β€” GPIO/FSMC_D7
Pin 50 PE11 β€” GPIO/FSMC_D8
Pin 51 PE12 β€” GPIO/FSMC_D9
Pin 52 PE13 β€” GPIO/FSMC_D10
Pin 53 PE14 β€” GPIO/FSMC_D11
Pin 54 PE15 β€” GPIO/FSMC_D12
Pin 55 PB3 β€” GPIO/JTDO
Pin 56 PB4 β€” GPIO/JNTRST
Pin 57 PB5 β€” GPIO/I2C1_SMBA
Pin 58 PB6 β€” GPIO/I2C1_SCL
Pin 59 PB7 β€” GPIO/I2C1_SDA
Pin 60 BOOT0 β€” Boot mode select
Pin 61 PB8 β€” GPIO/CAN_RX
Pin 62 PB9 β€” GPIO/CAN_TX
Pin 63 VSS β€” Ground
Pin 64 VDD β€” Power supply

Safe Operating Area (SOA) & Thermal Characteristics

Safe Operating Area Chart Default safe operating area chart for STM32F103RET6 Drain-to-Source Voltage (Vds) Drain Current (Id)

No official SOA curve available for this digital IC. Always operate within absolute maximum ratings specified in the datasheet. Ensure adequate cooling and derate as needed.

Typical Applications

STM32F103RET6 is suitable for 6 applications: Industrial Control Systems, Motor Drives, Medical Devices, Consumer Electronics, Automotive Electronics, IoT and Smart Home.

🏭

Industrial Control Systems

The STM32F103RET6 is ideal for industrial control systems due to its 72 MHz Cortex-M3 core, rich timer set, and multiple communication interfaces. In a PLC or industrial controller, the MCU manages digital and analog I/O, executes control algorithms, and communicates via CAN or Modbus. The advanced-control timers generate precise PWM signals for motor drives, while the 12-bit ADCs sample sensors with high resolution. The wide operating temperature range (-40Β°C to +85Β°C) ensures reliability in harsh environments. The 512 KB Flash allows storing complex control firmware and data logging. The CAN interface enables robust networking in factory automation. The MCU's deterministic interrupt handling ensures real-time response, critical for safety-critical control loops. Designers can leverage the STM32Cube firmware library to accelerate development. The LQFP-64 package provides enough GPIOs for interfacing with keypads, displays, and relays. Overall, the STM32F103RET6 offers a cost-effective solution for industrial automation, balancing performance, memory, and peripheral integration.

⚑

Motor Drives

The STM32F103RET6 excels in motor drive applications, particularly for BLDC and PMSM motors. Its advanced-control timers (TIM1 and TIM8) provide six-channel PWM with complementary outputs and dead-time insertion, essential for three-phase inverter control. The 12-bit ADCs can sample phase currents and DC bus voltage simultaneously, enabling field-oriented control (FOC). The 72 MHz core executes FOC algorithms efficiently, with a typical loop time under 50 Β΅s. The CAN interface allows communication with higher-level controllers in industrial drives. The 512 KB Flash stores motor control firmware, including sensorless algorithms and safety routines. The MCU's 64 KB SRAM supports data buffers for real-time monitoring. The LQFP-64 package offers enough pins for encoder interfaces and fault inputs. Designers can use ST's motor control SDK to speed up development. The wide temperature range and robust peripherals make it suitable for variable frequency drives (VFDs) and servo drives. Overall, the STM32F103RET6 provides a powerful and flexible platform for advanced motor control.

πŸ’Š

Medical Devices

The STM32F103RET6 is suitable for medical devices such as patient monitors, infusion pumps, and diagnostic equipment. Its 72 MHz Cortex-M3 core provides sufficient processing power for signal processing and user interface management. The 12-bit ADCs can acquire biosignals like ECG and SpO2 with adequate resolution. The multiple USART and I2C interfaces enable communication with sensors and displays. The 512 KB Flash allows storing calibration data and firmware updates. The device's low power consumption in sleep modes is beneficial for battery-powered portable medical devices. The wide operating temperature range ensures reliable operation in clinical environments. The MCU's real-time capabilities are critical for monitoring vital signs. The LQFP-64 package is compact, fitting into space-constrained designs. ST's comprehensive documentation and safety manuals support medical certification processes. The CAN interface can be used for networking in hospital settings. Overall, the STM32F103RET6 offers a reliable and feature-rich solution for medical electronics.

πŸ“±

Consumer Electronics

The STM32F103RET6 is widely used in consumer electronics such as smart home hubs, wearable devices, and gaming peripherals. Its USB 2.0 Full-Speed interface enables easy connectivity to PCs and chargers. The 72 MHz core handles user interfaces, sensor fusion, and communication protocols. The 512 KB Flash provides ample space for application code and assets. The multiple timers generate PWM for LED dimming and buzzer control. The I2C and SPI interfaces connect to displays, touch controllers, and memory. The low power modes extend battery life in portable devices. The LQFP-64 package is cost-effective for mass production. The device's rich peripheral set reduces external component count, lowering BOM cost. ST's ecosystem, including STM32CubeMX and HAL libraries, accelerates development. The CAN interface, though less common in consumer devices, can be used for smart home automation. Overall, the STM32F103RET6 is a versatile MCU for a wide range of consumer products.

πŸš—

Automotive Electronics

The STM32F103RET6 is used in automotive applications such as body control modules, dashboard clusters, and telematics. Its CAN interface is essential for in-vehicle networking. The 72 MHz core handles real-time control and communication. The 12-bit ADCs monitor battery voltage, temperature, and sensor inputs. The advanced timers generate PWM for lighting and motor control. The wide operating temperature range (-40Β°C to +85Β°C) meets automotive requirements. The 512 KB Flash stores complex firmware, including diagnostics and bootloaders. The device's robustness and long-term availability make it suitable for automotive production. The LQFP-64 package is widely used in automotive ECUs. ST provides AEC-Q100 qualified versions of this MCU for automotive applications. The CAN interface supports OBD-II diagnostics. The MCU's low power modes help reduce quiescent current in vehicles. Overall, the STM32F103RET6 is a reliable choice for non-safety-critical automotive electronics.

🧩

IoT and Smart Home

The STM32F103RET6 is a popular choice for IoT and smart home devices due to its balance of performance, memory, and connectivity. The 72 MHz core can run embedded protocols like MQTT and CoAP. The 512 KB Flash allows storing firmware and cloud credentials. The multiple USART and SPI interfaces connect to Wi-Fi, Bluetooth, and Zigbee modules. The 12-bit ADCs read environmental sensors. The low power modes enable battery-powered operation for years. The device's real-time capabilities are useful for local automation. The LQFP-64 package is suitable for compact PCB designs. ST's ecosystem, including STM32Cube and low-power libraries, simplifies development. The CAN interface can be used for industrial IoT gateways. The MCU's security features, such as a unique device ID, support secure cloud authentication. Overall, the STM32F103RET6 provides a solid foundation for smart home hubs, sensors, and actuators.

Recommended Products Summary

STM32F103RET6 STMicroelectronics Used in: Industrial Control Systems, Motor Drives, Medical Devices, Consumer Electronics, Automotive Electronics, IoT and Smart Home L6205 Motor driver Used in: Industrial Control Systems ISO1050 CAN transceiver Used in: Industrial Control Systems IR2104 Gate driver Used in: Motor Drives IRFP4468 Power MOSFET Used in: Motor Drives ADS1298 Biopotential ADC Used in: Medical Devices LM75 Temperature sensor Used in: Medical Devices ESP8266 Wi-Fi module Used in: Consumer Electronics SSD1306 OLED display Used in: Consumer Electronics TJA1050 CAN transceiver Used in: Automotive Electronics L9613 LIN transceiver Used in: Automotive Electronics ESP32 Wi-Fi/BLE module Used in: IoT and Smart Home DHT22 Humidity/temperature sensor Used in: IoT and Smart Home
What is the maximum clock frequency of STM32F103RET6?
The STM32F103RET6 operates at a maximum clock frequency of 72 MHz. According to the STMicroelectronics datasheet, the ARM Cortex-M3 core can run at up to 72 MHz, providing high performance for real-time applications.
How much Flash memory does STM32F103RET6 have?
The STM32F103RET6 has 512 KB of Flash memory. This is sufficient for complex firmware, including RTOS and application code, as specified in the ST datasheet.
What is the difference between STM32F103RET6 and STM32F103RCT6?
The STM32F103RET6 has 512 KB Flash and 64 KB SRAM, while the STM32F103RCT6 has 256 KB Flash and 48 KB SRAM. Both are in the LQFP-64 package and are pin-to-pin compatible, but the RET6 offers double the Flash and more SRAM, making it suitable for larger applications.
Can STM32F103RET6 be used for motor control?
Yes, the STM32F103RET6 is well-suited for motor control due to its advanced-control timers (TIM1 and TIM8) that generate PWM signals with dead-time insertion, and its 12-bit ADCs for current sensing. It can drive BLDC, PMSM, and AC induction motors.
What is the operating voltage range of STM32F103RET6?
The STM32F103RET6 operates from 2.0V to 3.6V. This wide range allows flexibility in power supply design, as stated in the ST datasheet.
Does STM32F103RET6 have a CAN interface?
Yes, the STM32F103RET6 includes a CAN 2.0B active interface. This makes it suitable for automotive and industrial networking applications.
What is the price of STM32F103RET6?
As of 2026-08-05, the price of STM32F103RET6 is approximately $8.50 for single-unit quantities, decreasing to $5.60 at 1000 units, based on distributor data from DigiKey and Mouser.
Where can I buy STM32F103RET6 online?
STM32F103RET6 is available from major distributors such as DigiKey, Mouser, and Octopart. As of 2026-08-05, it is in stock at these distributors, with lead times typically 1-2 weeks for larger quantities.
What is the lead time for STM32F103RET6?
The lead time for STM32F103RET6 is typically 1-2 weeks for standard quantities, but may vary depending on distributor stock levels. As of 2026-08-05, it is readily available from major distributors.
Is STM32F103RET6 in stock?
Yes, as of 2026-08-05, STM32F103RET6 is in stock at major distributors like DigiKey and Mouser, with immediate availability for small quantities.
What is the best drop-in replacement for STM32F103RET6?
The best drop-in replacement for STM32F103RET6 is the STM32F103RCT6, which shares the same LQFP-64 package and pinout, but has 256 KB Flash and 48 KB SRAM. For higher performance, the STM32F105RBT6 is also pin-compatible but with different memory sizes.
Can STM32F103RCT6 replace STM32F103RET6?
Yes, the STM32F103RCT6 can replace STM32F103RET6 in most designs as it is pin-to-pin compatible in the LQFP-64 package. However, the RCT6 has less Flash (256 KB vs 512 KB) and less SRAM (48 KB vs 64 KB), so firmware must fit within these limits.
Where can I download the STM32F103RET6 datasheet PDF?
The STM32F103RET6 datasheet PDF can be downloaded from the STMicroelectronics website at https://www.st.com/resource/en/datasheet/stm32f103re.pdf. It contains full specifications, pinout, and electrical characteristics.
Where can I find the STM32F103RET6 pinout?
The STM32F103RET6 pinout is detailed in the datasheet, specifically in the pin description section. The LQFP-64 package has 64 pins, with 51 GPIOs, power, ground, and dedicated function pins.
What development tools are compatible with STM32F103RET6?
The STM32F103RET6 is supported by STM32CubeIDE, Keil MDK-ARM, IAR EWARM, and GCC-based toolchains. It can be programmed via SWD or JTAG using ST-Link or J-Link debuggers.
Is STM32F103RET6 RoHS compliant?
Yes, the STM32F103RET6 is RoHS compliant, as indicated in the STMicroelectronics product page and datasheet.
What is the power consumption of STM32F103RET6?
The power consumption of STM32F103RET6 depends on the operating mode. In Run mode at 72 MHz, it typically draws around 50 mA. In Standby mode, it consumes as low as 2 Β΅A, as per the datasheet.
Does STM32F103RET6 support USB?
Yes, the STM32F103RET6 has a USB 2.0 Full-Speed device interface, supporting 12 Mbps data transfer. This makes it suitable for USB peripherals and HID devices.
What is the difference between STM32F103RET6 and STM32F105RBT6?
The STM32F103RET6 has 512 KB Flash and 64 KB SRAM, while the STM32F105RBT6 has 128 KB Flash and 64 KB SRAM. Both are in LQFP-64, but the F105 series adds USB OTG and Ethernet MAC, while the F103 has CAN and USB device only.
When should I choose STM32F103RET6 over STM32F103RCT6?
Choose STM32F103RET6 when you need more than 256 KB of Flash memory or more than 48 KB of SRAM. The RET6 offers 512 KB Flash and 64 KB SRAM, making it ideal for applications with large code bases or data buffers, such as RTOS-based systems or complex protocol stacks.

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

Selection Guide

Choose the STM32F103RET6 when you need the maximum Flash (512 KB) and SRAM (64 KB) in the STM32F103 series, making it ideal for complex applications like RTOS-based systems, protocol stacks, or data logging. If your application fits within 256 KB Flash and 48 KB SRAM, the STM32F103RCT6 is a cost-effective drop-in alternative. For smaller code sizes, the STM32F103RBT6 offers 128 KB Flash and 20 KB SRAM. If you require USB OTG or Ethernet, consider the STM32F105RBT6, but note its reduced Flash (128 KB). All alternatives share the same LQFP-64 package and pinout, allowing PCB reuse. For automotive applications, verify AEC-Q100 qualification of the specific variant. The STM32F103RET6 is the best choice for high-memory, high-performance embedded designs.

Comparison with Alternatives

Parameter This Product STM32F103RCT6 STM32F103RBT6 STM32F105RBT6
Package LQFP-64 LQFP-64 - same LQFP-64 - same LQFP-64 - same
Flash Memory 512 KB 256 KB 128 KB 128 KB
SRAM 64 KB 48 KB 20 KB 64 KB
Max Clock Frequency 72 MHz 72 MHz 72 MHz 72 MHz
USB Interface USB 2.0 FS Device USB 2.0 FS Device USB 2.0 FS Device USB 2.0 OTG FS
CAN Interface Yes (2.0B) Yes (2.0B) Yes (2.0B) Yes (2.0B)
Ethernet MAC No No No Yes
GPIO Pins 51 51 51 51

Key Differentiators

  • Larger Flash and SRAM (vs STM32F103RCT6)
  • USB OTG support (vs STM32F103RBT6)
  • Cost-effective memory size (vs STM32F105RBT6)

Design Notes

Decouple the VDD and VDDA pins with 100 nF ceramic capacitors placed as close as possible to the pins. Additionally, use a 4.7 Β΅F or larger bulk capacitor on the main VDD rail. For VDDA, a 1 Β΅F capacitor is recommended to filter analog noise. Ensure the VBAT pin is connected to a backup battery or tied to VDD if not used.

For the HSE crystal oscillator, place the crystal and load capacitors close to the OSC_IN and OSC_OUT pins, with a ground plane underneath to minimize parasitic capacitance. Use a 8 MHz crystal with 20 pF load capacitors for typical applications. Keep the PCB traces short and avoid routing high-speed signals near the oscillator.

Ensure the BOOT0 pin is properly configured for the desired boot mode. For normal operation, BOOT0 should be tied low through a 10 kΞ© resistor. During programming, BOOT0 can be pulled high to boot from system memory. Also, verify that the NRST pin has a 100 nF capacitor to ground for reliable reset operation.

Compliance Information

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

RoHS compliant per STMicroelectronics product page. AEC-Q100 qualification not specified for this standard variant; automotive-grade versions may be available.

Data verified on: 2026-08-05
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