-Internal 48 MHz oscillator with automatic trimming based on ext. synchronization
· Up to 37 fast I/Os
-AlIl mappable on external interrupt vectors
-Up to 37 /Os with 5 V tolerant capability and 8 with independent supply VDDIo2
·5-channel DMA controller
· One 12-bit,1.0 us ADC(up to 10 channels)
-Conversion range:0 to 3.6V
-Separate analog supply:2.4Vto 3.6V
· Up to 14 capacitive sensing channels for touchkey, linear and rotary touch sensors
· Calendar RTC with alarm and periodic wakeup from Stop/Standby
· Nine timers
-One 16-bit advanced-control timer for six channel PWM output
-One 32-bit and four 16-bit timers, with up to four IC/OC, OCN, usable for IR control decoding
-Independent and system watchdog timers
-SysTick timer
· Communication interfaces
-One leC interface supporting Fast Mode Plus(1 Mbit/s) with 20 mA current sink, SMBuS/PMBus and wakeup
-Two USARTs supporting master synchronous SPI and modem control; one with ISO7816 interface, LIN, IrDA, auto baud rate detection and wakeup feature
-Two SPIs(18 Mbit/s) with four to 16 programmable bit frames, one with i2s inte rface multiplexed
-CAN interface
-USB 2.0 full-speed interface, able to run from internal 48 MHz oscillator and with BCD and LPM support
· HDMI CEC, wakeup on header reception
· Serial wire debug(SWD)
·96-bit unique ID
· All packages ECOPACKQ2
Description
The STM32F042x microcontrollers incorporate the high-performance ARM Cortex-M0 32-bit RISC core operating at a 48 MHz frequency, high-speed embedded memories (up to 32 Kbytes of Flash memory and 6 Kbytes of SRAM), and an extensive range of enhanced peripherals and I/Os. All devices offer standard communication interfaces (one I2C, two SPIs/one I2S, one HDMI CEC and two USARTs), one USB Full speed device (crystal-less), one CAN, one 12-bit ADC, four general-purpose 16-bit timers, a 32-bit timer and an advanced-control PWM timer.
The STM32F042x microcontrollers operate in the -40 to +85 °C and -40 to +105 °C temperature ranges from a 2.0 to 3.6 V power supply. A comprehensive set of power-saving modes allows the design of low-power applications.
The STM32F042x microcontrollers include devices in seven different packages ranging from 20 pins to 48 pins with a die form also available upon request. Depending on the device chosen, different sets of peripherals are included. The description below provides an overview of the complete range of STM32F042x peripherals proposed.
These features make the STM32F042x microcontrollers suitable for a wide range of applications such as application control and user interfaces, handheld equipment, A/V receivers and digital TV, PC peripherals, gaming and GPS platforms, industrial applications, PLCs, inverters, printers, scanners, alarm systems, video intercoms, and HVACs.
Core: ARM® 32-bit Cortex®-M0 CPU, frequency up to 48 MHz
Memories - 16 to 32 Kbytes of Flash memory - 6 Kbytes of SRAM with HW parity
CRC calculation unit
HDMI CEC, wakeup on header reception
Serial wire debug (SWD)
96-bit unique ID
| Core Processor | ARM? Cortex?-M0 | RAM Size | 6K x 8 |
|---|---|---|---|
| Core Size | 32-Bit | Voltage Supply (Vcc/Vdd) | 1.65V ~ 3.6V |
| Speed | 48MHz | Data Converters | A/D 13x12b |
| Connectivity | CANbus, HDMI-CEC, I2C, IrDA, LINbus, SPI, UART/USART, USB | Oscillator Type | Internal |
| Peripherals | DMA, I2S, POR, PWM, WDT | Operating Temperature | -40??C ~ 85??C (TA) |
| Number of I/O | 26 | Mounting Type | Surface Mount |
| Program Memory Size | 32KB (32K x 8) | Package / Case | 32-LQFP |
| Program Memory Type | FLASH | Supplier Device Package | 32-LQFP (7x7) |