Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

baud rate for serial Rx?

Do I need to specify a baud rate when receiving? I'm programming and 8051. Thanks.

Comments

  • tsquaredtsquared Member Posts: 7
    : Do I need to specify a baud rate when receiving? I'm programming and 8051. Thanks.
    :
    You do indeed Merlin - both transmit and receive rates need to be defined otherwise those you connect to cannot rx or tx to you.

  • big_endianbig_endian Member Posts: 20
    Another thing about doing direct connection of serial connections
    (meaning no modems inline with the transmission medium), your Rx and Tx
    Baud rather bit rate needs to be the same speed as the other device you
    are attempting to communicate with. You also need the same data
    communication protocols, in other words, if you are doing asyncronous
    transmission you need the same Parity, bit length size, the common ones
    are the following. 7E1 or 8N2.

    7E1 = 7 bits length for data, even parity, and 1 stop bit
    8N2 = 8 bits length for data, No parity, and 2 stop bits

    Syncronous data communication operates with different protocols than
    this, but getting the Tx and Rx values for the bit rate as some people
    call baud rate is essential if there is no modems inline with serial
    communications.

    On the really old machines the baud and bit rate are the same number,
    but on the new machines the baud rate is only going so high, and you
    get data compression. So that is why the bit rate and the baud rate
    (really frequency, etc.) changes when you get faster systems. People
    call them the same thing and use them interchangably when they
    technically aren't the same. LOL

    Oh well!

    : : Do I need to specify a baud rate when receiving? I'm programming and 8051. Thanks.
    : :
    : You do indeed Merlin - both transmit and receive rates need to be defined otherwise those you connect to cannot rx or tx to you.
    :
    :

Sign In or Register to comment.