Microchip® Advanced Software Framework

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

Introduction

Example use of the ASF ACIFA driver for UC3 devices, giving a demonstration of how to set up the module and perform comparisons.

Main Files

Compilation Info

This software was written for the GNU GCC for AVR32 and IAR Systems compiler for AVR UC3 devices. Other compilers may or may not work.

Device Info

All AVR UC3 devices with an ACIFA module can be used. This example has been tested with the following setup:

  • UC3C_EK evaluation kit
    • Comparator 1: Input + on pin PA06, Input - on pin PA07
    • Comparator 2: Input + on pin PA20, Input - on pin PA22
    • Comparator 3: Input + on pin PA23, Input - on pin PA21

Setup Information


CPU speed: 16 MHz

  • [on UC3C_EK only] Connect a PC USB cable to the USB VCP plug (the USB plug on the right) of the UC3C_EK. The PC is used as a power source. The UC3C0512 USART2 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.