Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

Do drivers for rs 232 supported for rs 485 ?

Status
Not open for further replies.

rangerskm

Full Member level 4
Joined
Jan 23, 2013
Messages
199
Helped
0
Reputation
2
Reaction score
0
Trophy points
1,296
Activity points
2,663
I am using Docklight software in windows to read data from rs485 to usb converter .i am correctly getting data .but in linux I am not able to receive response data when i Transmit data.Tried with minicom software in linux.it shows ftdi driver for rs485 to usb converter .

it will be helpful if you guide me in this.
 

KlausST

Super Moderator
Staff member
Joined
Apr 17, 2014
Messages
18,077
Helped
4,055
Reputation
8,110
Reaction score
3,970
Trophy points
113
Activity points
119,292
Hi,

Software drivers don't know if there is RS232 or RS485 connected. The serialisation and deserialisation process is the same.
But there are some differences with the control lines. For RS485 you need a "driver enable" signal. To transmit data.
If you use the RS485 true half duplex (only one pair of signal lines) then you need to disable the driver during receive to avoid short circuit.

Klaus
 

rangerskm

Full Member level 4
Joined
Jan 23, 2013
Messages
199
Helped
0
Reputation
2
Reaction score
0
Trophy points
1,296
Activity points
2,663
I connected to only one device through rs485 .do i need to change any settings ?
 

FvM

Super Moderator
Staff member
Joined
Jan 22, 2008
Messages
47,483
Helped
14,048
Reputation
28,351
Reaction score
12,706
Trophy points
1,393
Location
Bochum, Germany
Activity points
276,136
Recent FTDI chips, e.g. FT232R have a hardware TX-Enable signal that is set in the configuration EEPROM. It's enabled in the default configuration, a RS485 driver connected according to FTDI example circuit will work without a specific RS485 driver.
 

fouwad

Full Member level 4
Joined
Nov 29, 2009
Messages
197
Helped
19
Reputation
38
Reaction score
17
Trophy points
1,298
Location
Pakistan
Activity points
2,447
How do u convey the Drive enable and Receive enable signals in RS485?
 

FvM

Super Moderator
Staff member
Joined
Jan 22, 2008
Messages
47,483
Helped
14,048
Reputation
28,351
Reaction score
12,706
Trophy points
1,393
Location
Bochum, Germany
Activity points
276,136
It depends. FTDI USB-to-UART bridges can generate it automatically, review the datasheet. Also some µC UARTs can provide a hardware generated enable signal, e.g. PIC24. Otherwise it must be software generated.
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top