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.

Problem with PC uart communication

Status
Not open for further replies.

taka_taka

Junior Member level 2
Junior Member level 2
Joined
Jan 11, 2006
Messages
20
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,440
rs485 to uart max487

I have a problem communicating between PC to AVR.
I got a RS485 converter that can convert from RS232 (PC) to RS485.
I can use it for PC-to-PC, but I failed using it for PC-to-AVR.
I am not sure about the sampling methodology of PC uart.
Could this be a problem since the the converter generates enable signal to the max485 that much less than the baud rate period. ?
Anyone can help?
 

pc uart

taka_taka said:
I have a problem communicating between PC to AVR.
I got a RS485 converter that can convert from RS232 (PC) to RS485.
I can use it for PC-to-PC, but I failed using it for PC-to-AVR.
I am not sure about the sampling methodology of PC uart.
Could this be a problem since the the converter generates enable signal to the max485 that much less than the baud rate period. ?
Anyone can help?

for connecting to AVR you need a converter from RS485 to UART (e.q. max487). I am using this type of communication and it's working fine. From PC i have an USB to RS485 converter and on my board i have an RS485 to UART converter (using max487). It has nothing to do with the sampling methodology! One thing to note it: when you sending one character from UART to PC via RS485 be sure that you are keeping transmission enable as long as this byte is transmitted (by checking TXC flag)

Aurelian
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top