SAMV71 Xplained Ultra Software Package 1.4

USART example with DMA

Purpose

The USART example shows the how to transfer/receive buffer over USART.

Requirements

This package can be used with SAM V71 Xplained Ultra board.

Description

The demonstration program transfer a buffer via USART in local loopback mode and receives the buffer.

Usage

  1. Build the program and download it inside the SAM V71 Xplained Ultra board. Please refer to the Getting Started with SAM V71 Microcontrollers.pdf
  2. On the computer, open and configure a terminal application (e.g. HyperTerminal on Microsoft Windows) with these settings:
    • 115200 bauds
    • 8 bits of data
    • No parity
    • 1 stop bit
    • No flow control
  3. Start the application.
  4. In the terminal window, the following text should appear (values depend on the board and chip used):
          -- USART Example Example xxx --
          -- xxxxxx-xx
          -- Compiled: xxx xx xxxx xx:xx:xx --
    
          Menu :
          ========================
           UART is Configured in : LoopBack
           D: Perform USART DMA LoopBack Normal transfer
           T: Perform USART DMA Normal transfer(remote loopback)
           H: Display menu
    
  5. The user can then choose any of the available options to perform the described action.

References

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines