Skip to main content
Visitor II
June 30, 2010
Question

STM8A/128-EVAL Evaluation Board UART1 issue

  • June 30, 2010
  • 3 replies
  • 957 views
Posted on June 30, 2010 at 16:41

STM8A/128-EVAL Evaluation Board UART1 issue

    This topic has been closed for replies.

    3 replies

    huzhipingAuthor
    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 15:09

    I used the scope watch the tx pin, I saw there is data sent to the pc, but why the hyperterminal didn't show any ASCII, I am sure the setting for hyperterminal is correct. and I used the following baud rate setting for the UART1 of STM8S208MB,

    UART1_Init(  9600, UART1_WORDLENGTH_8D, UART1_STOPBITS_1, UART1_SYNCMODE_CLOCK_DISABLE, UART1_PARITY_NO, (UART1_MODE_TX_ENABLE | UART1_MODE_RX_DISABLE ));

    I think somewhere related with the baud rate setting may be wrong.

    Albert

    huzhipingAuthor
    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 15:09

    Found the problem. The hardware circuit have some issues. Use another tranceiver outside and directly connected to port A pin 4 & 5 and it has no any problem to communicate with hyperterminal. 

    Albert 

    Visitor II
    December 19, 2013
    Posted on December 19, 2013 at 17:49

    Did you encounter the same problem with the second UART? How about other STM/128-EVAL boards?