The STM8S005xx value line 8-bit microcontrollers offer 32 Kbytes of Flash program memory, plus 128 bytes of data EEPROM. They are referred to as medium-density devices in the STM8S microcontroller family reference manual (RM0016). All devices of the STM8S005xx value line provide the following benefits: performance, robustness, reduced system cost, and short develoment cycles. Device performance and robustness are ensured by true data EEPROM supporting up to 100 000 write/erase cycles, advanced core and peripherals made in a state-of-the art technology, a 16 MHz clock frequency, robust I/Os, independent watchdogs with separate clock source, and a clock security system. The system cost is reduced thanks to high system integration level with internal clock oscillators, watchdog and brown-out reset. Common family product architecture with compatible pinout, memory map and modular peripherals allow application scalability and reduced development cycles. All products operate from a 2.95 to 5.5 V supply voltage. Full documentation is offered as well as a wide choice of development tools.
Features
Core
• 16 MHz advanced STM8 core with Harvard architecture and 3-stage pipeline
• Extended instruction set
Memories
• Medium-density Flash/EEPROM: - Program memory: 32 Kbytes of Flash memory; data retention 20 years at 55°C after 100 cycles - Data memory: 128 bytes of true data EEPROM;enduranceupto100k write/erase cycles
• RAM: 2 Kbytes
Clock, reset and supply management
• 2.95 V to 5.5 V operating voltage
• Flexible clock control, 4 master clock sources: - Low power crystal resonator oscillator - External clock input - Internal, user-trimmable 16 MHz RC - Internal low power 128 kHz RC
• Clock security system with clock monitor
• Power management: - Low power modes (wait, active-halt, halt) - Switch-off peripheral clocks individually
• Permanentlyactive, low consumptionpower-on and power-down reset
Interrupt management
• Nested interrupt controller with 32 interrupts
• Up to 37 external interrupts on 6 vectors
Timers
• 2x 16-bit general purpose timers, with 2+3 CAPCOM channels (IC, OC or PWM)
• Advanced control timer: 16-bit, 4 CAPCOM channels, 3 complementary outputs, dead-time insertion and flexible synchronization
• 8-bit basic timer with 8-bit prescaler
• Auto wake-up timer
• Window and independent watchdog timers
Communications interfaces
• UART with clock output for synchronous operation, Smartcard, IrDA, LIN
• SPI interface up to 8 Mbit/s
• I 2C interface up to 400 Kbit/s
Analog-to-digital converter (ADC)
• 10-bit, ±1 LSB ADC with up to 10 multiplexed channels, scan mode and analog watchdog
I/Os
• Up to 38 I/Os on a 48-pin package including 16 high sink outputs
• Highly robust I/O design, immuneagainst current injection
Development support
• Embeddedsingle wireinterface module(SWIM) for fast on-chip programming and non intrusive debugging
Communications interfaces - SPI interface up to 8Mbit/s
UART with clock output for synchronous operation, SmartCard, IrDA, LIN
Highly robust I/O design, immune against current injection
Interrupt management - Up to 37 external interrupts on 6 vectors
Nested interrupt controller with 32 interrupts
Embedded single-wire interface module for fast on-chip programming and non-intrusive debugging
Auto wakeup timer
Core
STM8
Data Bus Width
8 bit
Packaging
Tray
ModelsDescriptionOperation
STM8S003K3T6C8-bit Microcontrollers - MCU, ST, LQFP-32Compare
STM8S003K3T6CTR8-bit Microcontrollers - MCU, ST, STM8Series8-bit8Compare
STM8S005C6T68-bit Microcontrollers - MCU, ST, QFP48Compare
STM8L162M8ST, LQFP 80 14x14x1.4Compare
STM8S005K6T6ST, LQFP32Compare
STM8S003F3U6Microcontrollers, ST, UFQFPN-20Compare