Skip to content

spec uart set baud rate

Ken Sharp edited this page Dec 10, 2025 · 2 revisions

UART Set Baud Rate

Set the buad rate of the specified UART channel.

LabVIEW

Command Packet

UART Set Buad Rate
Description Set the buad rate of the specified UART channel.
Size 12 Bytes
Format 0 1 2 3 4 5 6 7 8 9 10 11
7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0
SoF : 0xFF PACKET SIZE : 0x0C PACKET NUM CMD : 0x00C1 CHANNEL BAUD RATE CHECKSUM
SoF Start of Frame. Always 0xFF.
PACKET SIZE Packet Size In Bytes
PACKET NUM The Current Packet Number. This value increments with each new packet.
CMD UART Set Buad Rate Command
CHANNEL UART Channel
BAUD RATE UART baud rate (U32)
CHECKSUM Checksum. Computed by adding all of the bytes in the packet in U8 form ignoring rollover.

LINX Target

Developer Note

Open the specified I2C channel and join as master.

Response Packet

UART Write Response
Description LINX device's response to UART Write command
Size 6 Bytes
Format 0 1 2 3 4 5 6 7 8 9
7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0
SoF : 0xFF PACKET SIZE : 0x06 PACKET NUM STATUS ACTUAL BAUD CHECKSUM
SoF Start of Frame. Always 0xFF.
PACKET SIZE Total packet size in bytes.
PACKET NUM The packet number of the packet that generated the response.
STATUS See Return Status section below.
ACTUAL BAUD Actual Acheived Baud rate (U32).
CHECKSUM Checksum. Computed by adding all of the bytes in the packet in U8 form ignoring rollover.

Return Status

No function specific statuses. See Return Status for universal return statuses.

Related Links

LINX

Clone this wiki locally