This simple example shows how to use the CRC module driver on a DMA transaction.
All AVR XMEGA AU devices with a CRC module can be used. This example have been tested with the following setup:
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.
This example depends on the following modules:
This software was written for the GNU GCC. Other compilers may or may not work.
For further information, visit Microchip.