Skip to main content
mladen
Associate II
Jun 14, 2015 8:39 PM UTC
Question

UART expample

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
    Jun 17, 2015 12:22 PM UTC
    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