F28M35x/F28M36x UART Receive
Receive data from the Universal Asynchronous Receiver Transmitter (UART) port
Embedded Coder Support Package for Texas Instruments C2000 Processors / F28M35x/ M3
Embedded Coder Support Package for Texas Instruments C2000 Processors / F28M36x/ M3
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
UART_DMARx interrupt will be triggered when any data will be
received in the FIFO.
Data — UART receive data
vector | scalar
Outputs the data read from the UART port.
Status — UART receive status
0 | 1 | 2 | 3 | 4 | 8
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.
UART Port — Select UART port for data transmission
UART0 (default) |
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.
Additional package header — Prefix header
Specify the additional package header to use as the prefix before the data packet to synchronize the data packets.
Additional package terminator — Suffix terminator
Specify the additional package terminator to use as the suffix after the data packet to synchronize the data packets.
Data type — Type of data to be received
uint8 (default) |
Select the output data type.
Data length — Size of data to be received
1 (default) | positive integer
Specify the data length to receive.
Enable blocking mode — Enable blocking mode for data transmission
off (default) | on
Enabling this option ensures that the FIFO buffer is checked for data availability before receiving the data.
Sample time — Interval at which block reads data
Specify the sample time for receiving data. To execute this block asynchronously, set Sample Time to -1.
Introduced in R2016b