cancel
Showing results for 
Search instead for 
Did you mean: 

STM8A/128-EVAL Evaluation Board UART1 issue

huzhiping
Associate II
Posted on June 30, 2010 at 16:41

STM8A/128-EVAL Evaluation Board UART1 issue

3 REPLIES 3
huzhiping
Associate II
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

huzhiping
Associate II
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 

Philipp Krause
Senior II
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?