AVR32114 Using the AVR32 LCD Controller Documentation
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.
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
This example has been tested with the following configuration:
- EVK1100 evaluation kit;
- CPU clock: 12 MHz from oscillator 0;
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:
- CPU(HSB) clock must always be higher than the peripheral bus clocks
Flash wait states must be added when high frequencies are used
All AVR32 devices with GPIO controller and power manager.
This example has been tested with the following configuration:
- EVK1100 evaluation kit;
- CPU clock: 12 MHz from oscillator 0 at full speed, 6 MHz half speed and 3 MHz at forth speed;
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.
- rtc.c: real time counter driver;
- rtc.h: real time counter driver header file;
- rtc_example.c: real time counter example application.
This example has been tested with the following configuration:
- EVK1100 evaluation kit;
- CPU clock: Internal RC oscillator;
When recompiling a project, make sure to run make clean before recompiling
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
1.5.3-20071008