STM32F102RBT6
Product Specifications
STM32F102RBT6
ST — MCU & Embedded Processors
Product Overview
The STM32F102RBT6 from ST is a microcontroller / embedded processor engineered for real-time control, signal processing, and connectivity. STMicroelectronics is a European semiconductor leader with a strong portfolio in MCUs, power management, sensors, and analog ICs.
Superb Automation partners with leading brands including Qorvo, TI, ADI, XILINX, NVIDIA, Intel, ST, MACOM, Renesas, and Coilcraft to provide complete BOM and supply-chain solutions.
Key Features
- ARM Cortex / RISC-V / proprietary core with high-performance real-time processing
- Integrated flash memory and SRAM for efficient code execution
- Rich peripheral set: UART, SPI, I2C, ADC, timers, PWM
- Low-power modes for battery-operated and energy-sensitive applications
- Hardware security features: secure boot, crypto accelerator, TRNG
- Extensive development ecosystem with IDE, HAL, and RTOS support
Key Specifications
| Core | — |
| Max Frequency | MHz |
| Flash | KB |
| SRAM | KB |
| GPIO | — |
| ADC | bits |
| Interfaces | — |
| Supply Voltage | V |
| Operating Temp | °C |
| Package | — |
Applications
Request Quote — In Stock, 100% New & Original, Full Warranty
STM32F102RBT6: 128 Kbyte, LQFP64 body
STM32F102RBT6 is a member of the STM32F102 USB access line medium density described by DS5933 Rev 7. The order code fixes 128 Kbytes of Flash, 16 Kbytes of SRAM, the LQFP64 body at 10 x 10 mm with 64 pins, 51 general purpose I/O and 16 external channels on each of the 12 bit converters, and the core runs at up to 48 MHz from a 2.0 to 3.6 V supply.
Order code and memory
| Order code | STM32F102RBT6 |
| Program Flash | 128 Kbytes |
| SRAM | 16 Kbytes |
| Package | LQFP64, 10 x 10 mm, 64 pins |
| Maximum general purpose I/O | 51 |
| Analog input channels | 16 external channels per converter |
| Digital to analog converter | not present |
| External memory controller | not present on this line |
| Supply voltage | 2.0 to 3.6 V |
| Maximum CPU clock | 48 MHz |
| Temperature grade | suffix 6, minus 40 to plus 85 C ambient, 105 C junction |
| Datasheet | DS5933 Rev 7 |
Peripheral and electrical parameters
| Core | ARM Cortex-M3 at up to 48 MHz, 1.25 DMIPS per MHz, single cycle multiply and divide |
| Clock sources | 8 MHz factory trimmed internal RC, PLL up to the 48 MHz core clock, external crystal range 4 to 16 MHz |
| Timers | three general purpose 16 bit timers with four compare channels each, the independent and window watchdogs and the SysTick counter |
| Serial interfaces | two SPI blocks, two I2C blocks, three USARTs and one USB full speed device port, which is the eight communication interfaces the cover counts |
| DMA | 7 channel DMA controller serving the USARTs, the SPI blocks and the converter |
| ADC | 12 bit successive approximation, 1.2 microsecond conversion with APB2 at 12, 24 or 48 MHz, 10 channels on 48 pins and 16 on 64 pins |
| DAC | not present on this line |
| Ethernet | not present on this line |
| Camera interface | not present on this line |
| Cryptographic acceleration | not present on this line |
| Programmable voltage detector | programmable voltage detector with eight falling thresholds from 2.00 V to 2.88 V nominal |
| Debug port | serial wire debug on two pins and JTAG on five, with the trace port sharing low order port bits |
| Backup domain | the VBAT domain keeps the RTC and the backup registers alive with the main rail off |
| Flash endurance and retention | 10 kcycles with 30 years of retention at 85 C after 1 kcycle |
| Thermal resistance junction to ambient | 45 C/W on this package |
| Input tolerance | almost all inputs 5 V tolerant |
| USB | full speed device at 12 Mbit/s, with the 48 MHz clock taken from the PLL and an external crystal as the reference |
| Status | production data per the datasheet cover |
Points to check before this part goes on a BOM
Both memory and pin count are at the top of the line here, and the two together are the reason this code is the one that appears on long lived industrial boards. It carries three USARTs, two SPI blocks, two I2C blocks, one USB device port, three general purpose timers and 16 converter channels, all inside a 10 x 10 mm LQFP64 with 51 general purpose pins.
Sixteen analog channels across port A and port C is enough for a three phase current sense, a bus voltage, two thermistors and a set of spares, which is the usual analog load on a motor control board. The converter is 12 bit with a 1.2 microsecond conversion time, and it is synchronized so that the advanced timer can trigger a conversion at a fixed point in the PWM period, which is what makes a current measurement repeatable.
The part has no CAN controller and no external memory interface. Boards that need CAN on the same footprint move to STM32F105, which keeps the 64 pin body and the USB port and adds two CAN channels; boards that need external memory move to the STM32F103 high density line. This is the check that catches most second source mistakes on this family.
Endurance and retention are the standard figures for the line: 10 kcycles at minus 40 to plus 85 C and 30 years of retention at 85 C after one kcycle. With 128 Kbytes the firmware can keep two parameter sectors and rotate between them, which halves the effective write rate on each sector and is the simplest way to keep a frequently written log inside the endurance budget.
The LQFP64 is rated 45 C/W, so at the top of the industrial range the total dissipation budget is roughly 440 mW. A board that runs at 48 MHz with USB, both SPI blocks and the converter active is inside it, but the margin is spent quickly by output pins that sink current, so the pin current budget is worth calculating at the same time as the core current.
Where this order code fits
It is the largest F102 order code, 128 Kbytes of Flash and 16 Kbytes of SRAM in the 64 pin body, which is the combination most often specified when a USB device board needs both memory and analog headroom. Boards comparing it against a neighbouring memory size or pin count start from our MCU Cross Reference page, and boards replacing a line that has gone end of life start from the Pin to Pin Cross Reference page. Both list the figures that have to match before a substitute goes on a BOM.
Questions buyers ask
Which lines are pin compatible upgrades from this part? The STM32F103 medium density 64 pin codes and the STM32F105 64 pin codes share the LQFP64 footprint with a compatible pinout, with the differences in the power scheme and in the added CAN controller. Every upgrade still needs the pin table checked function by function.
What is the maximum converter sample rate? The 12 bit converter converts in 1.2 microseconds with the APB2 clock at 12, 24 or 48 MHz, which is about 800 thousand samples per second for a single channel. On a scan of several channels the figure is divided by the number of channels in the sequence.
Is 16 Kbytes of SRAM enough for a USB device with a protocol stack? Yes for a device class stack with two or three endpoints. The 512 byte USB packet memory is separate from the 16 Kbytes, so the application keeps the full amount, and a stack with buffers typically occupies 3 to 4 Kbytes of it.
SUPERB holds and sources ST microcontroller lines including this order code for production and repair demand, quoted against the exact ordering string with date codes and packing stated. When a line is changing, the Strategic Sourcing page sets out the checks that keep a substitute from failing on the bench.