User manual

Atmel AT02667: XMEGA-E5 Xplained Hardware User’s Guide [APPLICATION NOTE]
42084AAVR04/2013
7
The header J2 is connected to analog ports of the XMEGA as shown in Table 3-3.
Table 3-3. Expansion header J2.
Pin on J2 Name on J2 XMEGA pin Shared with onboard functionality
1 ADC0 PA0 -
2 ADC1 PA1 -
3 ADC2 PA2 -
4 ADC3 PA3 -
5 ADC4 PA4 -
6 ADC5 PA5 Quadrature Encoder Button
(1)
7 ADC6 PA6 Quadrature Encoder Output
(2)
8 ADC7 PA7 Quadrature Encoder Output
(2)
9 GND - -
10 VCC_P3V3 - -
The header J3 is connected to digital ports of XMEGA. Table 3-4 shows the mapping of the XMEGA I/O to J3.
Table 3-4. Expansion header J3.
Pin on J3 Name on J3 XMEGA pin Shared with onboard functionality
1 GPIO0 PR0 Shared with OLED display: data/cmd function
2 GPIO1 PR1 Shared with OLED display: CS function
3 GPIO2 QENC_A Quadrature Encoder Output
(3)
4 GPIO3 QENC_B Quadrature Encoder Output
(3)
5 GPIO4 PC4/ SS
6 GPIO5 PC7/MOSI
7 GPIO6 PC6/MISO
8 GPIO7 PC5/SCK
9 GND - -
10 VCC_P5V0 - -
Notes: 1.
Can be disconnected from onboard functionality by cut-straps.
2. Can be disconnected using SW103 mechanical switch.
3. Quadrature encoder outputs can be accessible on this header when SW103 mechanical switch is pushed up.
The header J4 offers digital communication interfaces such as UART and TWI but care must be taken because some
pins are also connected to on-board peripherals.