Baud rate & bits

Go To Last Post
3 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi Guys,

 

Can someone just confirm my logic is 100% correct here please

 

I need to calculate now long a given string of RS232 data would take to transmit from the usart - I appreciate that there may be delays between each character being sent but lets assume there are not for now

 

If I run the usart at 19200 baud, 8 data bits, 1 stop bit, and no parity - I assume I have 10 bits inc. a start bit per character - that's 19200/10 characters per second i.e time for each character is 0.52ms right?

 

If I am missing something - please shout up

This topic has a solution.
This reply has been marked as the solution. 
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Yep; that's right.  A good rule of thumb to remember is that 9600bps (which used to be a popular bitrate) is about 1ms/byte.

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

This assumes the software keeps the UART TX 2-rank or FIFO buffer full.