AVR32114 Using the AVR32 LCD Controller Documentation

Atmel AVR32 Application Notes

Introduction

This is the documentation for the data structures, functions, variables, defines, enums, and typedefs in the software for application note AVR32739. It also describes the usage of the example applictions.

This software was written for the GNU GCC for AVR32 and IAR Systems compiler for AVR32. Other compilers may or may not work. To program the elf-file to the target board either use "make program" or run avr32program program -finternal,512Kb -e -v low_power_example.elf

These examples have been written for and tested on the EVK1100 board.

Example1: Clock masking example

This example demonstrates the clock masking feature of AVR32 devices. Operating mode: Press button 0 to enable all clocks in the clock mask Press button 1 to disable all clocks on the PBB bus Press button 2 to turn off all modules on PBA exept PM/RTC/EIC and GPIO because we need them to enable the modules again (PM) and to signal the state with LEDs.

The LED signal following situations: LED0 = PBB clocks are active LED1 = All modules on PBA are clocked

Main Files

Configuration Information

This example has been tested with the following configuration:

Example2: Clock scaling example

This example demonstrates the CPU (and HSB) frequency scaling feature of the AVR32. This can be done on-the-fly. Operating mode: Press button 0 to set CPU (HSB) clock to full speed (Oscillator 0 = 12MHz). Press button 1 to set CPU (HSB) clock to half speed (6MHz). Press button 2 to set CPU (HSB) clock to forth speed (3MHz).

Depending on the current CPU speed a LED is turned on. LED0 = full speed LED1 = half speed LED2 = forth speed

NOTE: If the user of this software intends to change division factors for the clocks or use the PLL take following rules into account:

Flash wait states must be added when high frequencies are used

Main Files

Device Information

All AVR32 devices with GPIO controller and power manager.

Configuration Information

This example has been tested with the following configuration:

Example3: Wake up by real time clock

This example demonstrates how to the RTC can be used to wake-up a sleeping application. Operating mode: Press button 0 to enter Idle sleep mode. Press button 1 to enter Frozen sleep mode. Press button 2 to enter Standby sleep mode.

The red led on the board will light up when the system is in a sleep mode. The RTC will wake-up the application after a specified time. This time may be adjusted by the user in the source file and is by default 3 seconds.

Main Files

Configuration Information

This example has been tested with the following configuration:

When recompiling a project, make sure to run make clean before recompiling

Contact Information

For more info about Atmel AVR32 visit Atmel AVR32
AVR32 Application Notes
Support mail: avr32@atmel.com
Generated on Wed May 7 14:40:10 2008 for AVR32114 Using the AVR32 LCD Controller by  doxygen 1.5.3-20071008