STM32F103x8 STM32F103xB Medium-density performance line ARM-based 32-bit MCU with 64 or 128 KB Flash, USB, CAN, 7 timers, 2 ADCs, 9 com. interfaces Datasheet - production data Features ARM 32-bit Cortex-M3 CPU Core 72 MHz maximum frequency, VFQFPN36 6 6 mm UFQFPN48 7 7 mm 1.25 DMIPS/MHz (Dhrystone 2.1) performance at 0 wait state memory access Single-cycle multiplication and hardware BGA100 10 10 mm LQFP100 14 14 mm division UFBGA100 7 x 7 mm LQFP64 10 10 mm BGA64 5 5 mm LQFP48 7 7 mm Memories Debug mode 64 or 128 Kbytes of Flash memory Serial wire debug (SWD) & JTAG 20 Kbytes of SRAM interfaces Clock, reset and supply management 7 timers 2.0 to 3.6 V application supply and I/Os Three 16-bit timers, each with up to 4 POR, PDR, and programmable voltage IC/OC/PWM or pulse counter and detector (PVD) quadrature (incremental) encoder input 4-to-16 MHz crystal oscillator 16-bit, motor control PWM timer with dead- Internal 8 MHz factory-trimmed RC time generation and emergency stop Internal 40 kHz RC 2 watchdog timers (Independent and PLL for CPU clock Window) 32 kHz oscillator for RTC with calibration SysTick timer 24-bit downcounter Low power Up to 9 communication interfaces Sleep, Stop and Standby modes 2 Up to 2 x I C interfaces (SMBus/PMBus) V supply for RTC and backup registers BAT Up to 3 USARTs (ISO 7816 interface, LIN, 2 x 12-bit, 1 s A/D converters (up to 16 IrDA capability, modem control) channels) Up to 2 SPIs (18 Mbit/s) Conversion range: 0 to 3.6 V CAN interface (2.0B Active) Dual-sample and hold capability USB 2.0 full-speed interface Temperature sensor CRC calculation unit, 96-bit unique ID DMA Packages are ECOPACK 7-channel DMA controller Peripherals supported: timers, ADC, SPIs, Table 1. Device summary 2 I Cs and USARTs Reference Part number Up to 80 fast I/O ports STM32F103C8, STM32F103R8 STM32F103x8 26/37/51/80 I/Os, all mappable on 16 STM32F103V8, STM32F103T8 external interrupt vectors and almost all STM32F103RB STM32F103VB, STM32F103xB 5 V-tolerant STM32F103CB, STM32F103TB August 2013 DocID13587 Rev 16 1/105 This is information on a product in full production. www.st.comContents STM32F103x8, STM32F103xB Contents 1 Introduction 9 2 Description . 9 2.1 Device overview 10 2.2 Full compatibility throughout the family 13 2.3 Overview . 14 2.3.1 ARM Cortex-M3 core with embedded Flash and SRAM . 14 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) . 15 2.3.7 Clocks and startup . 15 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 16 2.3.12 Low-power modes . 16 2.3.13 DMA 17 2.3.14 RTC (real-time clock) and backup registers 17 2.3.15 Timers and watchdogs 17 2.3.16 IC bus 19 2.3.17 Universal synchronous/asynchronous receiver transmitter (USART) 19 2.3.18 Serial peripheral interface (SPI) . 19 2.3.19 Controller area network (CAN) . 19 2.3.20 Universal serial bus (USB) . 19 2.3.21 GPIOs (general-purpose inputs/outputs) 20 2.3.22 ADC (analog-to-digital converter) . 20 2.3.23 Temperature sensor 20 2.3.24 Serial wire JTAG debug port (SWJ-DP) . 20 3 Pinouts and pin description 21 4 Memory mapping . 34 2/105 DocID13587 Rev 16