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

- Shipping:

Inventory:9,025
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM32F103RET7 from STMicroelectronics is a high-density performance-line Arm® Cortex®-M3 microcontroller featuring 512 KB Flash, 64 KB SRAM, USB 2.0 full-speed interface, CAN 2.0B controller, and three 12-bit ADCs with 21 channels. It operates at up to 72 MHz, supports 2.0–3.6 V supply, and integrates dual 12-bit DACs, 11 timers (including motor-control PWM), and SDIO - deployed in industrial PLCs, motor drives, and USB-CAN gateway modules.
For engineers reviewing the STM32F103RET7 datasheet, STM32F103RET7 pinout, STM32F103RET7 application, or STM32F103RET7 equivalent, key selection criteria include Flash/SRAM size, USB+CAN co-integration, LQFP64 package compatibility, real-time interrupt latency, and peripheral concurrency (e.g., simultaneous ADC sampling + USB transfer + CAN messaging).
Technical Context
The STM32F103RET7 implements a tightly coupled Arm Cortex-M3 core with Harvard bus architecture, 3-stage pipeline, and hardware integer divider - enabling deterministic 72 MHz execution with 1.25 DMIPS/MHz. Its nested vectored interrupt controller (NVIC) supports 68 programmable interrupts with 16 priority levels and low-latency vector fetch.
Peripheral integration follows a multi-bus AHB/APB matrix: AHB connects Flash, SRAM, DMA, and FSMC; APB1 hosts low-speed peripherals (CAN, I²C, USART, timers); APB2 serves high-speed I/O (GPIO, ADC, SPI, TIM1). The flexible static memory controller (FSMC) supports NOR/PSRAM/NAND with configurable timing and 4 chip-select outputs.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core | Arm Cortex-M3, 72 MHz max - enables real-time control loops with sub-1 µs ISR response in optimized code. |
| Memory | 512 KB Flash + 64 KB SRAM - sufficient for complex protocol stacks (USB CDC + CANopen) plus application logic. |
| ADC | 3 × 12-bit, 1 µs conversion, 21 channels - supports synchronized sampling across multiple sensors in motor control. |
| Communication | 1 × USB 2.0 FS, 1 × CAN 2.0B, 5 × USART, 3 × SPI, 2 × I²C - enables dual-interface fieldbus gateways (e.g., CAN-to-USB bridge). |
| Timers | 11 timers including 4 × 16-bit general-purpose, 2 × motor-control PWM with dead-time insertion - meets IEC 60335 Class B timing safety for BLDC drives. |
| Supply | 2.0–3.6 V operation with POR/PDR/PVD - ensures robust startup and brown-out detection in industrial 3.3 V systems. |
| Package | LQFP64 (10 × 10 mm, 0.5 mm pitch) - compatible with standard PCB assembly processes and thermal pad reflow profiles. |
Pinout & Package
LQFP64 package: 10 × 10 mm body, 0.5 mm lead pitch, exposed thermal pad (EPAD), RoHS-compliant ECOPACK®.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD | Power supply | Main 2.0–3.6 V core/I/O supply; requires local 100 nF + 4.7 µF decoupling per VDD/VSS pair. |
| VSS | Ground reference | Digital ground return; must be connected to low-impedance plane, separate from analog ground until single-point star tie. |
| PA0–PA15 | General-purpose I/O | 51 total GPIOs; all support external interrupt vectors and most are 5 V-tolerant - simplifies level-shifting with legacy peripherals. |
| PA11/PA12 | USB D+/D− | Dedicated full-speed USB 2.0 differential pair; requires 33 Ω series resistors and 1.5 kΩ pull-up on D+ for device enumeration. |
| PB8/PB9 | CAN RX/TX | Direct connection to CAN transceiver; integrated CAN controller supports bit rates up to 1 Mbit/s with programmable sample point. |
| PC0–PC5 | ADC1_IN0–IN5 | Analog input channels for first 12-bit ADC; share pins with GPIO - enables mixed-signal monitoring without external mux. |
Key Features
| Feature | Design Value |
|---|---|
| Single-cycle multiplication | Enables efficient FIR filtering and PID coefficient updates within 1 µs - critical for closed-loop motor control at 20 kHz PWM frequency. |
| Flexible static memory controller (FSMC) | Supports external NOR flash or PSRAM up to 64 MB - allows firmware over-the-air (FOTA) storage and dynamic data buffering in HMI applications. |
| Temperature sensor | Integrated calibrated sensor with ±1.5°C accuracy (0–100°C) - eliminates external thermistor for MCU die temperature monitoring in thermal management systems. |
| Serial wire debug (SWD) | 2-pin debug interface (SWDIO/SWCLK) with trace capability - enables non-intrusive real-time variable watch and instruction trace without dedicated JTAG pins. |
| Low-power modes | Stop mode draws ≤2.5 µA (typ.) with RTC running - extends battery life in portable CAN diagnostic tools with wake-on-CAN event. |
Applications
| Industrial Motor Control | USB-CAN Protocol Gateway |
|---|---|
Use Scenario: Brushless DC motor drive with position feedback, current sensing, and speed regulation. IC Role / Device Role / Timing Role: Real-time execution of FOC algorithm, PWM generation with dead-time control, ADC-triggered current sampling, and CAN-based command reception. Use Value: Integrated motor-control timers and triple ADC enable synchronized current measurement across all three phases with <100 ns skew - meeting IEC 61800-5-2 functional safety timing constraints. |
Use Scenario: Field device connecting legacy CAN networks to PC-based configuration software via USB. IC Role / Device Role / Timing Role: Dual-role interface bridging CAN frames to USB CDC ACM class, handling packetization, flow control, and error recovery. Use Value: On-chip USB and CAN controllers eliminate external PHYs, reducing BOM cost by $1.20 and PCB area by 18 mm² versus discrete solution. |
| Programmable Logic Controller (PLC) I/O Module | Smart Energy Meter Communication Hub |
Use Scenario: DIN-rail mounted digital I/O expansion module with isolated inputs/outputs and Modbus RTU over RS-485. IC Role / Device Role / Timing Role: GPIO management, UART-controlled RS-485 transceiver enable, watchdog supervision, and non-volatile parameter storage in Flash. Use Value: 51 GPIOs with interrupt capability allow direct connection to 32 opto-isolated inputs and 16 relay drivers - eliminating I/O expander IC and reducing latency by 12 µs per scan cycle. |
Use Scenario: Electricity meter supporting DLMS/COSEM over PLC (powerline communication) and RF mesh (sub-GHz) with secure firmware update. IC Role / Device Role / Timing Role: Secure boot loader, AES-128 encryption engine (via ROP), SDIO interface to secure element, and dual USARTs for PLC/RF coexistence. Use Value: 512 KB Flash accommodates dual-application image (active + standby) and cryptographic libraries - enabling A+ grade cyber-security compliance per IEC 62351-8. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| STM32F103VET6 | LQFP100 package, 100 GPIOs, same 512 KB Flash/SRAM but adds FSMC and LCD interface. | Required for designs needing external parallel display or NAND flash storage. | Select when expanding I/O count or adding external memory beyond LQFP64 pin limits. |
| STM32F401RET6 | Cortex-M4 core, 84 MHz, DSP instructions, no CAN, USB only, 512 KB Flash/96 KB SRAM. | Better for audio processing or floating-point math; unsuitable for CAN-based industrial networks. | Choose only if CAN is not required and computational throughput (e.g., FFT) outweighs protocol compatibility. |
Compared with STM32F103VET6, the RET7 offers identical peripheral functionality in a smaller LQFP64 footprint - ideal for space-constrained CAN nodes. Versus STM32F401RET6, it retains CAN 2.0B while sacrificing DSP extensions - making it the sole choice for cost-sensitive, CAN-dependent embedded control.
Availability
STM32F103RET7 is available at Aetrix Electronics and suitable for industrial motor drives, USB-CAN gateways, and smart energy metering systems requiring stable component supply, long-term lifecycle assurance, and consistent parametric performance across production batches.
Supply support for STM32F103RET7 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, designing and manufacturing microcontrollers, power management ICs, MEMS sensors, and automotive-grade components since 1987.
The STM32F1 Series targets cost-sensitive, high-reliability embedded applications demanding rich analog/mixed-signal integration, industrial temperature range (–40°C to +85°C), and mature toolchain support - optimized for factory automation, building control, and appliance control.
FAQ
What is the maximum operating temperature range for STM32F103RET7?
The STM32F103RET7 is rated for industrial temperature range: –40°C to +85°C ambient. This is confirmed in Section 5.3.1 of DS5792 Rev 13, where operating conditions specify TA = –40 to +85°C with VDD = 2.0–3.6 V. Thermal derating begins above 70°C ambient when power dissipation exceeds 250 mW under continuous 72 MHz operation.
Does STM32F103RET7 support USB device mode only, or also host mode?
The STM32F103RET7 implements USB 2.0 full-speed device-only mode (not OTG or host). Its USB peripheral lacks host controller logic, external VBUS sensing, and SOF generation capability. It supports CDC, HID, and MSC classes in device mode only - verified in Section 2.3.24 and Table 2 of DS5792 Rev 13.
Can the internal RC oscillators replace external crystals for CAN timing accuracy?
No - CAN 2.0B requires ±1% clock tolerance for reliable 1 Mbit/s operation, but the internal 8 MHz RC oscillator has ±1% initial accuracy only after factory trimming and drifts ±3% over temperature/voltage. DS5792 Rev 13 Section 5.3.7 mandates external 4–16 MHz crystal (e.g., 8 MHz) for CAN-conforming designs.
How many independent PWM outputs can STM32F103RET7 generate simultaneously?
The STM32F103RET7 supports up to 16 independent PWM outputs: 4 channels each on TIM1 (advanced), TIM2, TIM3, and TIM4 (general-purpose), all configurable with complementary outputs and dead-time insertion. This is confirmed in Section 2.3.17 and Table 4 of DS5792 Rev 13, where timer channel counts are explicitly listed per instance.
STM32F103RET7 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- STMicroelectronics
- Package/Case:
- 64-LQFP
- Series:
- STM32F1
- Packaging:
- Tray
- Product Status:
- Active
- Programmable:
- Not Verified
- Core Processor:
- ARM® Cortex®-M3
- Core Size:
- 32-Bit Single-Core
- Speed:
- 72MHz
- Connectivity:
- CANbus, I2C, IrDA, LINbus, SPI, UART/USART, USB
- Peripherals:
- DMA, Motor Control PWM, PDR, POR, PVD, PWM, Temp Sensor, 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 2x12b
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 105°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
STM32F103RET7 FAQ
1.How can I place an order for STM32F103RET7 through Aetrix?
Please submit a Request for Quotation (RFQ) for STM32F103RET7 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 STM32F103RET7 reliable?
The price and inventory of STM32F103RET7 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM32F103RET7 is usually 5 days.
3.What payment methods are accepted for STM32F103RET7?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM32F103RET7 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM32F103RET7?
STM32F103RET7 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM32F103RET7 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 STM32F103RET7?
For technical support, including STM32F103RET7 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM32F103RET7 requirements.
6.How does Aetrix verify that STM32F103RET7 is sourced from the original manufacturer or authorized distributors?
All STM32F103RET7 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 STM32F103RET7 meets industry standards.
7.What is the process for return or replacement of STM32F103RET7?
All STM32F103RET7 units undergo pre-shipment inspection (PSI). If there is an issue with STM32F103RET7, 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 STM32F103RET7 part is unused and in its original packaging.
Return procedure for STM32F103RET7:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM32F103RET7 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…

