Microchip® Advanced Software Framework

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

Introduction

This simple example shows how to use the CRC module driver by using the I/O interface by using the CPU and writing the data to the DATAIN register.

Main Files

Device Info

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

  • XMEGA-B1 Xplained
  • XMEGA-A3BU Xplained

Description of the example

The example will generate both CRC-32 and CRC-16 for a data buffer, append the checksums to the data, generate new checksums and check that these are zero. Leds will light up if this is the case.

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.