Calculate minimum baud rate required

Status
Not open for further replies.

ejleiss

Junior Member level 2
Joined
Jul 2, 2009
Messages
22
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
Activity points
1,446
Hello,

I am trying to figure out the minimum baud rate required for my data transfer via microcontroller UART.
I have an spi device that samples at 3200Hz (spi running at 2MHz) and I place these samples in a frame consisting of 16 total bytes.

What is my minimum serial baud rate to ensure that I don't miss sending out any samples that I obtain from my SPI device?
Is there a formula for this?

Thank you.
 

assuming typical RS232 transmission each character transmitted is 10bits (8 data, 1 start and 1 stop bit), i.e. 115200baud can transmit a maximum of 1152 bytes/second (assuming that the receiver can accept data at that rate and not get overruns).
you are sampling 3200 samples/second - how may bits is each sample? e.g. if each sample is 16bits you will need to encode each sample into two bytes for transmission
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…