Microchip® Advanced Software Framework

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

Introduction

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

This example demonstrates how to use the DACIFB driver, the DACIFB clock being a generic clock (through the PEVC). Operating mode: Control the DAC output on PA15 [UC3C_EK] generating a sinusoid wave.

Main Files

  • dacifb_example.c: DACIFB example application.
  • 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 a DACIFB and a USART module can be used.

Configuration Information

This example has been tested with the following configuration:

  • UC3C_EK evaluation kit;
  • CPU clock: 16 MHz;
  • USART2 (on UC3C_EK) abstracted with a USB CDC connection to a PC;
  • PC terminal settings:
    • 57600 bps,
    • 8 data bits,
    • no parity bit,
    • 1 stop bit,
    • no flow control.

Contact Information

For further information, visit Atmel AVR32.