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

If Statement and Operands on STM8L

Posted on December 30, 2014 at 03:12Would someone assist with the logic of my 4 stage if-statement.  It basically performs one of four groups depending upon how 2 dip switches are set.  The problem is that no matter how I set the 2 dip switches it a...

cosmic compiler bug

Posted on December 23, 2015 at 04:42Hi all Cosmic compiler:   Parser V4.11.4 - 12 Aug 2015,   Generator (Limited) V4.4.3 - 13 Oct 2015   Optimizer V4.4.3 - 13 Oct 2015 Consider the attached test code - testbug.c line 17 isCW = !isCW ; // generates...

Tutorials for STM8 Discovery boards and free tools

Posted on December 25, 2015 at 22:00There are now tutorials for 4 of the STM8 Discovery boards athttp://www.colecovision.eu/stm8/ The tutorials use the free C compiler SDCC and stm8flash. For the STM8S-DISCOVERY, STM8L-DISCOVERY and STM8A-DISCOVERY ...

Lots of tutorials for STM8S boards and free tools

Posted on December 24, 2015 at 17:05Recently, tutorials for many STM8S boards have been added athttp://www.colecovision.eu/stm8/ The previously existing tutorials there have been updated. The tutorials for 9 STM8S (and 1 STM8L) development boards sh...

STM8L Timer Trigger

Posted on December 23, 2015 at 10:19I am using STM8L051F3.I want to use Timer-2 ch-1 & ch-2 and Timer-3 ch-1 in sequence PWM mode.All 3 timer in PWM mode with Period of 6 ms.But first i want to start Timer-2 ch-1 PWM. After Complition of its 1st pul...

ritesh by Associate II
  • 452 Views
  • 0 replies
  • 0 kudos

How to erase the STM8S207S8T6C microcontroller

Posted on December 05, 2015 at 18:13Hi, I the first time write at this forum, prompt to me please, I have the STM8S207S8T6C microcontroller, and I have a programmator of ST-LINK/V2 and the ST Visual Programmer program, on mine the microcontroller is...

kamal1953 by Associate II
  • 2134 Views
  • 3 replies
  • 0 kudos

Problem in ADC1 (Scan Mode, Buffered reading) Triggered by TIM1

Posted on May 16, 2014 at 16:19Hi everyone I am using STM8S003F3 in my board. for reading 5 analog inputs in regular interval I have used single conversion - scan mode - buffered ADC triggered by TIM1 by the following code //ADC1_DeInit (); ADC1_I...

abbas by Associate II
  • 778 Views
  • 2 replies
  • 0 kudos

pre-build command in STVD

Posted on December 17, 2015 at 20:10Is there any way to execute a ''pre-build command'' in STVD? I would like to auto-increment a version number in the source-code prior to each build. I have a command-line utility that modifies a header file to do ...

dporter by Associate
  • 444 Views
  • 0 replies
  • 1 kudos

STM8 checksum

Posted on December 16, 2015 at 15:44Hi,i have generated hex file for a particular project. The controller used is stm8s003f3. My question is regarding checksum. I'm not familiar with checksum. How can i add checksum to this hex file.? How can i dete...

Generate TRGO event for triggering ADC conversion of STM8S003K3

Posted on December 16, 2015 at 20:38Hi all,I am working on sensing of my AC waveform (of 50 Hz) with ADC1 of STM8S003k3 MCU. There are three ways to trigger my ADC.1) Through software means(internally)2) TIM1 TRGO event3) External Trigger ADC_ETR (P...

deepak2 by Associate
  • 547 Views
  • 0 replies
  • 0 kudos