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

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
  • 519 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...

where will i get pspice model for stm8s muc???

Posted on June 28, 2017 at 09:25i am designing my own circuit by using stm8s003f3 muc... to simulate my whole design on OrCAD and make its PCB layout....plz help me....

ADC in STM8S105C6T6

Posted on June 26, 2017 at 22:26Hello all,I am using the 10 bits ADC converter of the STM8S105C6T6 MCU.I have a question about the maximum rating of the analog input voltage channel:in the datasheet of the MCU, it said that the max positive input vo...

0690X00000607TxQAI.png 0690X00000607VtQAI.png

USART with stm8l

Posted on June 19, 2017 at 20:12I am trying to interface USART1 with the stm8l. However I am getting a problem that whatever the value I assign to the USART1_DR , it always takes the value of 0xff no matte what. my code is as follows:(I am working w...

STM8L151G6' I2C: simple and robust communication needed

Posted on June 20, 2017 at 21:29 Hello, My apologize for poor English I'm working on the'simple' (as I thought) task: reading thermo sensor's indication over I2C interface. The procedure is: send command, 1 byteread sensor's answer, 3 by...

Alex T_2 by Associate
  • 620 Views
  • 0 replies
  • 0 kudos

Interrupts with STM8S003F3P6 and TIM2

Posted on June 17, 2017 at 12:50STVD 4.3.10Cosmic V4.3.7eBay el cheapo STM8S003F3P6 (The blue one with the LED on B5)Hello all. I am having a bit of a problem with I suspect basic interrupt coding. I have the LED blinking at a variable rate with a v...