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

[SOLVED] problem with STVD + COSMIC.. STM8S103K + ST-LINK_V2

Posted on April 05, 2016 at 15:26First i'm sorry for my bad in englishi have 2 problem for STVD+COSMIC/**------------------- first question -------------------- **/#include ''stm8s103k.h''int main(void){ CLK_CKDIVR = 0; // prescaler system clock =...

TIM1_CH4 OF STM8S005K6

Posted on April 04, 2016 at 09:08i am using STM8S005K6 and generating the PWM in TIM1_CH4. if  I am using DEFAULT ALTERNATE FUNCTION then PWM generates on PC4 but if i am using  ALTERNATE FUNCTION AFTER REMAPING then PWM is generating on both PC4 an...

STM8S103F3P6 Programming

Posted on March 17, 2016 at 16:31I am a software engineer, but I have been working with various development boards as a hobbyist. My latest purchase was a minimum STM8 board off ebay (http://r.ebay.com/YaYe2P) so I could start learning that platform...

0690X00000602lFQAQ.jpg
nathon by Associate
  • 1513 Views
  • 2 replies
  • 0 kudos

Standard bliniking program not working? STM8S103F3P6

Posted on March 30, 2016 at 18:21 Hello forum, i am trying to get a standard linking led program running on my STM8S103F3P6 development board but i am not sure what i am doing wrong. I connected a LED to PIN D3, this is my code: ...

loder by Associate II
  • 598 Views
  • 0 replies
  • 0 kudos

SDCC support for ST Visual Develop

Posted on March 29, 2016 at 11:46Hello ST/Forum, I have updated SDCC with some patches that allows it to create ELF files that are loadable in ST Visual Develop. The only thing missing is for GDB7 (internal GDB used in Visual Develop) to recognize t...

Example Code for Simple GPIO and ADC

Posted on March 23, 2016 at 20:12Hi, I am new to using STM8.I just bought an evaluation board. I am hoping if there are example codes out there for setting up GPIO and ADC.Let's say I want to read the potentiometer value using the ADC

ghan by Associate
  • 457 Views
  • 0 replies
  • 0 kudos

What kind of compiler to use with STLINK

Posted on March 18, 2016 at 19:25Hi, I am looking for a compiler that is free to use and it compatible with the STLINK. I am using the STM8S003F3.I read somewhere that Comic may be compatible. Any other suggestions will be awesome.

ghan by Associate
  • 584 Views
  • 1 replies
  • 0 kudos

Unable to clear I2C BUSY bit in STM8S-discovery

Posted on March 16, 2016 at 08:33 Unable to clear I2C BUSY bit in STM8S-discovery Hello Friends,  I have working experience of stm32f0xx microcontroller. But in case of stm8s003xx discovery board, I am stuck with a deadlock and am not able...

raj by Associate
  • 839 Views
  • 1 replies
  • 0 kudos