Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics 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.

using RS485 with 16C550 UART IC

Status
Not open for further replies.

ulaska

Member level 3
Joined
Aug 25, 2005
Messages
54
Helped
4
Reputation
8
Reaction score
0
Trophy points
1,286
Activity points
1,790
16c550 uart

how can we use Rs485 with the 16c550 uart ic?

is it enough to connect 16c550's TX,RX and RTS to any 485 Transceivers(ie.max485) ?
 

16c550 rs485

there is no problem connecting a rs-485 transreciever to a mcu's USART module, but do u hav the software library for rs-485 protocol for this mcu ???

regards
 

uart ic

I think it isn't voltage level compatible .... what do you wanna do exactly?

leomecma
 

uart 16c550

I connect 2 PIC by RS485 using 2 max485 for level conversion. and I use rs232 library to send and receive data. I also use a PIC's digital output to drive max485 pin number 2 and 3 together. to set always device hearing (output 0). and only when this output is high to transmit.

It's very simple.
 

uart 485 rts

The 16C550 isn't a PIC MCU, is usart drivers with FIFO. Are you confuse with PIC16C505

leomecma
 

pic rs485 enable ic

leomecma said:
The 16C550 isn't a PIC MCU, is usart drivers with FIFO. Are you confuse with PIC16C505


ooops ya i thought it was a pic, again same question wy do need to connect 16C550 with MAX485 ?!! mcu can handle MAX485 easily

regards
 

pic 16c550

up to my knowledge RS232 / RS485 is deffered the way the signals are deffined.
The RS 232 signals are represented by voltage levels with respect to ground.
In RS 485 Each signal uses one twistedpair Differential voltage transmission.

Any UART chip / MCU standard UART works fine with RS 485 transciever.

Only problem is when you are connecting to a desktop PC. Here you need RS 232 to RS 485 converter. Some /All converters needs RTS/DTR to be asserted for a while before transmission.

Reffer to lvr serial port page for detailed info about serial ports and
RS 232/422/485 communications. Link is given below
**broken link removed**

16c550 chip and your rs232 library just works fine.

Cheers
 

using rs485 with 16c550 uart ic

How can we connect the RXD,TXD,RTS,CTS,DTR,DTS,DCD to the any RS485 interface chip?
 

using 16c550 uart

You can connect, but RS485 is half-duplex (RS232 is full duplex), then you have to select when you'll transmite and receive. Use a SN75176 of Texas and connect it like above:

TX(16c550) at D(pin 4) (SN75176)
RX(16c550) at R(pin 1) (SN75176)

DE of SN75176 enable transmiter
RE of SN75176 enable receiver

generally they are connect together because it isn't full duplex, then you have to decide how connect RTS and CTS, because it isn't a good idea use DE and RE as like RTS and CTS because they aren't differential (and only input), and for long distances you can has problems. I don't know how 16c550 device works by I think you can use RTS or DTS for control DE and RE together.


leomecma
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top