PDA

View Full Version : What is right for RS232 transmission?



Robson
- 25th August 2007, 18:37
Now i have a question about the RS232 Interface.
I found some sites where is the transmission speed for 9600Baud = 9600 Bytes/sec and other tells 9600BIT/sec.
What is now right??
I need to know to calculate my storing time for an external EEprom.

Thanks

Robson

Charles Linquis
- 25th August 2007, 19:11
It is 9600 BITS per second.

Robson
- 25th August 2007, 19:20
ok thanks.
If i´m right then is it possible to receive 1200Bytes/sec or must i add the start & stopbit & parity bit = 873 Bytes/sec ?

Luciano
- 25th August 2007, 19:56
Hi,

The most used configuration for serial communication is 8-N-1.

Data bits: 8
Parity: None
Stop bits: 1

This will produce a frame with 10 bits.

Frame:
< 1 start bit >< 8 data bits >< 1 stop bit >

So in order to send one byte with the above configuration you will need 10 bits.
Therefore at 9600 baud you can send 960 bytes per second.

9600 / 10 = 960 bytes per second.

Best regards,

Luciano

http://media.maxim-ic.com/images/appnotes/3024/3024Fig02.gif

Robson
- 25th August 2007, 22:33
Thanks Luciano. Nice stuff. This section is really new for me and i want to understand it.
I want to explore now the RS232.
I have ordered some FRAM´s and i´m looking for receiving data from RS232 input and simultaneously store to an external eeprom.
Which osc speed is recommended for receiving with 9600Baud and storing the data to eeprom?
Is it necessary to store like pagewriting ?
Maybe someone can give me advice.
Thanks

Robson

Robson
- 26th August 2007, 15:30
I´m using the EasyPIC4 Development Board and there is a RS232 on Board.
Is it only necessary to wire the computer COM1 or COM2 to the RS232 Interface of my board with a 0-modem cable?
And how to send commands from the computer? Hyperterminal or something else?
Onboard of my board is a MAX232CPN with a 9pin DSUB connector.