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

Multi Channels ADC of STM8L DISCOVERY (STM8L152C6T6) ADC

Posted on May 31, 2018 at 08:54Hello all,1) I am new to ST MCUs, and I had developed a simple code based on STM8L DISCOVERY (STM8L152C6T6) to read three ADC channels (IN_16, IN_17, and IN_18) once at a time in sequence and print them to the UART as ...

What are the differences between STM8S003xx and STM8S903xx?

Posted on November 05, 2017 at 21:24Hello everyone,Looking at the documents on the chips, I did not find any significant differences. Tell me please how they differ, and which model is preferable 003 or 903?Thanks.#stm8s903 #stm8s003 #stm8s #differe

STM8L EEPROM Block Programming

Posted on June 04, 2018 at 08:05 Hello I'm use STM8L151G6 I'm trying use block programming as below: //Unlock EEPROM memory FLASH_Unlock(FLASH_MemType_Data); while (FLASH_GetFlagStatus(FLASH_FLAG_DUL) == RESET); FLASH_ProgramBlock(0,...

STM8S TIM1 delayed interrupt problem

Posted on May 30, 2018 at 13:09Hi!I need time-delayed interrupt using TIM1 in my STM8S105K4 project in IAR free IDETIM2 & TIM3 already in use.void SetupTimer1(){  #define TIM1_PRESCALER 16000L// once 1 msec  TIM1_PSCRH = (unsigned char)(TIM1_PRESCAL...

STVD keep crashing at programmer stage

Posted on June 02, 2018 at 18:01I've installed STVD for some work to do with some stm8s processor. However STVD keep crashing everytime I select 'tools/programmer'. Sometime (but rare) when I can go behond, I acess the dialog box but crashes again a...

Resolved! array of more then 16bytes

Posted on May 31, 2018 at 16:19hello, can you help me please, to have in assembler an array of more then 16 bytes. i tryed this 'table dc.b  $ff,...........$FF,' but it just accept max 16 bytes, my question is how can i reach for example 255 bytes ,...

jump to main user application failed

Posted on May 30, 2018 at 11:07Hi,I am working on a custom bootloader code for the STM8S207.using the standard jump routings that are used in the example code AN2659.the example code work fine, when i try to change location from 0xA000 to 0x11000 of...

Unable to Build project

Posted on May 25, 2018 at 10:22I am new to ST.I downloaded and installed STVD and Cosmic Free Compiler on Windows 7I made a project and trying to build I get the following error message.----------- Project helloworld - STM8 Cosmic - Configuration De...