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

STVD improvements

Posted on December 21, 2016 at 09:10Dear 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 ...

0690X00000605ttQAA.png 0690X00000605tyQAA.png 0690X00000605ucQAA.png 0690X00000605ScQAI.png

STM8S TIMER1 ONE PULSE MODE

Posted on July 15, 2017 at 07:28Hello everyone ,I am trying to program STM8S timer1 in One Pulse mode, after reading the data-sheet of STM8S003F3P6,I have understood that how to program timer1 in one pulse mode but I don't understand that after  pro...

ADC 1 STM8S Discovery, speed is very slow. I am getting the speed as 1.152 milli seconds per sample, can you please tell me what is wrong with my code, I have attached the snapshot of code below.

Posted on July 17, 2017 at 11:06I 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 co...

STM8S003K3 General Interrupts Enable Problem

Posted on July 10, 2017 at 21:48Hi 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...

STM8S208MB Touch Sense Library

Posted on July 11, 2017 at 10:52Hi 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 ...

Gary Ho by Associate
  • 445 Views
  • 0 replies
  • 0 kudos

STM8S TIM1 PWM2 not working

Posted on June 25, 2016 at 05:22Hi 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_PRE...

LCD with stm8

Posted on June 28, 2017 at 07:09I'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 = 0...

Timer 1, Channel 3 Lower Than Expected Output Voltage

Posted on September 04, 2012 at 14:41I have been developing some applications for the STM8S103F3 which I have on breadboard and I have recently transferred one of the projects to the STM8S Discovery board and I am finding a difference in behaviour w...

Nevyn by Associate II
  • 559 Views
  • 2 replies
  • 0 kudos