STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

CAN example for STM8A Discovery?

I am looking for an CAN bus example for the STM8A discovery board. App Note 4178 (LIN example) refers another App Note (4179) for a respective CAN example. However, I can't find it on st.com - nor can I find a suitable example via Google. Can someone...

GIcki by Associate II
  • 449 Views
  • 1 replies
  • 0 kudos

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
  • 408 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
  • 801 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
  • 4025 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...