ATEVK1105 Atmel, ATEVK1105 Datasheet - Page 108

KIT EVAL FOR AT32UC3A0

ATEVK1105

Manufacturer Part Number
ATEVK1105
Description
KIT EVAL FOR AT32UC3A0
Manufacturer
Atmel
Series
AVR®32r
Type
MCUr
Datasheets

Specifications of ATEVK1105

Contents
Evaluation Board, Software and Documentation
Processor To Be Evaluated
AT32UC3A0512
Processor Series
AVR
Data Bus Width
32 bit
Interface Type
USART, TWI, USB, SPI, Ethernet
Operating Supply Voltage
3.3 V
Silicon Manufacturer
Atmel
Core Architecture
AVR
Core Sub-architecture
AVR UC3
Silicon Core Number
AT32UC3A0512
Silicon Family Name
AVR
Kit Contents
Board CD Docs
Rohs Compliant
Yes
For Use With/related Products
AT32UC3A0
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
17.5.3
32058J–AVR32–04/11
Keypad scan support
The NMI is non-maskable within the CPU in the sense that it can interrupt any other execution
mode. Still, as for the other external interrupts, the actual NMI input line can be enabled and dis-
abled by accessing the registers in the External Interrupt Module. These interrupts are not
enabled by default, allowing the proper interrupt vectors to be set up by the CPU before the
interrupts are enabled.
The External Interrupt Module also includes support for keypad scanning. The keypad scan fea-
ture is compatible with keypads organized as rows and columns, where a row is shorted against
a column when a key is pressed.
The rows should be connected to the external interrupt pins with pullups enabled in the GPIO
module. These external interrupts should be enabled as low level or falling edge interrupts. The
columns should be connected to the available scan pins. The GPIO must be configured to let the
required scan pins be controlled by the EIC module. Unused external interrupt or scan pins can
be left controlled by the GPIO or other peripherals.
The Keypad Scan function is enabled by writing :EN to 1, which starts the keypad scan counter.
The SCAN outputs are tristated, except SCAN[0], which is driven to zero. After 2
RC clock cycles this pattern is left shifted, so that SCAN[1] is driven to zero while the other out-
puts are tristated. This sequence repeats infinitely, wrapping from the most significant SCAN pin
to SCAN[0].
When a key is pressed, the pulled-up row is driven to zero by the column, and an external inter-
rupt triggers. The scanning stops, and the software can then identify the key pressed by the
interrupt status register and the SCAN:PINS value.
The scanning stops whenever there is an active interrupt request from the EIC to the CPU.
When the CPU clears the interrupt flags, scanning resumes.
AT32UC3A
(SCAN:PRESC+1)
108

Related parts for ATEVK1105