STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

PWM in STM8S001J3

Hi I have red the reference manual if STM8S001J3, but I still confused whether pwm is the same as TIM ? But when I checked in the section of TIM1, TIM2, adn TIM4... Only TIM1 and TIM2 that have pwm mode. Does it mean that STM8S001J3 only has 2 pwm mo...

Advanced TIM1/TIM5 sync on STM8S903

Posted on June 07, 2018 at 21:07I'm having a little confusion interpreting the STM8S reference and STM8S903 data sheet.  The STM8S903 is the part with TIM5 and TIM6 instead of TIM2 and TIM4, and adds the advanced triggering mechanism that allows lin...

Resolved! Issues Generating PWM on Timer 2

Posted on June 05, 2018 at 17:09Hi,I have been doing a little work recently with the STM8S003k3 Discovery board, where I attempting to create a 800Hz signal with a 80/20 duty cycle. The issue I am experiencing is that I have no output on the pin!Now...

STM8AF6266 to control LED wiping sequence

Posted on April 19, 2018 at 02:55I am trying to use STM8AF6266 to control the LED wiping sequence.PC1~PC7 connect to 7 branches of LEDs.By programming the flash, I was able to observe one-time wiping sequence, but I would like to see continuous wipi...

Timer in STM8

Posted on December 15, 2016 at 07:27Hello. I am using a STM8  (STM8S208C8T6) and reading a code (not written by me) that employs a timer and its interrupt to call several routines.  Apparently the clock is set at 16MHz i.e. 0.0625uS. The settings of...

d_aliaga by Associate II
  • 733 Views
  • 3 replies
  • 0 kudos

stm8s TIM1 PWM not working

Posted on April 18, 2016 at 14:20Hi,I'm trying to operate TIM1 on STM8S003F3P6, I am using the standard peripheral library code, but I am only able to produce pwm on TIM1_CH3 (PC3) pin, the other pins do not produce any waveforms at all. I'm sure th...

udilevy by Associate II
  • 1184 Views
  • 2 replies
  • 0 kudos

STM8 how to change Duty Cycle during running

Posted on January 04, 2018 at 13:40Hello community,i try to programm an code for my experimentation and i have a problem .. my code should change the duty cycle ie. the value of CCR2_V if the value of Convertion_Value_Current exceeds or is below a s...

Getting an delay by timer interruption

Posted on November 13, 2017 at 17:44Hello Everyone,I am working on the STM8AL3166 and try to handle a timer interrupt. My need is to wait 500ms and then check again a value (not pooling)How/Where do I write the program when the interrupt occurs? Whe...

david.ye by Associate II
  • 1338 Views
  • 11 replies
  • 0 kudos

Cann't enter capture interrupt subroutine

Posted on August 08, 2017 at 14:25hi all, I have recently tried the official code according to the application note AN2822: STM8S and STM8A high speed internal oscillator calibration. Since I use STM8S003k3 MC, I modified the code from timer 3 to ti...

Lei Sun by Associate II
  • 402 Views
  • 0 replies
  • 0 kudos