STMicro has launched a new 8-bit micro-controller that sells for $0.20 per unit in 10k quantities, a price not too far from the one of cheapest MCU, especially considering it comes with flash. STM8S001J3 is also the first STM8 MCU offered in 8-pin package (SO8N), and should compete with some of the Microchip Attiny or PIC12F series micro-controllers.
- Core – 16 MHz advanced STM8 core with Harvard architecture and 3-stage pipeline,extended instruction set
- System Memory – 1 Kbyte RAM
- Storage
- 8 Kbytes Flash memory; data retention 20 years at 55 °C after 100 cycles
- 128-byte true data EEPROM; endurance up to 100 k write/erase cycles
- Clock, reset and supply management
- 2.95 V to 5.5 V operating voltage
- Flexible clock control, 3 master clock sources: 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; permanently active, low-consumption power-on and power-down reset
- Interrupt management – Nested interrupt controller with 32 interrupts; up to 5 external interrupts
- Timers
- Advanced control timer: 16-bit, 2 CAPCOM channels, 2 outputs, dead-time insertion and flexible synchronization
- 16-bit general purpose timer, with 3 CAPCOM channels (IC, OC or PWM)
- 8-bit basic timer with 8-bit prescaler
- Auto wakeup timer
- Window and independent watchdog timers
- Communications interfaces
- UART, SmartCard, IrDA, LIN master mode
- SPI unidirectional interface up to 8 Mbit/s (master simplex mode, slave receiver only)
- I2C interface up to 400 Kbit/s
- Analog to digital converter (ADC) – 10-bit ADC, ± 1 LSB ADC with up to 3 multiplexed channels, scan mode and analog watchdog
- I/Os – Up to 5 I/Os including 4 high-sink outputs
- Debugging / Programming – Embedded single-wire interface module (SWIM) for fast on-chip programming and non-intrusive debugging
STM8S001J3 can be programmed with free (of charge) development tools such as Cosmic compiler, STM8CubeMX, Standard Peripheral Library and STVD IDE. You’ll find those tools, hardware and software documentation and way to purchase samples in the product page.
Thanks to Miklos for the tip
Jean-Luc started CNX Software in 2010 as a part-time endeavor, before quitting his job as a software engineering manager, and starting to write daily news, and reviews full time later in 2011.
Support CNX Software! Donate via cryptocurrencies, become a Patron on Patreon, or purchase goods on Amazon or Aliexpress
gcc?
@zoobab
No GCC for the STM8, but there is SDCC (Small Device C Compiler, http://sdcc.sourceforge.net/), which is far less famous, but still a great C compiler for a lot of microcontrollers. I used it for devt on a 8051 variant, and it worked perfectly.
STM8 is currently not supported by gcc. Alternative: IAR C, SDCC or COS-C-COMPILER(http://www.st.com/en/development-tools/cos-c-compiler.html)
@Loran
@zoobab
This reminds me I played with SDCC on an STM8S board before. Just to blink an LED though…
http://www.cnx-software.com/2015/04/13/how-to-program-stm8s-1-board-in-linux/