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 BY PC7 GPIO in stm8S003F3P6

HIi have connected a stm8s003f3p6 to a common anode 7segment.one of segments has connected to PC7 gpio and it is always on because PC7 does not drive to high level voltage.it would be appreciated if help me?thanks

Amous.1 by Associate
  • 958 Views
  • 3 replies
  • 0 kudos

cannot get stm8s105 timer2 TimeBase to generate interrupt every 1us

Please help. What do I miss? I can get timer2 to generate interrupt every 5us, but not 1us. I use sample code from stm8s discovery board. Scope capture (on pin LED2_Y, attached) shows interrupt period of 5us. Captures of Registers are also attached. ...

JNguyen by Senior
  • 1516 Views
  • 4 replies
  • 0 kudos

Stm8s Discovery & MODBUS RTU

Posted on March 30, 2011 at 12:52I've tried to look for a Modbus RTU version for the STM8s. It seemed that nothing exists yet. So I decided to write a tiny version of it for the only purpose of the most basic RTU functions that do the job, which a...

spiovan9 by Associate II
  • 4782 Views
  • 10 replies
  • 0 kudos

TIM1 one-pulse PWM mode with four outputs -- I would like the pulses to start HIGH immediately when I enable the timer, so that they can go LOW individually at different times depending on each comparison.

I'm a beginner at STM8 programming. I'm designing a quad trailing-edge dimmer as my first STM8S003F3 project. I have a zero crossing pulse tied to a pin and generating an interrupt, and on this interrupt I want to trigger pulses on four output that e...

Generating random number

We have many STM8S001J3 connected to the same data bus. Each of them should generate a random number to use it as its own ID. We cannot use ADC to generate the number because all pins are in use. We cannot use clock because all MSU boot at the same t...

DDavy.1 by Associate
  • 743 Views
  • 3 replies
  • 0 kudos

Resolved! STM8L001J3

regarding STM8L001J3 , Should I code directly into the register?No library..?

SSHIN.11 by Associate II
  • 819 Views
  • 1 replies
  • 0 kudos