AVR32 UC3 - HMATRIX Example Documentation
This example demonstrates how to use the HMATRIX module. This example show number of cycle save between two configration. In the present example, function is called NB_TOGGLE time and the number of cycle is mesured. The first test is done with Slave Default Master Type configured with default value. The second test is done with Slave Default Master Type configured with Last Default Master.
The number of cycle is save for both tests. As expected the number of cycle is lower for test2.
This software is written for GNU GCC for AVR32 and for IAR Embedded Workbench for Atmel AVR UC3. Other compilers may or may not work.
All AVR UC3 devices with an HMATRIX and a USART module can be used.
This example has been tested with the following configuration:
with the following setup:
- EVK1100 evaluation kit with an AT32UC3A0512 MCU.
- EVK1101 evaluation kit with an AT32UC3B0256 MCU.
- EVK1104 evaluation kit with an AT32UC3A3256 MCU.
- EVK1105 evaluation kit with an AT32UC3A0512 MCU.
- UC3L_EK evaluation kit with an AT32UC3L064 MCU.
- UC3C_EK evaluation kit with an AT32UC3C0512C MCU.
- CPU clock: -- 12 Mhz : EVK1100, EVK1101, EVK1104, EVK1105, UC3L_EK evaluation kit; -- 16 MHz : UC3C_EK evaluation kit;
- USART : -- USART2 (on EVK1100, EVK1101) connected to a PC serial port ; -- USART2 (on EVK1104, EVK1105, UC3C_EK, UC3L_EK) connected to a PC serial port abstracted with a USB CDC connection to a PC;
- PC terminal settings:
- 57600 bps,
- 8 data bits,
- no parity bit,
- 1 stop bit,
- no flow control.
For further information, visit
Atmel AVR32.
Support and FAQ:
http://support.atmel.no/