Serial Write
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 .
Examples
Ports
Input
Port_1 — Input port that accepts data
[Nx1] or [1xN] array
The input port through which the block accepts data.
Data Types: single
| double
| int8
| int16
| int32
| uint8
| uint16
| uint32
Parameters
Port — Port at which you connect board to serial device
/dev/ttyTHS1
(default)
The port at which you connect the NVIDIA Jetson board to the serial device.
Baudrate (in bits/s) — Bits per second
9600
(default) | 50
| 75
| 110
| 134
| 150
| 200
| 300
| 600
| 1200
| 1800
| 2400
| 4800
| 19200
| 38400
| 57600
| 115200
| 230400
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.
Parity — Parity added to data to detect error
None
(default) | Even
| Odd
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.
Stop bits — Bits used to signal stop of data transmission
1 (default) | 2
Select the number of bits used to signal the stop of data transmission.
Version History
Introduced in R2020b
MATLAB 명령
다음 MATLAB 명령에 해당하는 링크를 클릭했습니다.
명령을 실행하려면 MATLAB 명령 창에 입력하십시오. 웹 브라우저는 MATLAB 명령을 지원하지 않습니다.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)