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?
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