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

pc uart sampling rate

Status
Not open for further replies.

taka_taka

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
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?
 

johnhenry

Newbie level 4
Joined
Jun 3, 2007
Messages
7
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,318
the baut rate is not a problem, i thnk rs232 is 25 feet while the rs485 much longer distance the only thing is the rs485 is can drive long distance so there is no problem about baut rate...
 

RDRyan

Full Member level 2
Joined
May 24, 2007
Messages
133
Helped
20
Reputation
40
Reaction score
3
Trophy points
1,298
Location
China
Activity points
1,976
I think it maybe the problem of your program about the AVR. As I know, some ICs convert RS232 to RS485 can only be

unilateralism at one time, and has an enable signal to change RX and TX. So, I think that may be the problem.
I agree with johnhenry. I think the baud rate is not a problem.

Ryan
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top