Skip to Main Content Skip to Search
Product Documentation

DM643x UART Config - Configure DM643x UART 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 that are common to the transmit and receive elements of the DM643x UART module. If your model contains a DM643x UART Transmit block or a DM643x UART Receive block, it must also contain a DM643x UART Config block.

The UART module converts data between parallel and serial formats depending on whether it is transmitting or receiving data from external peripheral devices. Except for the Module parameter, configure all of the parameters in this block so they match the serial communication settings of the external peripheral devices.

Dialog Box

Module

Select the UART module this block configures, UART0 or UART1. Your model can only contain one DM643x UART Config block per module.

Baud rate

Set the rate of signal modulations per second. Choose from 2400, 4800, 9600, 19200, 38400, 57600, or 115200.

Data bits

Set the number of data bits in the character frame, from 5, 6, 7, or 8.

Parity

Enable and configure parity error detection.

In parity error detection, the transmitter reserves a parity bit at the end of the character frame, adds the number of 1's in the data bits, and assigns a value to the parity bit. The receiver compares the number of 1's in the data bits with the value of the parity bit. If the two values don't match, the receiver signals the transmitter that an error has occurred.

  • None disables parity error detection. The character frame does not include a parity bit.

  • Odd enables parity error detection and reserves a parity bit at the end of the character frame. If the data bits contain an odd number of 1's, the method assigns a value of 0 to the parity bit.

  • Even enables parity error detection and reserves a parity bit to the end of the character frame. If the data bits contain an even number of 1's, the method assigns a value of 0 to the parity bit.

Stop bits

Select 1 or 2.

Flow control

Select None or Hardware.

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 Receive, 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