Skip to main content
Visitor II
July 31, 2017
Question

[STM8S001J3] First STM8 MCU in 8-pin package: introduction

  • July 31, 2017
  • 6 replies
  • 3566 views

Posted on July 31, 2017 at 20:33

[STM8S001J3] First STM8 MCU in 8-pin package: introduction

Dear STM8 Community,

This is a very exciting moment for all of us. STM8 MCUs family was extended with a new device, which is named STM8S001J3. This new family member reshapes STM8 portoflio and takes it to the new level by introducing new, tiny, small form factor package - SO8N. 

0690X00000603zLQAQ.jpgSTM8S001J3 belongs to STM8S Value Line series. All STM8S Value line microcontrollers are fully compatible with the existing STM8S product portfolio, sharing the same IPs, key parameter performance and development tools.

STM8S001J3

has small package and little number of pins, but still it embeds rich set of peripherals. Below some of key features of this device:

  • Core and system
    • Flexible clock control capable to use three clock sources: 2 internal (HSI 16MHz, LSI 128kHz), 1 external clock input.
    • Wide operating voltage range: from 2.95V to 5.5V
    • 5 I/Os
    • 8- and 16-bit timers
  • Memories
    • 8k Flash
    • 1k RAM
    • 128 Bytes EEPROM
  • Conenctivity and debug
    • UART
    • SPI
    • I2C
    • Single Wire Interface Module
  • Analog
    • 10-bit ADC with 3 channels

0690X00000607m6QAA.pngAll these peripherals can be used on 5 I/Os thanks to smart multiplexing system.

0690X00000607gQQAQ.pngYou can immediately start your design based on STM8S001J3 with free of charge development tools:

http://cosmicsoftware.com/download_stm8_free.php,

http://www.st.com/en/development-tools/stm8cubemx.html,

http://www.st.com/en/embedded-software/stsw-stm8069.html and http://www.st.com/en/development-tools/stvd-stm8.html.

More information you can find on

http://www.st.com/content/st_com/en/products/microcontrollers/stm8-8-bit-mcus/stm8s-series/stm8s00x-value-line/stm8s001j3.html.

    This topic has been closed for replies.

    6 replies

    Visitor II
    August 1, 2017
    Posted on August 01, 2017 at 05:28

    Very nice news. When we can get samples from distributros?

    Visitor II
    August 1, 2017

    Posted on August 01, 2017 at 11:21

    Hello Jason,

    STM8S001J3 is already fully mature and is in mass production. You should be able to place orders and get samples of MCUs now.

    If STM8S001J3 looks interesting for you, I encourage you to take a look on our reference design, which shows how easy is to design hardware with this MCU:

    https://community.st.com/0D50X00009bMM7iSAG

    . 0690X00000603tiQAA.jpg

    Regards

    Szymon

    Visitor II
    August 5, 2017
    Posted on August 05, 2017 at 09:17

    Thanks for the reference design!

    I'd like to bring

    https://github.com/TG9541/stm8ef/

    to this small device. I browsed the datasheet, and besides the option bytes I didn't see any major difference to the STM8S003F3. It's likely that the Forth console should work right away after flashing the CORE or the MINDEV

    https://github.com/TG9541/stm8ef/releases/tag/v2.2.12

    , and connecting the UART (9600N81).

    Unfortunately I don't know how buy a sample in Germany. It would be really nice if you could give it a try, or, even better, let me know how to get a sample.

    Visitor II
    August 7, 2017
    Posted on August 07, 2017 at 14:51

    Great news!

    Do you know any distributors who has it in stock now?

    Visitor II
    August 7, 2017
    Posted on August 07, 2017 at 15:50

    Hello,

    I am sorry, but I don't have such information. Looking at distributor's websites I didn't find any place, where you can immediately order it. I only managed to find STM8S001J3 webpage in

    https://www.rutronik24.com/product/st/stm8s001j3m3/9597768.html

    and

    http://eu.mouser.com/ProductDetail/STMicroelectronics/STM8S001J3M3

    , but there is no stock at the moment. I would encourage you to contact directly your local distributor and ask for possibility to place an order.Alternatively I can send you few samples if you want, just send me a message with shipping adress.

    Update: Farnell offers now STM8s001J3:

    http://uk.farnell.com/search?st=stm8s001j3

    .

    Regards

    Szymon

    Visitor II
    August 12, 2017
    Posted on August 12, 2017 at 17:43

    I spent some time with the datasheet:compared to STM8S003 devices the option for remapping UART1_TX to PA3 was the only major functional difference I could spot (I had already noticed that NRST isn't always needed for using the ICP feature - that's how a new firmware can be programmed to certain Chinese

    https://github.com/TG9541/stm8ef/wiki/Board-CN2596

    ).

    There is a bit about how to deal with unconnected GPIOs doesn't appear in earlier Low Density device datasheets (e.g. STM8S003):

    Note: The PA2, PB0, PB1, PB2, PB3, PB6, PB7, PC1, PC2, PC7, PD0, PD2, PD4, PD7, PE5 and PF4 GPIOs should be configured after device reset in output push-pull mode with output low-state to reduce the device’s consumption and to improve its EMC immunity. The GPIOs mentioned above are not connected to pins, and they are in input-floating mode after a device reset.

    It's hard to tell which impact this has on noise immunity and power consumption but practitioners should take note.

    For more details please refer to the

    https://github.com/TG9541/stm8ef/wiki/STM8-Low-Density-Devices

    .

    Visitor II
    September 7, 2017
    Posted on September 07, 2017 at 18:50

    Hello,

    Is it possible to buy it in Russia? I can't find it anywhere.

    Best regards, Alexey.

    Visitor II
    November 2, 2017
    Posted on November 02, 2017 at 20:11

    Hi Szymon,

    I am using the 128kHz internal clock. Is it possible to use the ADC with my clock setting ?

    Visitor II
    November 4, 2017
    Posted on November 04, 2017 at 18:46

    Hello Rebeca,

    I confirm that ADC will work with internal 128kHz RC clock source. First I checked the documentation and I didn't find any limitation. Second I developed an example application with a minimum code based on Standard Peripheral Library. I tested it and it works fine. Please find below the content of main.c file.

    &sharpinclude 'stm8s.h'  uint16_t ADC_value = 0;  main() {  CLK_LSICmd(ENABLE);  CLK_ClockSwitchCmd(ENABLE);  CLK_ClockSwitchConfig(CLK_SWITCHMODE_AUTO, CLK_SOURCE_LSI, DISABLE, CLK_CURRENTCLOCKSTATE_DISABLE);   ADC1_Init(ADC1_CONVERSIONMODE_SINGLE, ADC1_CHANNEL_6, ADC1_PRESSEL_FCPU_D2, ADC1_EXTTRIG_GPIO, DISABLE, ADC1_ALIGN_RIGHT, ADC1_SCHMITTTRIG_CHANNEL0, DISABLE);  ADC1_Cmd(ENABLE);   while (1)  {  ADC1_StartConversion();  while(ADC1_GetFlagStatus(ADC1_FLAG_EOC) == RESET)  {  }  ADC_value = ADC1_GetConversionValue();  ADC1_ClearFlag(ADC1_FLAG_EOC);  } }�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?

    Regards

    Szymon

    February 27, 2018
    Posted on February 27, 2018 at 21:56

    Interesting part and I have applications for it. However I am not allowed to touch it as lead times are horrendous at this moment (30 weeks at Digikey)

    Visitor II
    February 28, 2018
    Posted on February 28, 2018 at 23:04

    A more pin efficient stm8s003f is probably more useful. Or a sot-variant for applications with limited real estate.