User manual
12
AVR32930
32163A-AVR-03/11
6 Example applications
Several examples are available in ASF that can be downloaded from the Atmel
website ASF section: http://asf.atmel.no. Each example has the full source code with
documentation, as well as ready-made binaries for getting started quickly. The
examples can be compiled using either the GCC or IAR compilers.
6.1 Preprogrammed firmware
The Atmel AT32UC3A3256 that is mounted on the Atmel UC3-A3 Xplained board is
preprogrammed with a USB boot loader and default demonstration firmware.
The preprogrammed firmware in the AT32UC3A3256 is a demonstration of the Atmel
QTouch
®
button and the Atmel QTouch slider. Touching the SW1 QTouch button will
cause LED1 to light up. Moving a finger along the QTouch slider will cause either
LED2 or LED3 to light up, depending on the position of the finger.
The delay at the start of the application is due to an SDRAM check, which is
performed each time the kit is powered up. This has been removed in the updated
firmware, described in Section 6.2.
6.2 Updated default firmware
This application note includes a software package that contains the source code of a
demo application. The demo application demonstrates the QTouch functionality of the
UC3-A3 Xplained board similar to the pre-programmed default firmware but with two
differences:
1) When powered up, the board will not perform the SDRAM check any more
since this has been removed from the application.
2) If the slider is touched, the intensity of LED3 will be adjusted according to the
touch position on the slider, and LED2 will light up when the slider is touched.