The STM8S103F2/x3 access line 8-bit microcontroller provides 8 KB of flash program memory and integrated real data EEPROM. The STM8S microcontroller series reference manual (RM0016) refers to the devices in this series as low-density devices. They have the following advantages: performance, robustness, and reduced system costs. The advanced core and peripherals manufactured using advanced technology, 16 MHz clock frequency, robust I/O, independent watchdog with independent clock source, and clock safety system ensure device performance and robustness. Thanks to the integration of real data EEPROM with up to 300 k write/erase cycles, as well as high system integration with internal clock oscillator, watchdog, and undervoltage reset, system costs have been reduced.
main features
core
16 MHz advanced STM8 core, using Harvard architecture and 3-stage pipeline
Extended Instruction Set
memory
Program memory: 8 KB flash memory; After 10 cycles, data can be retained for 20 years at 55 ° C
Data storage: 640 bytes of true data EEPROM; Endurance 300 kcycles
Memory: 1 KB
Clock, reset, and power management
2.95 to 5.5 V working voltage
Flexible clock control, 4 main clock sources, low-power crystal resonator oscillator external clock input internal, user adjustable 16 MHz RC internal low-power 128 kHz RC
Clock security system with clock monitor
Power management: Low power mode (waiting, active stop, stop), separate shutdown of external clock
Permanent activity, low-power on/off reset
Interrupt management
Nested interrupt controller with 32 interrupts
Up to 27 external interrupts on 6 vectors
timer
Advanced control timer: 16 bits, 4 CAPCOM channels, 3 complementary outputs, dead time insertion, and flexible synchronization
16 bit universal timer with 3 CAPCOM channels (IC, OC, or PWM)
8-bit basic timer with 8-bit prescaler
Automatic wake-up timer
Window watchdog and independent watchdog timer
communication interface
UART with clock output for synchronous operation, smart card, IrDA, LIN main mode
SPI interface up to 8 Mbit/s
Up to 400 kbit/s I2C interface
Analog to Digital Converter (ADC)
10 bit, ± 1 LSB ADC with up to 5 multiplexing channels, scanning mode, and analog watchdog
I/O interface
Up to 28 I/Os, packaged with 32 pins, including 21 high current outputs
Highly robust I/O design, resistant to current injection
Unique ID
96 bit unique key for each device