Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Example3 for CRC driver on XMEGA-A3BU Xplained Documentation

Introduction

This simple example shows how to use the CRC module driver on a DMA transaction.

Main Files

Device Info

All AVR XMEGA AU devices with a CRC module can be used. This example have been tested with the following setup:

  • XMEGA-A3BU Xplained

Description of the example

The example will calculate the checksum for a data buffer and append it to the buffer. Then it will setup the CRC module for a DMA transaction, and then start a DMA transfer between two internal memory areas, and upon completion heck that the checksum generated for the transfer is zero.

Dependencies

This example depends on the following modules:

Compilation info

This software was written for the GNU GCC. Other compilers may or may not work.

Contact Information

For further information, visit Microchip.