Skip to Main Content Skip to Search
Product Documentation

DM643x UART Receive - Configure receiver element of DM643x UART module for serial communication

Library

Embedded Coder/ Embedded Targets/ Processors/ Texas Instruments C6000/ Scheduling

Embedded Coder/ Embedded Targets/ Processors/ Texas Instruments C6000/ DM6437 EVM

Description

Configure the serial communication parameters of the receiver element of the DM643x UART module. The receiver element converts data from external peripheral devices from serial to parallel format and passes it to the CPU. If your model contains a DM643x UART Receive block, it must also contain a DM643x UART Config block.

Dialog Box

Module

Select the UART module this block configures, UART0 or UART1. Your model can only contain one DM643x UART Receive block per module. This parameter must also match the Module parameter in the DM643x UART Config block.

Data size

Set the data size, in bytes, of each transmission. Blocking mode uses this parameter to determine whether to generate an error.

Enable blocking mode

Enable this parameter to generate an error if the size of the last data transmission does not match the value of the Data size parameter. The DM643x UART Receive block sends the error message as a negative value on its Status output. If you disable Enable blocking mode, the block sends the number of bytes it received as a positive value on its Status output.

Sample time

Set the sample time for the block's input sampling. To execute this block asynchronously, set Sample Time to -1, and refer to Asynchronous Scheduling for a discussion of block placement and other necessary settings.

References

For detailed information on the UART module, see TMS320DM643x DMP Universal Asynchronous Receiver/Transmitter (UART) User's Guide, Literature Number: SPRU997, available at the Texas Instruments Web site.

See Also

DM643x UART Config, DM643x UART Transmit

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS