STM32F102R8T6
Product Specifications
STM32F102R8T6
ST — MCU & Embedded Processors
Product Overview
The STM32F102R8T6 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
STM32F102R8T6: 64 Kbyte, LQFP64 body
STM32F102R8T6 is a member of the STM32F102 USB access line medium density described by DS5933 Rev 7. The order code fixes 64 Kbytes of Flash, 10 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 | STM32F102R8T6 |
| Program Flash | 64 Kbytes |
| SRAM | 10 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
The step from 48 to 64 pins adds 14 general purpose pins and six converter channels, and it does not add a USART beyond the three the medium density line already has. Boards that move up for more serial ports are therefore moving for the wrong reason: the sixth and seventh port on this family come from the STM32F103 or F105 lines, not from a larger F102 package.
Sixteen analog channels on a 64 pin body means port C is largely analog. That is convenient for a sensor board and awkward for a board that also wants the second SPI and the second I2C block, because the same port C pins carry those functions. The pin table settles the conflict in a few minutes and is worth reading before the connector pinout is committed to a drawing.
The 45 C/W of the LQFP64 is ten degrees better than the 48 pin body, which lifts the dissipation budget at 85 C ambient from roughly 360 mW to about 440 mW. On a part that runs at 48 MHz with USB active that difference covers the transceiver and a couple of output pins, and it is the reason a 64 pin board often runs cooler at the same load.
Sixty four Kbytes of Flash with 10 Kbytes of SRAM is the pairing that makes a bootloader practical. An 8 Kbyte bootloader with a checksum and a fail safe update path leaves 56 Kbytes of application space, and the 10 Kbytes of SRAM holds the update buffer in 1 Kbyte chunks while the application runs. On the 32 Kbyte density the same bootloader takes a quarter of the memory.
The USB pins are PA11 and PA12 on this package exactly as on the 48 pin body, so the board change from one to the other is mostly additive: the extra pins are port C and the upper port B bits. That is also the trap, because a board that was written around the 48 pin pinout and then moved to this part may find that the second SPI was already assigned to a connector pin used for something else.
Where this order code fits
It is the 64 Kbyte code in the 64 pin body, which brings 51 general purpose pins and 16 converter channels to a USB device board that has run out of pins rather than out of memory. 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
How many USARTs does the 64 pin body bring? Three, the same as the 48 pin body. The extra 14 pins on this package are general purpose I/O and analog inputs, not extra serial ports. Boards that need a fourth or fifth port move to the STM32F103 medium or high density lines.
Can both SPI blocks and all 16 analog inputs be used at the same time? Not on every pin. SPI2 shares port B and port C pins with several converter inputs, so the pin table has to be walked through function by function. In practice a board uses the analog inputs on port A and port C and moves the second SPI to the port B pins to keep both.
What is the thermal budget at 85 C ambient? The LQFP64 is rated 45 C/W junction to ambient, so the 20 C between 85 C ambient and the 105 C junction allows about 440 mW of total dissipation. That covers the core at 48 MHz, the USB transceiver and the converter, leaving the output pin current as the item to budget separately.
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 Component Obsolescence Management page sets out the checks that keep a substitute from failing on the bench.