STM32F102C8T6
Product Specifications
STM32F102C8T6
ST — MCU & Embedded Processors
Product Overview
The STM32F102C8T6 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
STM32F102C8T6: 64 Kbyte, LQFP48 body
STM32F102C8T6 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 LQFP48 body at 7 x 7 mm with 48 pins, 37 general purpose I/O and 10 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 | STM32F102C8T6 |
| Program Flash | 64 Kbytes |
| SRAM | 10 Kbytes |
| Package | LQFP48, 7 x 7 mm, 48 pins |
| Maximum general purpose I/O | 37 |
| Analog input channels | 10 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 | 55 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
This code sits on the boundary between the two F102 datasheets. The 16 and 32 Kbyte codes are described by DS5934, the 64 and 128 Kbyte codes by DS5933, and the boundary is not only memory: from 64 Kbytes upward the part carries three general purpose timers instead of two, a second SPI block and a second I2C block. Reading the density out of the order string before comparing peripheral lists is what keeps a second source check honest on this line.
The 10 Kbytes of SRAM is the number that changes what the firmware can do. A USB device stack with two endpoints, a 1 Kbyte receive buffer and a 2 Kbyte command buffer fits with room left for the stack; the 6 Kbyte part one density below does not hold the same set. Firms that port firmware downward from this code to the 32 Kbyte part usually discover the SRAM limit before the Flash limit.
Three USARTs on a 48 pin body is more serial than the pin count suggests, and it comes at the cost of the analog and timer pins. USART2 shares port A with the converter inputs, USART3 needs port B pins that also carry the SPI and the I2C blocks. A board with three serial ports, USB and six analog inputs therefore has to accept a reduced timer channel count, which is why the pin assignment is worth fixing before the drawing is frozen.
The 64 Kbyte Flash is rated 10 kcycles of endurance at minus 40 to plus 85 C, with 30 years of retention at 85 C after one kcycle. Firmware that writes a settings block on every power down stays inside that budget for the life of the product, while firmware that writes a counter once a second does not. The backup registers in the VBAT domain are the usual place for the counters, and they survive with the main rail off.
The part is a full speed USB device with the same crystal requirement as the rest of the line: the 48 MHz clock comes from the PLL and the reference has to be an external crystal or resonator in the 4 to 16 MHz range. What the extra memory buys is the room for a second interface on the same port, for example a vendor specific channel beside a communication class channel, without moving to a 64 pin body.
Where this order code fits
It is the 64 Kbyte step in the same 48 pin body, the usual choice when a USB device application outgrows 32 Kbytes but the board cannot take a 64 pin package. 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 Component Lead Time Solutions page. Both list the figures that have to match before a substitute goes on a BOM.
Questions buyers ask
Which datasheet covers this order code? DS5933 Rev 7, the medium density USB access line datasheet. The low density document DS5934 Rev 6 stops at 32 Kbytes of Flash and covers only the two timer, one SPI configuration. Figures for timers and serial interfaces have to be read from the right document, because they differ between the two.
How much SRAM does a USB device stack leave for the application? The USB packet memory is separate and fixed at 512 bytes, so the 10 Kbytes is all application memory. A device stack with two endpoints and the descriptor tables uses roughly 2 to 3 Kbytes including buffers, which leaves 7 Kbytes for the application, the stack and the heap on this part.
Is this part a drop in replacement for STM32F102C6T6? Yes on the pins and the package, with more Flash and SRAM and a larger peripheral set. Firmware compiled for the smaller part runs unchanged, but code that uses the third USART, the second SPI or the second I2C block will only work on this density and above.
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 How to Verify a Drop in Replacement page sets out the checks that keep a substitute from failing on the bench.