External Interfaces/API | ![]() ![]() |
Specify the rate at which bits are transmitted
Description
You configure BaudRate
as bits per second. The transferred bits include the start bit, the data bits, the parity bit (if used), and the stop bits. However, only the data bits are stored.
Since the data format includes the framing bits as well as the data bits, the time required to transfer a byte of data increases due to these extra bits. For example, suppose you transfer 1000 bytes to your computer using the 8-N-1 data format and a baud rate of 9600. You might think that the time required for this operation is about 0.8 second since 8000 bits are stored. However the actual transfer time is around 1.0 second since the data bits are framed by a start bit and a stop bit - an increase of 25%.
Note Both the computer and the peripheral device must be configured to the same baud rate before you can successfully read or write data. |
Standard baud rates include 110, 300, 600, 1200, 2400, 4800, 9600, 14499, 19200, 38400, 57600, 115200, 128000 and 256000 bits per second. To display the supported baud rates for the serial ports on your platform, refer to Finding Serial Port Information for Your Platform.
Characteristics
Read only |
Never |
Data type |
Double |
Values
Properties
![]() | Serial Port Object Properties | BreakInterruptAction | ![]() |