STM32F301x6 STM32F301x8 Arm Cortex -M4 32-bit MCU+FPU, up to 64 KB Flash, 16 KB SRAM, ADC, DAC, 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 HW division, DSP instruction UFQFPN32 LQFP32 (7x7 mm) WLCSP49 Memories (3.417x3.151 mm) (5x5 mm) LQFP48 (7x7 mm) 32 to 64 Kbytes of Flash memory LQFP64 (10x10 mm) 16 Kbytes of SRAM on data bus Up to 18 capacitive sensing channels CRC calculation unit supporting touchkey, linear and rotary sensors Reset and power management Up to 9 timers V , V voltage range: 2.0 to 3.6 V DD DDA One 32-bit timer with up to 4 IC/OC/PWM Power-on/Power down reset (POR/PDR) or pulse counter and quadrature Programmable voltage detector (PVD) (incremental) encoder input Low-power: Sleep, Stop, and Standby One 16-bit 6-channel advanced-control V supply for RTC and backup registers timer, with up to 6 PWM channels, BAT deadtime generation and emergency stop Clock management Three 16-bit timers with IC/OC/OCN or 4 to 32 MHz crystal oscillator PWM, deadtime gen. and emergency stop 32 kHz oscillator for RTC with calibration One 16-bit basic timer to drive the DAC Internal 8 MHz RC with x 16 PLL option 2 watchdog timers (independent, window) Internal 40 kHz oscillator SysTick timer: 24-bit downcounter Up to 51 fast I/O ports, all mappable on Calendar RTC with alarm, periodic wakeup external interrupt vectors, several 5 V-tolerant from Stop/Standby Interconnect matrix Communication interfaces 7-channel DMA controller supporting timers, Three I2Cs with 20 mA current sink to 2 ADCs, SPIs, I Cs, USARTs and DAC support Fast mode plus 1 ADC 0.20 s (up to 15 channels) with Up to 3 USARTs, 1 with ISO 7816 I/F, auto selectable resolution of 12/10/8/6 bits, 0 to baudrate detect and Dual clock domain 3.6 V conversion range, single Up to two SPIs with multiplexed full duplex ended/differential mode, separate analog I2S supply from 2.0 to 3.6 V Infrared transmitter Temperature sensor Serial wire debug (SWD), JTAG 1 x 12-bit DAC channel with analog supply from 96-bit unique ID 2.4 to 3.6 V Three fast rail-to-rail analog comparators with Table 1. Device summary analog supply from 2.0 to 3.6 V Reference Part number 1 x operational amplifier that can be used in STM32F301x6 STM32F301R6, STM32F301C6, STM32F301K6 PGA mode, all terminal accessible with analog STM32F301x8 STM32F301R8, STM32F301C8, STM32F301K8 supply from 2.4 to 3.6 V April 2018 DS9895 Rev 8 1/141 This is information on a product in full production. www.st.comContents STM32F301x6 STM32F301x8 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/141 DS9895 Rev 8