Skip to main content
mladen
Associate II
June 14, 2015
Question

UART expample

  • June 14, 2015
  • 1 reply
  • 1346 views
Posted on June 14, 2015 at 22:39

Hi !

Until now I used mostly arduino procesors, and recenzly got one discovery board.

I'm very new in programming for STM8 processors. I had searched site for expample project for UART communication, but I can't find something usable for (almoust) beginners.

What most confusing about STM8l is that same uart can be on different pin, and I did'n find also any example how to activate alternate function.

Please, can someone help me with usabel uart example I can start with, I will very appreciate.

Regards!

Mladen
    This topic has been closed for replies.

    1 reply

    Philipp Krause
    Senior II
    June 17, 2015
    Posted on June 17, 2015 at 14:22

    Here's a a basic example outputting ''Hello World!'' via the UART:

    http://www.colecovision.eu/stm8/128-EVAL%20Serial.shtml

    Of course details might vary depending on your board and tools.

    Philipp