SAMV71 Xplained Ultra Software Package 1.5

AFE12 DMA Example

Purpose

The AFE12 example demonstrates how to use AFE peripheral with several modes.

Requirements

This package can be used with SAMV71 Xplained Ultra board or SAME70 Xplained board. To enable full scale measurement connect DAC to AFE.

Connection

PB13 -- PB2

Description

This application shows how to use the AFE in 12-bit free run mode with DMA enabled.

Usage

  1. Build the program and download it inside the board. Please refer to the Getting Started with SAM V71/E70 Microcontrollers.pdf
  2. On the computer, open and configure a terminal application (e.g. HyperTerminal on Microsoft Windows) with these settings:
    • 115200 baud rate
    • 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):
         -- AFE12 Example xxx --
         -- xxxxxx-xx
         -- Compiled: xxx xx xxxx xx:xx:xx --
    
  4. The application will output converted value to hyperterminal and display them.

References

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines