STM32F058C8 STM32F058R8 STM32F058T8 Advanced ARM -based 32-bit MCU, 64 KB Flash, 11 timers, ADC, DAC and comm. interfaces, 1.8 V Datasheet - production data Features )%* Core: ARM 32-bit Cortex -M0 CPU, frequency up to 48 MHz LQFP64 UFQFPN48 UFBGA64 WLCSP36 7x7 mm 5x5 mm 10x10 mm 2.6x2.7 mm Memories 64 Kbytes of Flash memory Two 16-bit timers, each with IC/OC and OCN, deadtime generation, emergency 8 Kbytes of SRAM with HW parity checking stop and modulator gate for IR control CRC calculation unit One 16-bit timer with 1 IC/OC Power management Independent and system watchdog timers Digital and I/O supply: V = 1.8 V 8% DD SysTick timer: 24-bit downcounter Analog supply: V = from V to 3.6 V DDA DD One 16-bit basic timer to drive the DAC Low power modes: Sleep, Stop Calendar RTC with alarm and periodic wakeup V supply for RTC and backup registers BAT from Stop Clock management Communication interfaces 4 to 32 MHz crystal oscillator 2 Up to two I C interfaces, one supporting 32 kHz oscillator for RTC with calibration Fast Mode Plus (1 Mbit/s) with extra Internal 8 MHz RC with x6 PLL option current sink, SMBus/PMBus and wakeup from Stop mode Internal 40 kHz RC oscillator Up to two USARTs supporting master Up to 54 fast I/Os synchronous SPI and modem control, one All mappable on external interrupt vectors with ISO7816 interface, LIN, IrDA Up to 35 I/Os with 5 V tolerant capability capability, auto baud rate detection and 5-channel DMA controller wakeup feature Up to two SPIs (18 Mbit/s) with 4 to 16 One 12-bit, 1.0 s ADC (up to 16 channels) 2 programmable bit frame, one with I S Conversion range: 0 to 3.6 V interface multiplexed Separate analog supply from 2.4 up to 3.6 HDMI CEC interface, wakeup on header One 12-bit DAC channel reception Two fast low-power analog comparators with Serial wire debug (SWD) programmable input and output 96-bit unique ID Up to 17 capacitive sensing channels All packages ECOPACK 2 supporting touchkey, linear and rotary touch sensors Up to 11 timers One 16-bit 7-channel advanced-control timer for 6 channels PWM output, with deadtime generation and emergency stop One 32-bit and one 16-bit timer, with up to 4 IC/OC, usable for IR control decoding One 16-bit timer, with 2 IC/OC, 1 OCN, deadtime generation and emergency stop January 2017 DocID023402 Rev 4 1/104 This is information on a product in full production. www.st.comContents STM32F058C8 STM32F058R8 STM32F058T8 Contents 1 Introduction 8 2 Description . 9 3 Functional overview 12 3.1 ARM -Cortex -M0 core 12 3.2 Memories . 12 3.3 Boot modes . 12 3.4 Cyclic redundancy check calculation unit (CRC) . 13 3.5 Power management . 13 3.5.1 Power supply schemes . 13 3.5.2 Power-on reset . 13 3.5.3 Low-power modes . 13 3.6 Clocks and startup 14 3.7 General-purpose inputs/outputs (GPIOs) . 15 3.8 Direct memory access controller (DMA) 16 3.9 Interrupts and events 16 3.9.1 Nested vectored interrupt controller (NVIC) 16 3.9.2 Extended interrupt/event controller (EXTI) 16 3.10 Analog-to-digital converter (ADC) 16 3.10.1 Temperature sensor 17 3.10.2 Internal voltage reference (V ) . 17 REFINT 3.10.3 V battery voltage monitoring . 18 BAT 3.11 Digital-to-analog converter (DAC) 18 3.12 Comparators (COMP) . 18 3.13 Touch sensing controller (TSC) 18 3.14 Timers and watchdogs . 20 3.14.1 Advanced-control timer (TIM1) . 20 3.14.2 General-purpose timers (TIM2, 3, 14, 15, 16, 17) . 21 3.14.3 Basic timer TIM6 21 3.14.4 Independent watchdog (IWDG) . 21 3.14.5 System window watchdog (WWDG) . 22 3.14.6 SysTick timer . 22 2/104 DocID023402 Rev 4