Atmel Evaluation Kit for ATxmega32E5, 8/16-bit AVR XMEGA Microcontroller Atmel ATXMEGAE5-XPLD ATXMEGAE5-XPLD データシート

製品コード
ATXMEGAE5-XPLD
ページ / 14
 
 
Atmel AT02667: XMEGA-E5 Xplained Hardware User’s Guide [APPLICATION NOTE] 
42084A
−AVR−04/2013 
9
4. 
Peripherals 
4.1 
Mechanical buttons 
Two mechanical buttons are connected to Atmel AVR XMEGA. All buttons have no external pull-ups so user has to 
activate internal pull-ups in order to use them. When a button is pressed it will drive the I/O line to GND. 
Table 4-1.  Mechanical button connection. 
Pin on XMEGA 
Silkscreen text on PCB 
PD0 
SW0 
PD2 
SW1 
4.2 
LEDs 
There are two yellow LEDs available on the board that can be turned on and off. The LEDs can be activated by driving 
the connected I/O line to GND. 
Table 4-2.  LED connections. 
Pin on XMEGA 
LED 
PD4 
Yellow LED0 
PD5 
Yellow LED1 
One green LED (power indicator) and one red LED (status) are also present inside the same package and therefore the 
colors can be mixed to orange when both are activated. Those two LEDs are controlled via the Board Controller and 
user has no access to them. 
4.3 
Quadrature encoder 
The Quadrature Encoder (SW102) is made of one mechanical button and two outputs. These outputs are connected to 
a mechanical switch (SW103) which enables to either connect them to the XMEGA pins or let them accessible on J3 
header. 
Table 4-3.  Quadrature encoder connections. 
Pin on XMEGA 
Pin on J3 header 
Switch SW103 
Quadrature Encoder pins 
PA5 
NA 
NA 
5 (button) 
PA6 
NA 
2-1 (switch pushed down) 
1 (channel A) 
PA7 
NA 
5-4 (switch pushed down) 
3 (channel B) 
NA 
PIN3 
2-3 (switch pushed up) 
1 (channel A) 
NA 
PIN4 
5-6 (switch pushed up) 
3 (channel B) 
4.4 
OLED display 
The OLED display on the XMEGA-E5 Xplained board is UG-2832HSWEG04 manufactured by WiseChip 
Semiconductor Inc. It has a resolution of 128 × 32 pixels. In the design the display is connected via a SPI based 
interface. Detailed information about the display can be obtained from the display datasheet. 
The connection between the MCU and the OLED display is shown in