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

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
  • 754 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
  • 421 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
  • 526 Views
  • 0 replies
  • 0 kudos

Error using ST visual develop with DALI slave library

Posted on December 14, 2015 at 12:44Hi all,I downloaded the library stm8s_dali_lib and tried to build the project using the ST Visual Develop v4.3.8I got error: ''Error creating proces for executable cxstm8''Has anyone had the same issue?Best regard...

ecatala by Associate II
  • 433 Views
  • 0 replies
  • 0 kudos

STM8L Discovery

Posted on December 08, 2015 at 20:26Hi guys,I am trying to access STM8L Discovery board bootloader, to upload some code..The problem is...where can I connect my usb/rs232 converter??The pins for usart1 are connected to LCD display..Does any one know...

lmx1 by Associate II
  • 666 Views
  • 1 replies
  • 0 kudos

RTC problem

Posted on November 19, 2015 at 23:22I'm working on some code to set the RTC alarm, and I've gone through all the resources I can find on how to set this up correctly, but it's just not working. If you could take a look and see if I've missed anythin...

jherrmann by Associate II
  • 1713 Views
  • 2 replies
  • 0 kudos

zero page ram page memory mapping on STM8S003

Posted on December 09, 2015 at 10:21Hello,on STM8S003F3U according to datasheet there is 1024(total ram) - 513(stack) = 510 bytes for user application: 256 byte in the zero page and (510-256)= 254 in Ram section.If use the short stack compilation op...

I2C not working

Posted on December 05, 2015 at 10:29Hi, I'm using STM8S003F3 controller to monitor a temperature sensor using I2C Interface. I'm able to monitor while in debug and Run mode (in STVD IDE) using SWIM, but once I program into flash (using STVP through ...

aleena by Associate
  • 444 Views
  • 0 replies
  • 0 kudos

Need help

Posted on December 03, 2015 at 12:29I m beginer to tis stm8s i m using stm8s003 series with cosmic compiler to develop a product i need a sample of tm1638 interfacing with spi can any one help me please .. thanx in advance ..  #stm8s