STM8 MCUs

Discuss STM8 microcontrollers, including SWIM, USART configurations, RTC usage, ADC issues, and debugging.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

ADC1 single scan conversion problem

Posted on September 16, 2014 at 11:21Hello everybody, when doing ADC1 single scan conversion (ADC0 to ADC2 channels) during the first run after reset the ADC2 is always 0 (ADC1 and 0 are OK). The next and following sets of readings are then all OK. ...

pok-on by Associate II
  • 1168 Views
  • 3 replies
  • 0 kudos

Custom Bootloader, Debugging and the Cosmic Compiler

Posted on November 09, 2017 at 15:33Hi,I am currently working with the STM8S003K3 and I am attempting to write a bootloader function which will take an S-Record line by line and write the contained data to Flash. I have seen that is common practice ...

STM8S105C4T6 Now work ! adc1 with scan mode

Posted on December 08, 2014 at 05:05After used a lot of time to read and find (and not found), now i have done the code after try it own.And now, i want to share to you.my project need to get analog input 5 channels from ch0 to ch4 with scan modetha...

ekpol by Associate II
  • 530 Views
  • 1 replies
  • 0 kudos

UART1 RECEIVE is not working

Posted on November 09, 2017 at 11:13Hello,Actually I am interfacing ESP8266 wifi module with STM8S003F3P6 MCU . I have  programed the wifi module to get data from internet and send it to STM8S003F3P6. Data is character 1 or 0. Wifi module is working...

SDCC generates the fastest integer code for STM8

Posted on July 25, 2016 at 12:39 Code speed results didn't look that good for SDCC at the time of the SDCC 3.6.0 release about a month ago (http://colecovision.eu/stm8/compilers.shtml). But SDCC has made huge progress since, and now achieves highe...

0690X00000604s9QAA.png

Should we hope for long-term use of stm8?

Posted on October 12, 2017 at 14:20Hello everybody,Recently, the company has been actively offering to transfer your projects from 8-bit micro-controllers to 32-bit ones. In view of this, I had concerns about the feasibility of future developments w...

Enabling ROP in application?

Posted on November 08, 2017 at 07:47Hello. Is it possible to enable ROP in application? Let's say I transmit a command to MCU through UART and then MCU enables ROP. I am using STM8AF6223.It is stated in PM0051 that 'readout protection is enabled by ...

STM8L051F3P6 bootloader USART pins

Posted on October 20, 2017 at 09:25Hello! What USART pins of STM8L051F3P6 are dedicated for bootloader, PC5-PC6 or PA2-PA3? Can't find any info about that.The same question about stm8l151c6.Thanks!#bootloader #usart-pins #stm8l051f3

STM8L051F3 - PA0 changes its state from 0 to 1 after HALT

Posted on November 07, 2017 at 01:15Hello, I'm working on project with STM8L051F3 and detect strange behavior of PA0 when entering in active HALT mode.Sometimes after execution of HALT at the output of PA0 there is '1' although it is programmed in '...

Where do I find ST-LINK/V2 host interface details

Posted on June 29, 2017 at 14:02I am a Linux user (hobbyist), with ST-LINK/V2 connecting to various STM8S  devices. I can find details of the SWIM and DM interfaces on the device side (ST document UM0470), but cannot locate any details of the host s...