Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
ADC Example for EVK1100 Documentation

Introduction

Example for the UC3 ADC driver. This example gives a practical demonstration of the ASF UC3 ADC driver usage.

Main Files

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:

  • EVK1100 evaluation kit,
  • EVK1101 evaluation kit,
  • EVK1104 evaluation kit.

Setup Information

CPU speed: 12 MHz

  • [on EVK1100 and EVK1101 only] Connect USART_1 to your serial port via a standard RS-232 D-SUB9 cable. Set the following settings in your terminal of choice: 57600 8N1
  • [on EVK1104 only] Connect a PC USB cable to the USB VCP plug (the USB plug on the right) of the EVK1104. The PC is used as a power source. The UC3A3256 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.