Introduction
This is the documentation for the data structures, functions, variables, defines, enums, and typedefs for the DMACA driver.
It also gives an example of the usage of the DMACA module, eg:
Main Files
- dmaca.h : DMACA header file
- ram_aes_ram_example.c : DMACA code example wich benchmark transfer rates of the following path:
- CPUSRAM to AES to CPUSRAM
- HSBSRAM0 to AES to HSBSRAM1
Compilation Info
This software was written for the GNU GCC for AVR32 and IAR Systems compiler for AVR UC3. Other compilers may or may not work.
Device Info
All AVR UC3 devices with a ADC module can be used. This example has been tested with the following setup:
- EVK1104 evaluation kit with AT32UC3A3256S.
Setup Information
CPU speed: DMACA_AES_EVAL_CPU_FREQ MHz DMACA_AES_EVAL_CPU_FREQ is given in the confg.mk, the default value is 12000000, but it can be set to 66000000 to see the impact on the frequency on transfer rate
- [on EVK1104S only] Connect a PC USB cable to the USB VCP plug (the USB plug on the right) of the EVK1104S. The PC is used as a power source. The UC3A3256S USART1 is connected to the UC3B USART1. The UC3B holds a firmware that acts as a USART to USB gateway. On the USB side, the UC3B firmware implements a USB CDC class: when connected to a PC, it will enumerate as a Virtual Com Port. Once the UC3B USB is correctly installed on Windows, to communicate on this port, open a HyperTerminal configured with the following settings: 57600 bps, 8 data bits, no parity bit, 1 stop bit, no flow control.
Contact Information
For further information, visit Atmel AVR UC3.