Main Content

F28M35x/F28M36x UART Receive

Receive data from the Universal Asynchronous Receiver Transmitter (UART) port

  • Library:
  • Embedded Coder Support Package for Texas Instruments C2000 Processors / F28M35x/ M3

    Embedded Coder Support Package for Texas Instruments C2000 Processors / F28M36x/ M3

  • F28M35x/F28M36x UART Receive block

Description

Receive serial data from the Universal Asynchronous Receiver/ Transmitter (UART) port.

You can specify the ASCII characters for packaging your data with the additional package header and terminator. You can specify the data type and the data length that you want to receive using the block.

DMA interrupt will be used in the background for Data transfer from Receive FIFO to buffer. UART_DMARx interrupt will be triggered when any data will be received in the FIFO.

Ports

Output

expand all

Outputs the data read from the UART port.

The status port outputs one of these values:

  • 0 — represents no error in data reception

  • 1 — represents frame error

  • 2 — represents parity error

  • 3 — represents data synchronization error

  • 4 — represents a break in the data reception

  • 8 — represents an overrun error.

Parameters

expand all

Select a port number from UART0 to UART4 for data transmission.

The UART Port selection allows access to the different UART modules present on the processor.

Specify the additional package header to use as the prefix before the data packet to synchronize the data packets.

Specify the additional package terminator to use as the suffix after the data packet to synchronize the data packets.

Select the output data type.

Specify the data length to receive.

Enabling this option ensures that the FIFO buffer is checked for data availability before receiving the data.

Specify the sample time for receiving data. To execute this block asynchronously, set Sample Time to -1.

Version History

Introduced in R2016b