STM32F302x6 STM32F302x8 ARM Cortex -M4 32-bit MCU+FPU, up to 64 KB Flash, 16 KB SRAM, ADC, DAC, USB, CAN, COMP, Op-Amp, 2.0 - 3.6 V Datasheet - production data Features Core: ARM 32-bit Cortex -M4 CPU with FPU (72 MHz max.), single-cycle multiplication and LQFP48 (7x7 mm) UFQFPN32 WLCSP49 HW division, DSP instruction LQFP64 (10x10 mm) (3.417x3.151 mm) (5x5 mm) Memories Up to 18 capacitive sensing channels 32 to 64 Kbytes of Flash memory supporting touchkey, linear and rotary sensors 16 Kbytes of SRAM on data bus Up to 9 timers CRC calculation unit One 32-bit timer with up to 4 IC/OC/PWM Reset and power management or pulse counter and quadrature V , V voltage range: 2.0 to 3.6 V (incremental) encoder input DD DDA Power-on/Power down reset (POR/PDR) One 16-bit 6-channel advanced-control timer, with up to 6 PWM channels, Programmable voltage detector (PVD) deadtime generation and emergency stop Low-power: Sleep, Stop, and Standby Three 16-bit timers with IC/OC/OCN or V supply for RTC and backup registers BAT PWM, deadtime gen. and emergency stop Clock management One 16-bit basic timer to drive the DAC 4 to 32 MHz crystal oscillator 2 watchdog timers (independent, window) 32 kHz oscillator for RTC with calibration SysTick timer: 24-bit downcounter Internal 8 MHz RC with x 16 PLL option Calendar RTC with alarm, periodic wakeup Internal 40 kHz oscillator from Stop/Standby Up to 51 fast I/O ports, all mappable on Communication interfaces external interrupt vectors, several 5 V-tolerant Three I2Cs with 20 mA current sink to Interconnect matrix support Fast mode plus 7-channel DMA controller supporting timers, Up to 3 USARTs, 1 with ISO 7816 I/F, 2 ADCs, SPIs, I Cs, USARTs and DAC autobaudrate detect and Dual clock domain 1 ADC 0.20 s (up to 15 channels) with selectable resolution of 12/10/8/6 bits, 0 to Up to two SPIs with multiplexed full duplex 3.6 V conversion range, single I2S ended/differential mode, separate analog USB 2.0 full-speed interface supply from 2.0 to 3.6 V 1 x CAN interface (2.0B Active) Temperature sensor Infrared transmitter 1 x 12-bit DAC channel with analog supply from Serial wire debug (SWD), JTAG 2.4 to 3.6 V 96-bit unique ID Three fast rail-to-rail analog comparators with analog supply from 2.0 to 3.6 V Reference Part number 1 x operational amplifier that can be used in STM32F302x6 STM32F302R6, STM32F302C6, STM32F302K6 PGA mode, all terminal accessible with analog STM32F302x8 STM32F302R8, STM32F302C8, STM32F302K8 supply from 2.4 to 3.6 V July 2016 DocID025147 Rev 6 1/138 This is information on a product in full production. www.st.comContents STM32F302x6 STM32F302x8 Contents 1 Introduction 9 2 Description 10 3 Functional overview 13 3.1 ARM Cortex -M4 core with FPU, embedded Flash and SRAM . 13 3.2 Memories . 13 3.2.1 Embedded Flash memory . 13 3.2.2 Embedded SRAM . 13 3.3 Boot modes . 13 3.4 Cyclic redundancy check calculation unit (CRC) . 14 3.5 Power management . 14 3.5.1 Power supply schemes . 14 3.5.2 Power supply supervisor 14 3.5.3 Voltage regulator 15 3.5.4 Low-power modes . 15 3.6 Interconnect matrix 15 3.7 Clocks and startup 17 3.8 General-purpose inputs/outputs (GPIOs) . 19 3.9 Direct memory access (DMA) . 19 3.10 Interrupts and events 19 3.10.1 Nested vectored interrupt controller (NVIC) 19 3.11 Fast analog-to-digital converter (ADC) . 20 3.11.1 Temperature sensor 20 3.11.2 Internal voltage reference (V ) . 20 REFINT 3.11.3 V battery voltage monitoring . 21 BAT 3.12 Digital-to-analog converter (DAC) 21 3.13 Operational amplifier (OPAMP) 21 3.14 Ultra-fast comparators (COMP) 22 3.15 Timers and watchdogs . 22 3.15.1 Advanced timer (TIM1) . 23 3.15.2 General-purpose timers (TIM2, TIM15, TIM16, TIM17) . 23 3.15.3 Basic timer (TIM6) . 24 2/138 DocID025147 Rev 6