Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
10 years, 9 months ago.
Converting baud rate to bit rate
Hi
I'm using the RN42XVP-I/RM and I need to find the bit rate. From what I can find its calculated like this:
R = baud rate x log2S = baud rate x 3.32 log10S with S = 2N and N being the number of bits per symbol.
How ever I can't find the number of bits per symbol using the standard baud rate of 115200..?
Thanks Tom
1 Answer
10 years, 9 months ago.
In the case of a TTL serialport like we have here, each symbol represents one bit (0 or 1). So baudrate and bitrate are the same. However, an asynchronous serialport such as in this case uses a startbit, one or two stopbits and possibly a paritybit. That leaves you with effectively 8 databits per 10 transmitted bits in the most common situation. You can easily do the math with that information.