STM32F102x8 STM32F102xB Medium-density USB access line, Arm -based 32-bit MCU with 64/128 KB Flash, USB FS, 6 timers, ADC and 8 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 six timers 64 or 128 Kbytes of Flash memory Three 16-bit timers, each with up to four IC/OC/PWM or pulse counter 10 or 16 Kbytes of SRAM Two 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 eight communication interfaces detector (PVD) 2 Up to two I C interfaces (SMBus/PMBus) 4-to-16 MHz crystal oscillator Up to three USARTs (ISO 7816 interface, Internal 8 MHz factory-trimmed RC LIN, IrDA capability, modem control) Internal 40 kHz RC Up to two SPIs (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 STM32F102x8 STM32F102C8, STM32F102R8 DMA STM32F102xB STM32F102CB, STM32F102RB 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 DS5933 Rev 7 1/81 This is information on a product in full production. www.st.comContents STM32F102x8, STM32F102xB 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/81 DS5933 Rev 7