STM8AL313x/4x/6x STM8AL3L4x/6x Automotive 8-bit ultra-low-power MCU, up to 32-Kbyte Flash, RTC, data EEPROM, LCD, timers, USART, I2C, SPI, ADC, DAC, COMPs Datasheet production data Features AEC-Q100 qualified Operating conditions LQFP48 LQFP32 VFQFPN32 7 x 7 mm 7 x 7 mm Operating power supply range 1.8 V to 5 x 5 mm 3.6 V (down to 1.65 V at power down) Memories Temperature range: - 40 C to 85 or 125 C Program memory: up to 32 Kbyte Flash Low power features program data retention 20 years at 55 C Five low-power modes: Wait, low-power Data memory: up to 1 Kbyte true data run (5.1 A), low-power wait (3 A), active- EEPROM endurance 300 kcycle halt with full RTC (1.3 A), halt with PDR RAM: up to 2 Kbyte (400 nA) DMA Run from Flash: 195 A/MHz + 440 A Four channels supported peripherals: Run from RAM: 90 A/MHz + 400 A ADC, DAC, SPI, I2C, USART, timers Ultra-low leakage per I/0: 50 nA One channel for memory-to-memory Fast wakeup from Halt: 4.7 s 12-bit DAC with output buffer Advanced STM8 core 12-bit ADC up to 1 Mbps/25 channels Harvard architecture and 3-stage pipeline Temp sensor and internal reference voltage Max freq. 16 MHz, 16 CISC MIPS peak Two ultra-low-power comparators Up to 40 external interrupt sources One with fixed threshold and one rail to rail Reset and supply management Wakeup capability Low power, ultra safe BOR reset with 5 Timers selectable thresholds Two 16-bit timers with two channels (used Ultra-low power POR/PDR as IC, OC, PWM), quadrature encoder Programmable voltage detector (PVD) One 16-bit advanced control timer with Clock management three channels, supporting motor control 1 to 16 MHz crystal oscillator One 8-bit timer with 7-bit prescaler 32 kHz crystal oscillator Two watchdogs: one window, one Internal 16 MHz factory-trimmed RC independent Internal 38 kHz low consumption RC Beeper timer with 1-, 2- or 4 kHz Clock security system frequencies Low power RTC Communication interfaces BCD calendar with alarm interrupt Synchronous serial interface (SPI) Auto-wakeup from Halt (0.95 ppm Fast I2C 400 kHz SMBus and PMBus resolution) w/ periodic interrupt USART (ISO 7816 interface, IrDA, LIN 1.3, LIN 2.0) LCD: up to 4x28 segments w/ step-up converter Up to 41 I/Os, all mappable on interrupt vectors April 2019 DS7106 Rev 9 1/123 This is information on a product in full production. www.st.comSTM8AL313x/4x/6x STM8AL3L4x/6x Development support Fast on-chip programming and non intrusive debugging with SWIM Bootloader using USART 96-bit unique ID Table 1. Device summary Reference Part number STM8AL313x/4x/6x STM8AL3136, STM8AL3138, STM8AL3146, STM8AL3148, STM8AL3166, (without LCD) STM8AL3168 STM8AL3L4x/6x STM8AL3L46, STM8AL3L48, STM8AL3L66, STM8AL3L68 (with LCD) 2/123 DS7106 Rev 9