STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

I'm trying to read an ADC(channel 7) which is the internal reference voltage channel for stm8s903f3, to print the adc value read on uart terminal. But for some reason its not continuously printing the adc value that is being updated.

It updates if I manually reset the board. I'm setting my baudrate as 11400, but it works only if I select the baudrate as 115200 on hyperterminal. Here is a snippet of what Im working on. (EDIT) It even works when I step through the code, not when I ...

PMoop.1 by Associate II
  • 378 Views
  • 0 replies
  • 0 kudos

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
  • 737 Views
  • 3 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
  • 3646 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
  • 528 Views
  • 3 replies
  • 0 kudos