STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

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
  • 421 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
  • 492 Views
  • 2 replies
  • 0 kudos

I need a simple utility to program stm8l15 using ST-Link V2

Posted on June 13, 2017 at 20:42I need a simple utility to program an STM8L151G6U6TR using the USB ST-LINK V2 so that non-technical users in the field can upgrade the firmware in a consumer product. The MCU will always be STM8L151G6U6TR. So there sh...

ST7/STM8

Posted on June 29, 2017 at 10:13hi....to program ST7FL39, i used software ST VISUAL PROGRAMMER....when i used Rlink to read STM8S103K3 with SWIM connection i can read and write what i want.......when i used ICC connection to read  ST7FL39 on same pl...