DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2008-08-09 12:05:48

erox
Member
From: Berlin / Germany
Registered: 2007-12-24
Posts: 18
Website

RS-232

hi,
i want to use the RS-232 port on the dns-323.
but i'm not sure that i can use the following converter from 3,3V TTL to RS-232...

http://cgi.ebay.de/RS232-TTL-Convertor- … dZViewItem

is this a one that i can use?
what's about the RTS and CTS pins? the dns-323 don't have this pins.


DNS-323 FW 1.05 (US)

Offline

 

#2 2008-08-09 15:29:06

fordem
Member
Registered: 2007-01-26
Posts: 1938

Re: RS-232

That looks like it will work fine.

Most likely you can just ignore the RTS & CTS connections - they are part of an older standard and are what are known as "handshaking" signals - RTS (request to send) would be asserted by the DTE (data terminal equipment) which would then wait for the DCE (data communications equipment) to respond with CTS (clear to send) - you should be able to either disable handshaking in your terminal software or just loop RTS back to CTS, so the unit thinks it has gotten a CTS signal at the appropriate time.

Offline

 

#3 2008-08-09 16:29:34

erox
Member
From: Berlin / Germany
Registered: 2007-12-24
Posts: 18
Website

Re: RS-232

thanks for your detailed answer smile

but 1 question i still have:
i want to connest a LCD to the serial port.
i think i only need the TX pin from dns-323 to connect data to LCD... or? need the LCD also RX to work?


DNS-323 FW 1.05 (US)

Offline

 

#4 2008-08-09 18:52:58

fordem
Member
Registered: 2007-01-26
Posts: 1938

Re: RS-232

When you say LCD are you talking about a full terminal or just a display panel?  Does the display panel support RS232 and can you configure the parameters to match the DNS-323?

That question is probably best answered by someone familar with the LCD - theoretically you should only need the DNS-323's TX pin connected to the LCD's RX pin.

Please be aware that so called RS232 standard serial communications is anything but standard and usually requires more than just compatible hardware and the correct connections, there are a number of parameters - baud rate, stop bits, parity and several different types of handshaking, which can be done in both hardware and software.

Whilst it is possible to get pretty much any two RS232 devices to communicate with one another, it can take quite a bit of fiddling to make it happen and even then if you can get the devices to communicate, if you are unable to configure the one device to send data in a format acceptable to the second device, the results may not be what you expect.

Fortunately or unfortunately, depending on your point of view, RS232 serial communications is largely a thing of the past, and a rapidly dying "black art".

Offline

 

#5 2008-08-09 19:36:51

erox
Member
From: Berlin / Germany
Registered: 2007-12-24
Posts: 18
Website

Re: RS-232

it's not only the display panel, it's a full terminal with RS232.
i got it running on my other linux (i386) pc and it works fine.
i only have to configure the parameters (like baud rate, ...) of RS232 form the dns-323 to the same which are stored in the LCD.
it should work.
RX from dns-323 connected or not... if it is connected and not used it makes no different. wink

thanks & have a nice weekend smile


DNS-323 FW 1.05 (US)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB