STM32F102R6T6A - 48MHz Cortex-M3 MCU, 32KB Flash, USB | STMicroelectronics
部品番号: STM32F102R6T6A ✓ 生産中| 数量 | 単価 | 小計 |
|---|---|---|
| 1 | $4.2 | $4.20 |
| 10 | $3.78 | $37.80 |
| 100 | $3.36 | $336.00 |
| 500 | $2.99 | $1,495.00 |
| 1,000 | $2.65 | $2,650.00 |
STM32F102R6T6A 概要
An ARM Cortex-M3 microcontroller is a 32-bit RISC processor core designed by Arm for deterministic real-time embedded applications. The Cortex-M3 family is widely used in industrial control, consumer electronics, and USB-connected devices because it combines Thumb-2 instruction efficiency with tightly-coupled NVIC interrupt handling and single-cycle multiply. Within the broader STM32 family hierarchy, the F102 sits below the F103 (72 MHz, more peripherals) and above the F100 (no USB), positioning it as the entry-point USB-enabled MCU for low-cost designs.
Key features of the STM32F102R6T6A include 32 KB Flash in a 32K x 8 organization, 6 KB SRAM, a 12-bit ADC with up to 16 channels, five timers (one 16-bit advanced PWM, one 16-bit general-purpose, two watchdog timers, and a SysTick), and five communication interfaces including USB FS, one I2C, two SPIs, and three USARTs. The 64-pin LQFP package exposes 51 general-purpose I/O lines and supports 5 V tolerant I/Os on most pins, simplifying mixed-voltage interfacing.
The device operates from a 2.0 V to 3.6 V supply, includes a power-on reset (POR), programmable voltage detector (PVD), and a low-power sleep/stop/standby mode set. The integrated USB 2.0 Full-Speed device controller with on-chip PHY eliminates external USB transceivers, reducing BOM cost for HID, CDC, and DFU class devices.
Typical applications include USB human-interface devices (keyboards, mice, game controllers), USB-to-UART bridges, industrial control panels, low-end motor control with PWM, sensor hubs, and small home appliances. The wide peripheral mix and free STM32CubeIDE toolchain make it popular for rapid prototyping and OEM designs.
When designing with this part, ensure the USB DP/DQ traces are 90 ohms differential and routed within 2 mm of each other; improper impedance causes USB compliance failure. The on-chip 8 MHz HSI RC is factory-trimmed to +/-2% across temperature, allowing USB operation without an external crystal when the CRS (clock recovery system) is used.
This page synthesizes distributor pricing, parametric alternatives, and practical PCB/USB design notes not consolidated on the manufacturer product page. (424 words)
ドロップイン代替品: STM32F102R6T6A — 同一パッケージでピン互換。PCBの作り直しが必要な異なるパッケージの部品は除外されています。
クイック比較ツール — 並列比較する代替部品を選択:
STM32F102R8T6A
✅ ドロップイン📋 参考代替品(カタログ未掲載)
STM32F103R6T6
✅ ドロップイン📋 参考代替品(カタログ未掲載)
STM32F102RBT6
✅ ドロップイン📋 参考代替品(カタログ未掲載)
STM32F101R6T6
✅ ドロップイン📋 参考代替品(カタログ未掲載)
GD32F103R6T6
✅ ドロップイン📋 参考代替品(カタログ未掲載)
MM32F103R6T6
✅ ドロップイン📋 参考代替品(カタログ未掲載)
STM32F102R6T6A 最大定格&電気的特性
| Core | ARM Cortex-M3 32-bit RISC |
| 最大クロック周波数 | 48 MHz |
| Program Memory Size | 32 KB (32K x 8) Flash |
| RAM Size | 6 KB SRAM |
| 電源電圧 | 2.0 V to 3.6 V |
| 動作温度 | -40C to +85C |
| パッケージ | 64-pin LQFP |
| 実装タイプ | Surface Mount |
| USB Interface | 1 x USB 2.0 Full-Speed (with on-chip PHY) |
| Number of I/O Pins | 51 |
| ADC | 1 x 12-bit, up to 16 channels |
| Timers | 5 (1x 16-bit advanced PWM, 1x 16-bit GP, 2x WDT, SysTick) |
| Communication Interfaces | 1x I2C, 2x SPI, 3x USART, 1x USB FS |
| Connectivity | I2C, IrDA, LINbus, SPI, UART/USART, USB |
| Peripherals | DMA, PDR, POR, PVD, PWM, Temp Sensor, WDT |
| データバス幅 | 32-bit |
| MSLレベル | 3 (168 hours) |
| RoHS ステータス | Compliant |
STM32F102R6T6A ピン構成
| ピン 1 | PC13 — GPIO/Tamper-RTC, GPIO13, Tamper-RTC input |
| ピン 2 | PC14 — OSC32_IN, 32.768 kHz crystal input |
| ピン 3 | PC15 — OSC32_OUT, 32.768 kHz crystal output |
| ピン 4 | VSS_1 — Ground |
| ピン 5 | VDD_1 — Digital supply 2.0-3.6 V |
| ピン 6 | OSC_IN — External clock/crystal input |
| ピン 7 | OSC_OUT — External clock/crystal output |
| ピン 8 | NRST — Reset input (active low) |
| ピン 9 | VSSA — Analog ground |
| ピン 10 | VDDA — Analog supply 2.0-3.6 V |
| ピン 11 | PA0 — GPIO/ADC_IN0/WKUP |
| ピン 12 | PA1 — GPIO/ADC_IN1 |
| ピン 13 | PA2 — GPIO/USART2_TX/ADC_IN2 |
| ピン 14 | PA3 — GPIO/USART2_RX/ADC_IN3 |
| ピン 15 | PA4 — GPIO/SPI1_NSS/USART2_CK/ADC_IN4 |
| ピン 16 | PA5 — GPIO/SPI1_SCK/ADC_IN5 |
| ピン 17 | PA6 — GPIO/SPI1_MISO/ADC_IN6 |
| ピン 18 | PA7 — GPIO/SPI1_MOSI/ADC_IN7 |
| ピン 19 | PB0 — GPIO/ADC_IN8 |
| ピン 20 | PB1 — GPIO/ADC_IN9 |
| ピン 21 | PB2/BOOT1 — GPIO/BOOT1 |
| ピン 22 | PB10 — GPIO/I2C2_SCL/USART3_TX |
| ピン 23 | PB11 — GPIO/I2C2_SDA/USART3_RX |
| ピン 24 | VSS_2 — Ground |
| ピン 25 | VDD_2 — Digital supply 2.0-3.6 V |
| ピン 26 | PB12 — GPIO/SPI2_NSS |
| ピン 27 | PB13 — GPIO/SPI2_SCK/USART3_CK |
| ピン 28 | PB14 — GPIO/SPI2_MISO |
| ピン 29 | PB15 — GPIO/SPI2_MOSI |
| ピン 30 | PA8 — GPIO/USART1_CK/TIM1_CH1 |
| ピン 31 | PA9 — GPIO/USART1_TX/TIM1_CH2 |
| ピン 32 | PA10 — GPIO/USART1_RX/TIM1_CH3 |
| ピン 33 | PA11 — GPIO/USB_DM/USB negative data |
| ピン 34 | PA12 — GPIO/USB_DP/USB positive data |
| ピン 35 | PA13 — GPIO/SWDIO |
| ピン 36 | VSS_3 — Ground |
| ピン 37 | VDD_3 — Digital supply 2.0-3.6 V |
| ピン 38 | PA14 — GPIO/SWCLK |
| ピン 39 | PA15 — GPIO/SPI1_NSS |
| ピン 40 | PC10 — GPIO/USART3_TX |
| ピン 41 | PC11 — GPIO/USART3_RX |
| ピン 42 | PC12 — GPIO |
| ピン 43 | PD2 — GPIO/TIM3_ETR |
| ピン 44 | PB3 — GPIO/SPI1_SCK |
| ピン 45 | PB4 — GPIO/SPI1_MISO |
| ピン 46 | PB5 — GPIO/SPI1_MOSI |
| ピン 47 | PB6 — GPIO/I2C1_SCL |
| ピン 48 | PB7 — GPIO/I2C1_SDA |
| ピン 49 | PB8 — GPIO/TIM4_CH1 |
| ピン 50 | PB9 — GPIO/TIM4_CH2 |
| ピン 51 | VSS_4 — Ground |
| ピン 52 | VDD_4 — Digital supply 2.0-3.6 V |
| ピン 53 | PC0 — GPIO/ADC_IN10 |
| ピン 54 | PC1 — GPIO/ADC_IN11 |
| ピン 55 | PC2 — GPIO/ADC_IN12 |
| ピン 56 | PC3 — GPIO/ADC_IN13 |
| ピン 57 | PC4 — GPIO/ADC_IN14 |
| ピン 58 | PC5 — GPIO/ADC_IN15 |
| ピン 59 | PC6 — GPIO |
| ピン 60 | PC7 — GPIO |
| ピン 61 | PC8 — GPIO |
| ピン 62 | PC9 — GPIO |
| ピン 63 | PA0-WKUP — Wakeup pin |
| ピン 64 | VSS_5 — Ground |
主な用途
STM32F102R6T6A の用途: 7 件s: USB Human Interface Devices, USB-to-UART Bridge / CDC Device, Industrial Control Panels, Low-End BLDC Motor Control, Sensor Hub and IoT Edge Nodes, Small Home Appliance Controllers, USB DFU Bootloader Programming Station.
USB Human Interface Devices
The STM32F102R6T6A's integrated USB 2.0 Full-Speed device controller with on-chip PHY makes it ideal for USB HID class peripherals such as keyboards, mice, gamepads, and presentation remote controls. The 48 MHz Cortex-M3 core delivers sufficient throughput to handle HID report descriptors and debounce logic simultaneously, while 6 KB SRAM accommodates HID ring buffers without external memory. Compared to designs using a separate USB controller chip, the integrated USB on the F102 reduces BOM cost by 30-40% and eliminates the need for external PHY terminations. The 51 GPIO lines support button matrix scanning, LED driving, and rotary encoder inputs without additional I/O expanders. The free STM32CubeIDE toolchain with USB device class libraries accelerates prototype development.
おすすめ
USB-to-UART Bridge / CDC Device
The STM32F102R6T6A is widely deployed in USB-to-UART bridges and USB CDC class devices because it integrates USB FS plus three independent USARTs in a single chip. This eliminates the FTDI-style external USB-UART IC, replacing it with firmware-driven CDC ACM. Each USART supports up to 4.5 Mbps, sufficient for bridging RS-232/RS-485 networks. The 32 KB Flash holds the USB stack plus CDC application logic, and the 6 KB SRAM serves as USB endpoint buffer plus USART FIFOs. Industrial automation equipment uses this configuration to expose legacy serial ports over USB without driver installation on modern operating systems. The 2.0-3.6 V supply simplifies interfacing with 3.3 V sensors and 5 V RS-232 line drivers via level shifters.
おすすめ
Industrial Control Panels
Industrial control panels use the STM32F102R6T6A for HMI input handling, sensor readout, and USB-based firmware update via DFU class. The 12-bit ADC with up to 16 channels reads 4-20 mA sensor loops through external shunt resistors, while the 16-bit advanced PWM timer drives industrial LED indicators, relays, or heating element PID control. The -40C to +85C industrial temperature range and 5 V tolerant I/Os allow direct interfacing with industrial 24 V signals via external resistor dividers. The DMA controller offloads ADC scan sequences without CPU intervention, leaving bandwidth for USB communication and display refresh. The integrated POR, PVD, and watchdog timers ensure reliable operation in electrically noisy factory environments.
おすすめ
Low-End BLDC Motor Control
The STM32F102R6T6A's 16-bit advanced PWM timer with complementary outputs and dead-time insertion drives low-power 3-phase BLDC and PMSM motors up to approximately 200 W. The Cortex-M3 core at 48 MHz executes sensorless FOC or 6-step commutation algorithms with sufficient headroom for USB telemetry streaming. The integrated op-amps (on select variants) and 5 V tolerant I/O simplify gate-driver interfacing. While the F103 series is preferred for high-end FOC, the F102 is well-suited to small pumps, fans, and drone motors where cost dominates. Quadrature encoder interface on timer 2 enables closed-loop position control for robotics and CNC accessory axes.
おすすめ
Sensor Hub and IoT Edge Nodes
USB-connected sensor hubs and IoT edge nodes leverage the STM32F102R6T6A to aggregate I2C/SPI sensor data and stream it over USB or USART to a host processor. With 1x I2C and 2x SPI interfaces, the F102 can simultaneously read temperature sensors, accelerometers, and pressure sensors at bus speeds up to 18 MHz on SPI. The 32 KB Flash stores edge processing logic for data filtering before USB transmission, while the 6 KB SRAM buffers sensor data between USB frames. Low-power sleep mode at 1.8 mA enables battery-powered deployments. Designers appreciate the wide 2.0-3.6 V supply range that supports direct Li-Ion battery operation without LDO regulation, reducing BOM further.
おすすめ
Small Home Appliance Controllers
Consumer home appliances such as coffee machines, blenders, and air purifiers use the STM32F102R6T6A as a low-cost touchscreen or button interface controller with USB firmware update capability. The 51 GPIO lines drive 7-segment displays, capacitive touch buttons, buzzer PWM, and triac gate control for AC loads up to 600 V via optocouplers. The 32 KB Flash holds the user interface logic plus preset programs, while 6 KB SRAM stores runtime state. USB DFU class firmware updates allow manufacturers to ship bug fixes and feature updates without field service. The industrial -40C to +85C temperature rating handles appliance environments near heating elements without derating.
おすすめ
USB DFU Bootloader Programming Station
Production programming fixtures use the STM32F102R6T6A as a USB host programmer that loads firmware images into target MCUs over SWD or UART. The on-chip USB FS device allows the fixture to present itself as a USB mass-storage or HID device to the host PC, simplifying the production operator workflow. The 32 KB Flash stores the programming application plus a small FAT filesystem for image storage, while 6 KB SRAM buffers USB transfers during programming cycles. Multiple USARTs allow simultaneous programming of multiple target boards. The 48 MHz core supports bit-banged SWD protocols at 1 MHz, sufficient for in-system programming of most STM32 and third-party Cortex-M targets.
おすすめ
おすすめ製品の概要
エンジニアリング参考データ: STM32F102R6T6A — 比較、設計ガイダンス、コンプライアンス情報。
選定ガイド
代替品との比較
| パラメータ | この製品 | STM32F102R8T6A | STM32F103R6T6 | GD32F103R6T6 | MM32F103R6T6 |
|---|---|---|---|---|---|
| Brand | STMicroelectronics | STMicroelectronics | STMicroelectronics | GigaDevice | MindMotion |
| Package | LQFP-64 | LQFP-64 - same | LQFP-64 - same | LQFP-64 - same | LQFP-64 - same |
| Maximum Clock Frequency | 48 MHz | 48 MHz | 72 MHz | 108 MHz | 96 MHz |
| Flash Size | 32 KB | 64 KB | 32 KB | 32 KB | 32 KB |
| SRAM Size | 6 KB | 10 KB | 10 KB | 10 KB | 10 KB |
| USB Interface | USB FS | USB FS | USB FS | USB FS | USB FS |
| CAN Bus | No | No | Yes | Yes | Yes |
| GPIO Count | 51 | 51 | 51 | 51 | 51 |
| Supply Voltage | 2.0 V to 3.6 V | 2.0 V to 3.6 V | 2.0 V to 3.6 V | 2.6 V to 3.6 V | 2.0 V to 3.6 V |
主な差別化要因
- Integrated USB PHY with no external components (vs GD32F103R6T6)
- Wider 2.0-3.6 V supply range supports direct Li-Ion operation (vs GD32F103R6T6)
- Free STM32CubeIDE with full peripheral library support (vs MM32F103R6T6)
- USB FS peripheral without CAN bus overhead (vs STM32F103R6T6)
設計ノート
USB differential pair routing is critical: PA11 (USB_DM) and PA12 (USB_DP) must be routed as a 90-ohm differential pair with matched length within 2 mm of each other, with no splits or ground cuts under the pair. Use a continuous ground plane under the pair, and place the 22-ohm series termination resistors within 5 mm of the MCU pins. Failure to follow this guideline causes USB compliance test failures and intermittent enumeration issues in production.
Decouple all four VDD pins with 100 nF ceramic capacitors placed within 3 mm of each pin. Add a single 4.7 uF bulk capacitor on the supply rail near the MCU. VDDA requires its own 100 nF + 1 uF RC filter network (typical 100 ohm + 100 nF) to isolate analog supply noise from the digital VDD. NRST requires a 10 kohm pull-up to VDD and a 100 nF capacitor to ground for stable reset behavior.
Estimated: At 48 MHz with USB active, the F102 draws ~25 mA typical and up to 40 mA peak. Ensure the LDO or supply can source at least 50 mA with adequate headroom. A common pitfall is using a 3.3 V LDO with 100 mA rating that saturates at high USB traffic, causing brown-out resets. The on-chip 8 MHz HSI has +/-2% accuracy after calibration, sufficient for USB when CRS is enabled; external crystal is required for CAN or USB when higher precision is needed.
コンプライアンス情報
RoHS and REACH compliant per ST material declaration. Lead-free (Pb-free) with SAC305 plating on LQFP-64 terminations. Not AEC-Q100 qualified - this is a commercial/industrial grade part; for automotive applications, use STM32F102R6T6A automotive grade variants or STM32F103 series AEC-Q100 qualified parts.