STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM8S003F3 Timer Issue

Posted on May 20, 2015 at 23:52Hey guys, I recently wrote some code to turn on Timer1 channels 1-3 and Timer2 channel 1 as PWMs to pulse a few LEDs. This code was originally written for the STM8S003K3, but I am now trying to switch over to an STM8S0...

cfleck by Associate II
  • 425 Views
  • 0 replies
  • 0 kudos

STM8L MCU interface to ST-LINK/V2 programmer

Posted on April 30, 2015 at 01:32First time using an STM8L MCU.  I am drawing a schematic and I am not sure if my programming connector is wired right.  I will use an ST-LINK/V2 programmer.  Do I simply connect the 4-pin connector as shown below?  P...

0690X00000602m6QAA.jpg
jmm385 by Associate
  • 660 Views
  • 2 replies
  • 0 kudos

STM8S003k3 TIM1 PWM problem

Posted on May 08, 2015 at 15:44Hello every one. I have a workable code of pwm on STM8S105K4T6 and now I paste it in STM8S003k3 fnd it won't work.&sharpdefine CCR1_Val  ((u16)2047) // Configure channel 1 Pulse Width Blue&sharpdefine CCR2_Val  ((u16)2...

STVD: Preserve EEPROM

Posted on May 05, 2015 at 15:59How can I preserve the EEPROM contents when debugging my application on the STM8S003?I use STVD and either the STLink/V2 or the RLink.

Implement one wire slave ?

Posted on January 30, 2013 at 15:12Please can you tell me how to implement one wire slave in stm8s ?Note: the one wire master is GPS TELTONIKA FM1100 #1-wire

STM8S003F3U programming

Posted on April 16, 2015 at 14:04I'm totally new to STM8 microcontroller series. I'm planning to do a project using STM8S003F3U controller in which ADC and timer module will be used. It would be useful if i could find some sample codes for ADC,timer...

Debugging problem of STM8

Posted on April 30, 2015 at 08:21I'm doing a project on STM8S003F3. Im using IAR instead of stvd for developmeant purpose. I could create my sample project and successfully debugged it. It was working fine for few days. But today debug session termi...

STM8 startup bug Timer 2 input capture

Posted on April 28, 2015 at 12:50 Hi, I wanna make a frequency pulse counter with an STM8. The counter is based on the input capture of the STM timer 2. The frequency is a frequency with a range of 1 Hz - 20 kHz. With the following ...

mitchell by Associate
  • 473 Views
  • 0 replies
  • 0 kudos

Bit Variables ISR Safe?

Posted on April 24, 2015 at 20:43I am using the Cosmic compiler and I want to read and write bit variables in an ISR.  I am wondering if there is a guarantee that ALL bit variable manipulations are atomic (ie using bitwise instructions).  If not - s...

stm8s

Posted on April 27, 2015 at 22:29I am using STM8S207K6 with application to read external EEPROM 24c02 with multiprocessor environment. I am unable to read and write data using internal I2C registers. I am using cosmic compiler. Can anybody help plea...