DLPU134 April   2024

 

  1.   1
  2.   Trademarks
  3. 1Purpose and Scope
  4. 2UART Host Interface
    1. 2.1 UART Requirements
    2. 2.2 UART Commands
    3. 2.3 UART Read Commands
    4. 2.4 UART Command Builder Tool
  5. 3MicroSD Card Playback
    1. 3.1 MicroSD Card Overview
    2. 3.2 MicroSD Card Formatting and Configuration
    3. 3.3 MicroSD Card Playback Operation
  6. 4Graphics Library
    1. 4.1 Graphics Library Overview
    2. 4.2 Initial Animations
    3. 4.3 MicroSD Card Images
    4. 4.4 Splash Image
    5. 4.5 Smart Home Demo
  7. 5DSI Mode
    1. 5.1 DSI Mode Overview
  8. 6Revision History

UART Requirements

The UART digital communication is a controller-peripheral communication link in which the MSPM0 is a peripheral device only. The controller sets when the data transmission begins and ends. The peripheral does not transmit data back to the controller until the controller commands it. A logic 1 value on the UART interface is defined as a recessive value (weak pullup on the RXD pin). A logic 0 value on the UART interface is defined as a dominant value (strong pulldown on the RXD pin).

The UART asynchronous-mode interface is designed for data-rates from 2400bps to 115200bps operation. Other parameters related to the operation of the UART interface include:

  • Baud rate from 2.4kbps to 115.2kbps. Default is 9.6kbps
  • 8 data bits
  • 1 start bit
  • 1 stop bit
  • No parity bit
  • No flow control
  • Interfield wait time (only required for 1 stop bit configuration)

GUID-20240225-SS0I-2RDG-7GBP-VRXTMQTFFKKW-low.png

Figure 2-1 UART Asynchronous Interface Bit Timing

Both data and control are in little endian format. Data is transmitted through the UART interface in byte-sized packets. The first bit of the packet field is the start bit (dominant). The next 8 bits of the field are data bits to be processed by the UART receiver. The final bit in the field is the stop bit (recessive). The combined byte of information, and the start and stop bits make up an UART field.


GUID-20240225-SS0I-XS9W-PPWJ-MCQ3K4LRTHDW-low.png

Figure 2-2 UART Interface Packet Field

The TTL-232R-3V3 is a USB to Serial (TTL level) converter cable which allows for a simple way to connect TTL interface units to USB. This version of the FTDI USB to TTL serial adapter cables has the I/O pins configured to operate at 3.3V levels. This is an example USB to Serial device to use during testing.


GUID-20240225-SS0I-H65M-GZDR-HLNJ0CPKLVPF-low.jpg

Figure 2-3 USB to Serial Device