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.

RS232 Interface question - baud rate selection

Status
Not open for further replies.

grubby23

Junior Member level 3
Joined
Nov 22, 2007
Messages
30
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,606
max232 cutecom

Hi

I have a very, very basic and simple question about the RS232 interface. Basically, I have a microprocessor running with 24 MHZ and sends and receives the data over the RX and TX Pin respectively. How do I need now to select the baud rate at my host PC to be able to communicate with the microcontroller over the serial interface?

Thanks
 

rberek

Full Member level 6
Joined
May 23, 2007
Messages
339
Helped
98
Reputation
202
Reaction score
83
Trophy points
1,308
Location
Canada
Activity points
4,134
Re: RS232 Interface question

You have to program your microcontroller to receive and transmit data at a certain baudrate and then set the PC to send and receive at that baud rate.

How you program the baud rate for your microcontroller depends completely on the microcontroller and your compiler.

r.b.
 

bld

Member level 3
Joined
Jul 25, 2006
Messages
54
Helped
9
Reputation
18
Reaction score
2
Trophy points
1,288
Location
Iasi, Romania
Activity points
1,568
Re: RS232 Interface question

What program do you use on your PC to communicate over rs232 line?
 

jituelect

Newbie level 5
Joined
Jan 6, 2009
Messages
8
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
India
Activity points
1,345
Re: RS232 Interface question

A. if you are on windows you can use hyperterminal

B. On linux you can use minicom, cutecom or gtkterm

C. if done using C program (on POSIX system ) you can use termios programming

refer
https://www.easysw.com/~mike/serial/serial.html#1_2

you cannot connect Tx(or Rx) directly to RS232( if pins are TTL , which most are) , you have to use MAX232 in between
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top