STM32F313xx ARMCortex-M4 32b MCU+FPU, up to 256KB Flash+48KB SRAM 4 ADCs, 2 DAC ch., 7 comp., 4 PGA, timers, 1.8 V operation Datasheet - production data Up to four operational amplifiers that can be LQFP48 (7 7 mm) used in PGA mode, all terminal accessible with LQFP64 (10 10 mm) analog supply from 2.4 to 3.6 V LQFP100 (14 14 mm) Up to 23 capacitive sensing channels supporting touchkey, linear and rotary touch Features sensors Up to 13 timers Core: ARM 32-bit Cortex-M4 with FPU One 32-bit timer and two 16-bit timers with CPU (72 MHz max), single-cycle multiplication up to 4 IC/OC/PWM or pulse counter and and HW division, DSP instruction with FPU quadrature (incremental) encoder input (floating-point unit), MPU (memory protection Up to two 16-bit 6-channel advanced- unit) and 90 DMIPS (from control timers, with up to 6 PWM channels, CCM)/1.25 DMIPS/MHz (Dhrystone 2.1) deadtime generation and emergency stop Operating conditions: One 16-bit timer with 2 IC/OCs, 1 VDD: 1.8V +/- 8% OCN/PWM, deadtime generation and VDDA voltage range: 1.65 to 3.6 V emergency stop Memories Two 16-bit timers with IC/OC/OCN/PWM, 128 to 256 Kbytes of Flash memory deadtime generation and emergency stop Up to 40 Kbytes of SRAM on data bus with 2 watchdog timers (independent, window) HW parity check SysTick timer: 24-bit downcounter 8 Kbytes of SRAM on instruction bus with Up to two 16-bit basic timers to drive the HW parity check (CCM) DAC CRC calculation unit Calendar RTC with Alarm, periodic wakeup Reset and supply management from Stop Low power modes: Sleep and Stop Communication interfaces Clock management CAN interface (2.0B Active) 4 to 32 MHz crystal oscillator Two I2C Fast mode plus (1 Mbit/s) with 20 32 kHz oscillator for RTC with calibration mA current sink, SMBus/PMBus, wakeup Internal 8 MHz RC with x 16 PLL option from STOP Internal 40 kHz oscillator Up to five USART/UARTs (ISO 7816 Up to 86 fast I/Os interface, LIN, IrDA, modem control) All mappable on external interrupt vectors Up to three SPIs, two with multiplexed I2S Several 5 V-tolerant interface, 4 to 16 programmable bit frame 12-channel DMA controller Infrared Transmitter Up to four ADC 0.20 S (up to 38 channels) Cortex-M4 with FPU ETM, Serial wire debug, with selectable resolution of 12/10/8/6 bits, 0 to JTAG 3.6 V conversion range, separate analog 96-bit unique ID supply from 1.8 to 3.6 V Up to two 12-bit DAC channels with analog Table 1. Device summary supply from 2.4 to 3.6 V Reference Part number Seven fast rail-to-rail analog comparators with STM32F313xx STM32F313CC, STM32F313RC, STM32F313VC analog supply from 1.65 to 3.6 V April 2013 DocID024472 Rev 1 1/124 This is information on a product in full production. www.st.com 1 Obsolete Product(s) - Obsolete Product(s)Contents STM32F31xx Contents 1 Introduction 8 2 Description . 9 3 Functional overview 12 3.1 ARM Cortex-M4 with FPU core with embedded Flash and SRAM . 12 3.2 Memory protection unit (MPU) . 12 3.3 Embedded Flash memory 12 3.4 Embedded SRAM . 13 3.5 Boot modes . 13 3.6 Cyclic redundancy check (CRC) . 13 3.7 Power management . 14 3.7.1 Power supply schemes . 14 3.7.2 Power supply supervision . 14 3.7.3 Low-power modes . 14 3.8 Clocks and startup 15 3.9 General-purpose input/outputs (GPIOs) 17 3.10 Direct memory access (DMA) . 17 3.11 Interrupts and events 17 3.11.1 Nested vectored interrupt controller (NVIC) 17 3.12 Fast analog-to-digital converter (ADC) . 18 3.12.1 Temperature sensor 18 3.12.2 Internal voltage reference (V ) . 18 REFINT 3.12.3 OPAMP reference voltage (VOPAMP) 18 3.13 Digital-to-analog converter (DAC) 19 3.14 Operational amplifier (OPAMP) 19 3.15 Fast comparators (COMP) 19 3.16 Timers and watchdogs . 20 3.16.1 Advanced timers (TIM1, TIM8) . 20 3.16.2 General-purpose timers (TIM2, TIM3, TIM4, TIM15, TIM16, TIM17) 21 3.16.3 Basic timers (TIM6, TIM7) . 21 3.16.4 Independent watchdog (IWDG) . 21 3.16.5 Window watchdog (WWDG) . 22 2/124 DocID024472 Rev 1 Obsolete Product(s) - Obsolete Product(s)