[En-Nut-Discussion] Ethernut 3.1 RS232 hardware handshake

Paul Govers egnite at paulgovers.com
Wed Dec 2 22:20:40 CET 2009


Hello Ole,

My PC com settings are
9600 Baud/ 8 data bits/ Parity none//stop bits 1
and with Ethernut 3 i mean the Ethernut 3 
hardware(http://www.ethernut.de/en/hardware/enut3/index.html)

i run the rs232d ethernut example on my ethernut, so i can make a TCP 
connection and a RS232 connection to the ethernut...
when i connect my pc to the ethernut rs232 port, is see the rs232 data on 
the TCP channel.
when i connect my pc to the RS232 Remeha heating system, i get the data from 
the heating system
but when i connect the heating system to the ethernut hardware i get no 
rs232 data on the TCP channel :-(
all test with the pc involved i used the same comport settings...

The ethernut has 0volt on pin 4 and pin 7 so DTR and RTS stays low on the 
RS232 from the heating system, in the situation the heatingsystem does not 
send his data on pin 3(also no data when measuring with a oscilloscoop)

tomorrow ill will search for more information about the RS232 protocol, and 
hope that ill will find the anwser.

tips are very welcome!

Greetings
Paul


----- Original Message ----- 
From: "Ole Reinhardt" <ole.reinhardt at embedded-it.de>
To: "Ethernut User Chat (English)" <en-nut-discussion at egnite.de>
Sent: Wednesday, December 02, 2009 9:49 PM
Subject: Re: [En-Nut-Discussion] Ethernut 3.1 RS232 hardware handshake


Hey,


> it looks like if the computer RS232 port is running in a different mode as
> the ethernut

What is the "mode" of your PC? There are more settings than flowcontrol
and baudrate. You might have 5 / 6 / 7 / 8 / 9 databits, 1 / 2 stop
bits, none / odd / even parity...

You mentioned that you are using Ethernut 3? Have you correctly jumpered
the board and have you correctly configured the uart? Ethernut3 can
share the SUBD9 connector with _two_ uarts. In this case the handshake
lines are used otherwise.

Do you have such a RS232 debug connector with 9 red and green LEDs? Try
to test if both rx / tx are "green".

Try to connect your PC to the Ethernut board with a cross cable and
check the connection. Apropos cross cable: Perhaps you have to cross the
lines! (rx / tx crossed)

Bye,

Ole

-- 

Thermotemp GmbH, Embedded-IT

Embedded Hard-/ Software and Open Source Development,
Integration and Consulting

Geschäftsstelle Siegen - Steinstraße 67 - D-57072 Siegen -
tel +49 (0)271 5513597, +49 (0)271-73681 - fax +49 (0)271 736 97

Hauptsitz - Hademarscher Weg 7 - 13503 Berlin
Tel +49 (0)30 4315205 - Fax +49 (0)30 43665002
Geschäftsführer: Jörg Friedrichs, Ole Reinhardt
Handelsregister Berlin Charlottenburg HRB 45978 UstID DE 156329280

_______________________________________________
http://lists.egnite.de/mailman/listinfo/en-nut-discussion 




More information about the En-Nut-Discussion mailing list