This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Serial Port

Use the BeagleBone Black serial port

Objects

beagleboneConnection to BeagleBone Black hardware
serialdevConnection to serial device on BeagleBone Black hardware

Functions

clearTerminate connection to BeagleBone Black hardware
showAllPinsShow diagram of all pins
showPinsShow diagram of GPIO pins
enableSerialPortEnable serial interface
readRead data from serial device
writeWrite data to serial device

Examples and How To

Use the BeagleBone Black Serial Port to Connect to a Device

This example shows how to create a connection to a serial device, write data to the device, and read data from the device.

Concepts

The BeagleBone Black Serial Port

Serial port on BeagleBone Black hardware

BeagleBone Black Pin Map

Detailed description of BeagleBone Black pin map

Troubleshooting

Troubleshoot the BeagleBone Black Serial Port

Troubleshoot Serial Port on BeagleBone Black hardware

Featured Examples