STM32F102x4 STM32F102x6 Low-density USB access line, Arm -based 32-bit MCU with 16/32 KB Flash, USB FS, 5 timers, ADC and 5 com. interfaces Datasheet - production data Features Core: Arm 32-bit Cortex -M3 CPU 48 MHz maximum frequency, 1.25 DMIPS/MHz (Dhrystone 2.1) LQFP48 LQFP64 performance at 0 WS memory access 7 7 mm 10 10 mm Single-cycle multiplication and hardware division Memories Up to five timers 16 or 32 Kbytes of Flash memory Two 16-bit timers, each with up to 4 IC/OC/PWM or pulse counter 4 or 6 Kbytes of SRAM 2 watchdog timers (Independent and Clock, reset and supply management Window) 2.0 to 3.6 V application supply and I/Os SysTick timer: 24-bit downcounter POR, PDR and programmable voltage Up to five communication interfaces detector (PVD) 2 One I C interface (SMBus/PMBus) 4 to 16 MHz crystal oscillator Two USARTs (ISO 7816 interface, LIN, Internal 8 MHz factory-trimmed RC IrDA capability, modem control) Internal 40 kHz RC One SPI (12 Mbit/s) PLL for CPU clock One USB 2.0 full speed interface 32 kHz oscillator for RTC with calibration CRC calculation unit, 96-bit unique ID Low power ECOPACK packages Sleep, Stop and Standby modes V supply for RTC and backup registers BAT Table 1. Device summary Debug mode Reference Part number Serial wire debug (SWD) and JTAG interfaces STM32F102x4 STM32F102C4, STM32F102R4 DMA STM32F102x6 STM32F102C6, STM32F102R6 7-channel DMA controller Peripherals supported: timers, ADC, SPIs, 2 I Cs and USARTs 1 12-bit, 1.2 s A/D converter (up to 16 channels) Conversion range: 0 to 3.6 V Temperature sensor Up to 51 fast I/O ports 37/51 I/Os all mappable on 16 external interrupt vectors and almost all 5 V-tolerant August 2019 DS5934 Rev 6 1/79 This is information on a product in full production. www.st.comContents STM32F102x4, STM32F102x6 Contents 1 Introduction 8 2 Description . 9 2.1 Device overview 10 2.2 Full compatibility throughout the family 13 2.3 Overview . 13 2.3.1 Arm Cortex -M3 core with embedded Flash memory and SRAM 13 2.3.2 Embedded Flash memory . 14 2.3.3 CRC (cyclic redundancy check) calculation unit 14 2.3.4 Embedded SRAM . 14 2.3.5 Nested vectored interrupt controller (NVIC) 14 2.3.6 External interrupt/event controller (EXTI) . 14 2.3.7 Clocks and startup . 14 2.3.8 Boot modes 15 2.3.9 Power supply schemes . 15 2.3.10 Power supply supervisor 15 2.3.11 Voltage regulator 15 2.3.12 Low-power modes . 16 2.3.13 DMA 16 2.3.14 RTC (real-time clock) and backup registers 16 2.3.15 Independent watchdog . 17 2.3.16 Window watchdog . 17 2.3.17 SysTick timer . 17 2.3.18 General-purpose timers (TIMx) . 17 2.3.19 I C bus 18 2.3.20 Universal synchronous/asynchronous receiver transmitter (USART) 18 2.3.21 Serial peripheral interface (SPI) . 18 2.3.22 Universal serial bus (USB) . 18 2.3.23 GPIOs (general-purpose inputs / outputs) . 18 2.3.24 ADC (analog to digital converter) 18 2.3.25 Temperature sensor 19 2.3.26 Serial wire JTAG debug port (SWJ-DP) . 19 3 Pinout and pin description . 20 2/79 DS5934 Rev 6