Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
DACIFB Example 1 for UC3C_EK Documentation

Introduction

This is the documentation for the data structures, functions, variables, defines, enums, and typedefs for the DACIFB driver. It also comes bundled with an application-example of usage.

This example demonstrates how to use the DACIFB driver with the internal timer as sampling rate source. The DACIFB collects data through the PDCA. Once all the data are transmitted to the DACIFB, a PDCA transfer is reloaded. Operating mode: On DAC output [PA15 (microphone output) on UC3C_EK] a sinewave is generated. All the element of the sinewave, stored in an internal buffer, are transmitted to the PDCA through the DACIFB.

Main Files

  • sinus.c: Sinusoid sound sample array.
  • sinus.h: Header file for the Sinusoid sound sample array.
  • conf_example.h: Example board configuration constants

Compilation Information

This software is written for GNU GCC for AVR32 and for IAR Embedded Workbench for Atmel AVR32. Other compilers may or may not work.

Device Information

All AVR32 devices with an DACIFB and a PDCA module can be used.

Configuration Information

This example has been tested with the following configuration:

  • UC3C_EK evaluation kit;
  • CPU clock: 16 MHz;

Contact Information

For further information, visit Atmel AVR32.