UART Break/Autobaud

Microchip UART modules support advanced communication features including Break character transmission/detection and Auto-Baud rate detection for โ€ฆ

Read more โ†’

UART Config Block

UART_Config Block The UART Config block configures a UART (Universal Asynchronous Receiver/Transmitter) module for serial communication. This block โ€ฆ

Read more โ†’

UART Rx Block

UART_Rx Block Icon The UART Rx block receives data from a configured UART module. This block outputs 8-bit data (uint8 type) with flexible size โ€ฆ

Read more โ†’

UART Tx Block

UART_Tx Block Icon The UART Tx block transmits data through a configured UART module. This block sends 8-bit data (uint8 type) and supports โ€ฆ

Read more โ†’

UART TxMatlab Block

UART_TxMatlab Block Icon The UART TxMatlab block transmits numerical data through UART to MATLAB (or alternative hosts) for real-time monitoring, โ€ฆ

Read more โ†’

MCHP picgui - UART Graphical Interface

Launch MATLAB graphical interface for interactive UART communication Overview The picgui block provides a convenient launcher for the MATLAB-based โ€ฆ

Read more โ†’

Universal Asynchronous Receiver/Transmitter (UART) blocks for serial communication in MPLAB Device Blocks for Simulink.

Available UART Blocks

This section contains the following UART peripheral blocks:

  • UART Config - Configure UART peripheral parameters (baud rate, parity, stop bits)
  • UART Rx - Receive data from UART peripheral
  • UART Tx - Transmit data to UART peripheral
  • UART TxMatlab - Transmit data with MATLAB workspace integration
  • UART Break/Autobaud - Handle break detection and automatic baud rate detection

Key Features

  • Multiple baud rates - Configurable from 300 to 921600 bps
  • Hardware flow control - RTS/CTS support
  • Error detection - Frame, parity, and overrun error handling
  • DMA support - High-speed data transfer with minimal CPU overhead
  • MATLAB integration - Direct workspace variable transmission

Common Use Cases

  • Sensor communication - Read data from UART sensors
  • Debug output - Send diagnostic messages to terminal
  • Protocol implementation - Modbus, NMEA, custom protocols
  • Bootloader - Firmware update over UART
  • Data logging - Stream measurement data to PC

See Also