Skip navigation
All Places > STM8 MCUs Community

STM8 MCUs

Log in to follow, share, and participate in this community.

Recent Activity

marton.miklos
Dear ST!   As a hobby STM8 user I am forced to use the STVD with Cosmic compiler because this is the only free development environment with debug capabilities.   I would have the following suggestions to make the usage of tool less painful (because it is right now...).   - Add a do not show this dialog again options for this dialog:     I am… (Show more)
in STM8 MCUs
Pradeep  K
I want to read the ADC sample value connected to Port B pin 0, when I check the sampling speed, I get it as 1.152 milli seconds per sample, can you let me know if my setting are correct. I am not using timer1 in my code.   //Clock Configuration   static void CLK_Config(void) { CLK_HSIPrescalerConfig(CLK_PRESCALER_HSIDIV1); return; }   //ADC… (Show more)
in STM8 MCUs
Gary Ho
Hi All,   I am using STM8S208MBT6B MCU and the STM8S Touch Sense Library. The Touch Sense Library use TIM3 for VIH/VIL measurement and TIM4 as a generic timebase for the state machine. When I try to use TIM1 to generate a 1ms interrupt, I notice that interrupt is not correct. It always delay a period of time. When I remove the Touch Sense code,… (Show more)
in STM8 MCUs
Ozgur BOSTAN
Hi all,   I am using STM8S003K3 mcu to develop a project based on some interrupt applications (TIMER overflow, UART receive). When I try to enable general interrupts by using "enableInterrupts()"  function mcu gets stuck and all functions halt down. I enable peripheral interrupt registers but the general interrupts are not working properly. Is… (Show more)
in STM8 MCUs
toan92.lee
Hi all. please help me. I program my code in IAR embeded, I built no error, no warning, but it not working. this is my code in main.c : #include "main.h" void main(void) {   CLK_HSICmd(ENABLE);   CLK_SYSCLKConfig(CLK_PRESCALER_HSIDIV1);   GPIO_Config();   TIM1_Config();      while (1)   { //TIM1_SetCompare1(349);   }    } void… (Show more)
in STM8 MCUs
Matt Wilson
I 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 side. I am not a C programmer, but I have looked at the code for STM8FLASH (on GitHib) and it shows that I need to know more about… (Show more)
in STM8 MCUs
marton.miklos
Hello all,   I would like to generate register map definition header files preferably for all STM8 MCUs to for the SDCC project.   Is there any database (XML, MDB, whatever) from what I could generate it without hurting any license?   Thanks in advance!
in STM8 MCUs
Abhishek Kulkarni
I'm trying to interface a lcd with the stm8. My code is as follows: (I'm using the 16 MHz internal clock) # include "stm8l.h" # include "stm8s.h" void lcdinit(void) {      LCD_CR1 = 0x06;      LCD_CR2 = 0xEE;      LCD_FRQ = 0X30;      LCD_PM0 = 0x92;      LCD_PM1 = 0x00;      LCD_PM2 = 0xB0;      LCD_PM3 = 0x04;      LCD_RAM0 = 0xFF;… (Show more)
in STM8 MCUs
Load more items