/var/www/restricted/ssh/stm32/www/stm32circle/ STM CircleOS forum / Connect USART Tx,Rx to RS232 PC

Username:     
Password:     
             

Forum

# 1   2013-05-06 11:21:50 Connect USART Tx,Rx to RS232 PC

gzuccaro
New member
Registered: 2012-03-15
Posts: 6

Connect USART Tx,Rx to RS232 PC

Hi,
I would connect my EvoPrimer STM32F107V by using USART TX,RX on connector to a DB9 RS232 to communicate with a Hyperterminal program for a PC. To do this I used the demo
Serial_USART_2

http://www.stm32circle.com/projects/project.php?id=133

compiled for my target, but on Hyperterminal I see only strange charactares. Why ?

Thanks in advances,

Gzuccaro

Offline

 

# 2   2013-05-06 13:49:18 Connect USART Tx,Rx to RS232 PC

Etienne.C
Administrator
Registered: 2012-12-04
Posts: 71

Re: Connect USART Tx,Rx to RS232 PC

Hello,

Try to change the baud rate on your terminal.
regards,

Offline

 

# 3   2013-05-06 14:08:44 Connect USART Tx,Rx to RS232 PC

gzuccaro
New member
Registered: 2012-03-15
Posts: 6

Re: Connect USART Tx,Rx to RS232 PC

Hi,
I have tried to change baudrate but it didn't worked: I have seen the same behaviour.

Gzuccaro

Offline

 

# 4   2013-05-13 09:27:39 Connect USART Tx,Rx to RS232 PC

yrt
Administrator
From: Grenoble-France
Registered: 2008-06-11
Posts: 520
Website

Re: Connect USART Tx,Rx to RS232 PC

Did you adapt the signal voltage ?
The Primer Rx/Tx are 3V/0V signals, and PC signals are +12/-12V.
You need a TTL/RS232 adapter. Take a look at the web to purchase it or design it (with a MAX232 for example).

Offline

 

Board footer