Main Content

Serial Write

Write data to serial port

Since R2020b

  • NVIDIA Serial Write block

Libraries:
NVIDIA Jetson and NVIDIA DRIVE / Communication

Description

Use the Serial Write block to write data to a serial device connected to a NVIDIA® Jetson™ hardware. To open the serial pin map of the NVIDIA Jetson board, click the View pin map button. For more information, see Serial Port Mapping for NVIDIA Jetson Boards.

Examples

Ports

Input

expand all

The input port through which the block accepts data.

Data Types: single | double | int8 | int16 | int32 | uint8 | uint16 | uint32

Parameters

expand all

The port at which you connect the NVIDIA Jetson board to the serial device.

Select the rate at which the data is read over the serial line. The baud rate is measured as the number of bits read per second.

Select the parity you want to add to the transmitted data. A parity bit is used to detect error in the data transmission.

  • None – This value means that no parity is used for error detection in the data transmission.

  • Even – The parity bit value is 1 if the number of bits with value 1 is odd. The parity bit value is 0 if the number of bits with value 1 is even.

  • Odd – The parity bit value is 1 if the number of bits with value 1 is even. The parity bit value is 0 if the number of bits with value 1 is odd.

Select the number of bits used to signal the stop of data transmission.

Version History

Introduced in R2020b