Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Peripheral DMA Controller Example

Purpose

The pdca_usart example demonstrates how to use PDCA driver to send data to the USART.

Requirements

This example can be used on SAM4L series.

Description

The SAM4L controller sends data in ascii_anim1.h and ascii_anim2.h from USART to the terminal.

Usage

  1. Build the program and download it into the evaluation board.
  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. In the terminal window, the following text should appear (values depend on the board and chip used):
    -- PDCA_USART Example xxx --
    -- xxxxxx-xx
    -- Compiled: xxx xx xxxx xx:xx:xx --
  4. the sent text should appear.