AVR- PX128A1 development board Users Manual

AVR- PX128A1 development board  Users Manual
AVR- PX128A1 development board
Users Manual
All boards produced by Olimex are ROHS compliant
Rev.B, May 2009
Copyright(c) 2009, OLIMEX Ltd, All rights reserved
Page 1
INTRODUCTION
AVR-PX128A1 board is entry level development board for the new AVR XMEGATM
A Microcontroller family of devices produced by Atmel Corporation.
With AVR-PX128A1 you can explore the features of XMEGA A family on budged,
the board have everything necessary to build simple applications: USB port where
power is taken and power supply circuit, reset and oscillator circuits, JTAG and PDI
port for programming and debugging, LCD, status LED and two user buttons.
Although very simple this board will allow you to easily build USB application like
USB mass storage device, USB Audio class device, USB to Virtual RS232 port. There
are plenty of GPIOs on extension headers where you can connect your additional
circuits.
BOARD FEATURES
-
CPU: ATXMEGA128A1 AVR 8/16-bit XMEGATM
-
JTAG connector with standard 2x5 pin layout for programming/debugging
with JTAGICE mkII
-
PDI connector with 2x3 pin layout for programming/debugging with JTAGICE
mkII
-
USB connector
-
two user buttons
-
RESET button
-
status LED
-
power supply LED
-
on board voltage regulator 3.3V with up to 800mA current
-
single power supply: 6V AC or 9V DC required, board can take power from
USB port too
-
8 Mhz crystal oscillator
-
32768 Hz crystal and RTC
-
extension header
-
SD/MMC card connector
-
Audio in and Audio Out jacks for microphone and headphones
-
LCD 8X1
-
PCB: FR-4, 1.5 mm (0,062"), red soldermask, silkscreen component print
-
Dimensions: 100 x 80mm (3.9 x 3.15")
Page 2
ELECTROSTATIC WARNING
The AVR-PX128A1 board is shipped in protective anti-static packaging. The board
must not be subject to high electrostatic potentials. General practice for working
with static sensitive devices should be applied when working with this board.
BOARD USE REQUIREMENTS
Cables: The cable you will need depends on the programmer/debugger you use,
also you will need USB A-B cable.
Hardware: Programmer/Debugger JTAGICE mkII
Software: AVR C compiler.
PROCESSOR FEATURES
AVR-PX128A1 board use High-performance, Low-power 8/16-bit AVR XMEGA
Microcontroller ATXMEGA128A1 from Atmel Corporation with these features:
–
Non-Volatile Program and Data Memories:
–
128K Bytes of In-System Self-Programmable Flash
–
8K Bytes Boot Section with Independent Lock Bits
–
2K Bytes EEPROM.
–
8K Bytes Internal SRAM.
External Bus Interface for up to 16M bytes SRAM
External Bus Interface for up to 128M bit SDRAM
–
Peripheral Features:
–
Four-channel DMA Controller with support for external requests
–
Eight-channel Event System
–
Eight 16-bit Timer/Counters
Four Timer/Counters with 4 Output Compare or Input Capture
channels
Four Timer/Counters with 2 Output Compare or Input Capture
channels
High-Resolution Extension on all Timer/Counters
Advanced Waveform Extension on two Timer/Counters
–
Eight USARTs
IrDA modulation/demodulation for one USART
–
Four Two-Wire Interfaces with dual address match (I2C and SMBus
compatible)
–
Four SPI (Serial Peripheral Interface) peripherals
–
AES and DES Crypto Engine
Page 3
–
–
16-bit Real Time Counter with separate Oscillator
–
Two Eight-channel, 12-bit, 2 Msps Analog to Digital Converters
–
Two Two-channel, 12-bit, 1 Msps Digital to Analog Converters
–
Four Analog Comparators with Window compare function
–
External Interrupts on all General Purpose I/O pins
–
Programmable Watchdog Timer with Separate On-chip Ultra Low Power
Oscillator
Special Microcontroller Features
–
Power-on Reset and Programmable Brown-out Detection
–
Internal and External Clock Options with PLL and Prescaler
–
Programmable Multi-level Interrupt Controller
–
Sleep Modes: Idle, Power-down, Standby, Power-save, Extended Standby
–
Advanced Programming, Test and Debugging Interfaces
JTAG (IEEE 1149.1 Compliant) Interface for programming, test and
debugging
PDI (Program and Debug Interface) for programming and
debugging
–
I/O
–
–
Operating Voltage
–
–
78 Programmable I/O Lines
1.6 – 3.6V
Speed performance
–
0 – 12 MHz @ 1.6 – 3.6V
–
0 – 32 MHz @ 2.7 – 3.6V
Page 4
BLOCK DIAGRAM
Page 5
MEMORY MAP
Page 6
SCHEMATIC
3.3V 3.3V
U1
FET
IRLML6402
+
C27
100nF
R17
C15
C16
100nF
100nF
100nF
100nF
TEST
GND3
2
4
6
1
3
5
C17
39pF
C18
39pF
10pF
C20
10pF
R8
330R
R7
10k
65
66
67
68
69
70
71
72
PJ0
PJ1
PJ2
P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/CS
CMD/DI
VSS1
VDD
CLK/SCLK
VSS2
DAT0/DO
DAT1/RES
DAT2/RES
13
15
1
CP_E
close
PC0
3.3V
3.3V
R48
NA
R36
100k
C32
R33
470R
100nF
C33
R34
10k
MIC_IN
U3
MCP601-I/SN
R40
330R
C35
47uF/6.3V
3
6
Z1
BZV55C2V4
C38
Z2
BZV55C2V4
47pF
ATXMEGA128A1
2
R39
470k
100nF
R38
33k
R37
R35
NA
C34
MICROPHONE
51k/1% 47pF
1-L
2
C36
1uF
3-R
BACKLIG HT(3.6V)
3.3V
C6
C5
100nF
100nF
+
3.3V
D1
R41
2k
T1107A(6x3.8x2.5mm)
47uF/6.3V
C46
BUT1
NA
T1157
C45
100nF
330R
BUT2
T1157
C48
100nF
BUT2
3
C43
2.2uF
C39
100nF
U4
5
8
+
C44
47uF/6.3V
2
7
R50
BUT1
330R
330R
RST
R3
330R
R15
RST
4
20k
GND
PWR
RED(KP-3216EC)
R42
3.3k
R43
R44
47k
VCC
+
10uF/6.3V(NA)
100nF
C47
100nF
R2
390R/1%
C4
C3
+
C2
R13
R1
240R/1%
C42
2.2uF
R49
33k
R14
33k
C40
47uF/6.3V
1
6
2
R12
33k
OUT
ADJ/GND
DB104(SMD)
GND_1
GND
C41
470pF
3.3V
1
IN
C1
470uF/16VDC
3.3V
3.3V
3.3V_E
close
VR1(3.3V)
LM1117IMPX-ADJ
G1
PWR_J
SCJ325P00XG0B02G
DAC0B_OUT
3.3V
1N5819S
6VAC
9VDC
75
76
77
78
79
80
81
82
PK0
PK1
PK2
PK3
PK4
PK5
PK6
PK7
3.3V
VIN
YDJ-1134
87
88
PE0/OC0AE/#OC0AE/SDAE
PE1/OC0BE/OC0AE/XCK0E/SCLE
PE2/OC0CE/#OC0BE/RXD0E
PE3/OC0DE/OC0BE/TXD0E
PE4/#OC0CE/OC1AE/#SSE
PE5/OC0CE/OC1BE/XCK1E/MOSIE
PE6/#OC0DE/RXD1E/MISOE
PE7/OC0DE/TXD1E/SCKE/CLKOUT/EVOUT
PQ1/TOSC2
3.3V
3.3V
3.3V
R4
NA
GDSC-0801WP-01-MENT
+5V_USB
PQ0/TOSC1
RS
RW
E
SD_NSS
SD_MOSI
SD_MISO
SD_SCK
L2
470nH/0805
3.3V
WP1
WP2
1
2
3
4
5
6
7
8
9
SD_MISO
100k
R24
100k
R25
100k
R26
BH10S
15
16
17
18
19
20
21
22
SD/MMC
10
14
2
4
11
12
10
WP
CP
86
SD_SCK
2
4
6 RST
8
10
47pF
10k
VDD
VO
VSS
R6
10k
PR1/XTAL1
3.3V
JTAG
PB3
1
SD_NSS
SD_MOSI
10k
R23
3.3V
1
3
5
7
9
R20
100k
WP_E
close
WP
C37
DATA
CONTRAST
DB4
DB5
DB6
DB7
6
7
8
9
STAT
GREEN(KP-3216SGC)
STAT
RW
PR0/XTAL2
PD0/OC0AD/SDAD
PD1/OC0BD/XCK0D/SCLD
PD2/OC0CD/RXD0D
PD3/OC0DD/TXD0D
PD4/OC1AD/#SSD
PD5/OC1BD/XCK1D/MOSID
PD6/RXD1D/MISOD
PD7/TXD1D/SCKD/CLKOUT/EVOUT
AREFB
MIC_IN
DAC0B_OUT
STAT
3.3V
R21
10k
7
RS
RW
E
S IGN A L S
PC0/OC0AC/#OC0AC/SDAC
PC1/OC0BC/OC0AC/XCK0C/SCLC
PC2/OC0CC/#OC0BC/RXD0C
PC3/OC0DC/OC0BC/TXD0C
PC4/#OC0CC/OC1AC/#SSC
PC5/OC0CC/OC1BC/XCK1C/MOSIC
PC6/#OC0DC/RXD1C/MISOC
PC7/OC0DC/TXD1C/SCKC/CLKOUT/EVOUT
5
6
7
8
9
10
11
12
R22
100k
+
1
3
C ON TR OL
DB4
DB5
DB6
DB7
85
3.3V
R5
10k
LCD
92
Q2
QCT32768(2x6)/6pF
PQ2
PQ3
http://www.olimex.com/dev
#XRESET (1 )
#CSB (0 )
2
RS
4
RW
5
E
91
8MHz/20pF(S MD)
G ND
COPYRIGHT(C), 2009
GND_7
GND_6
GND_5
GND_4
GND_3
GND_2
GND_1
GND
PB0/ADC0B/AC0B/AREFB
PB1/ADC1B/AC1B
PB2/ADC2B/AC2B/DAC0B
PB3/ADC3B/AC3B/DAC1B
PB4/ADC4B/AC4B/TMS
PB5/ADC5B/AC5B/TDI
PB6/ADC6B/AC6B/TCK
PB7/ADC7B/AC7B/AC0OUTB/TDO
PA0
PA1
PA2
PA3
PA4
PA5
PA6
PA7
0R
C19
Rev. B
VCC
VCC_1
VCC_2
VCC_3
VCC_4
VCC_5
VCC_6
VCC_7
95
96
97
98
99
100
1
2
+
A
AGND_1
AGND
PDI/PDI_DATA
Q1
26
21
18
Page 7
SR1
AP431SAG-7
3.3V
PA0/ADC0A/AC0A/AREFA
PA1/ADC1A/AC1A
PA2/ADC2A/AC2A/DAC0A
PA3/ADC3A/AC3A/DAC1A
PA4/ADC4A/AC4A
PA5/ADC5A/AC5A
PA6/ADC6A/AC6A
PA7/ADC7A/AC7A/AC0OUTA
RST
90
#RESET/PDI_CLOCK
PDI_DATA 89
AVR-PX128A1
R
R11
51k/1%
RST RESET
PDI_DATA
FT232RL/SSOP28
C
AVCC
AVCC_1
+
C14
PDI
BACKLIGHT(3.6V)
R10
22k/1%
84
73
63
53
43
33
23
13
3.3V
BH6S
7
25
R9
560R
GND2
R46
NA
GND1
AGND
C26 100nF
VIN
3V3OUT
CBUS0
CBUS1
CBUS2
CBUS3
CBUS4
100nF
17
23
22
13
14
12
C13
NC1
#RESET
NC2
OSCI
OSCO
RXD0_E
TXD0_E
R16
330R
100nF
100nF
NA
NA
10nF
8
19
24
27
28
1
5
3
11
2
9
10
6
C12
C21
10uF/6.3V
C25
USBDM
USBDP
FT232RL
C22+
USB_B
C23
C24
S H IE L D
16
15
TXD
RXD
RTS#
CTS#
DTR#
DSR#
DCD#
RI#
100nF
VCCIO
VCC
C11
0R(NA)
0R(NA)
PWREN
100nF
0R
14
24
34
44
54
64
74
83
1k
C9
USB
0R
93
3
100nF
100nF
C10
4
20
L1
FB /6 0 0 OH M /1 2 0 6 (3 2 1 6 1 1 C-6 0 1 )
R18
R19
C28
C8
3.3V
U2
1
2
3
4
C7
10uF/6.3V
R45
10k
USB
4
94
3.3V
+5V_USB
TS4871(SO-8)
HEADPHONES
1-L
2
3-R
SCJ325P00XG0B02G
BOARD LAYOUT
Page 8
POWER SUPPLY CIRCUIT
AVR-PX128A1 is typically power supplied with 9 V DC, and 6 V AC.
The board power consumption is about 30mA.
RESET CIRCUIT
AVR-PX128A1 reset circuit includes pin 5 of PDI connector, pin 6 of JTAG
connector, ATXMEGA128A1 pin 90 and Reset button.
CLOCK CIRCUIT
Quartz crystal 8MHz is connected to ATXMEGA128A1 pin 91 (PR0/XTAL2) and
pin 92 (PR1/XTAL1).
Page 9
JUMPER DESCRIPTION
3.3V_E
Enable the main 3.3 V regulator VR1(3.3V) – LM1117.
Default state is closed.
WP_E
Enable SD/MMC Write Protect signal check.
Default state is closed.
CP_E
Enable SD/MMC Card Present signal check.
Default state is closed.
INPUT/OUTPUT
Status LED (green) with name STAT connected to ATXMEGA128A1 pin 8
(PB3/ADC3B/AC3B/DAC1B) and EXT pin PB3.
Power-on LED (red) with name PWR – this led shows that +3.3V is applied to the
board.
User button with name BUT1 connected to ATXMEGA128A1 pin 35
(PE0/OC0AE/#OC0AE/SDAE).
User button with name BUT2 connected to ATXMEGA128A1 pin 36
(PE1/OC0BE/#XCK0E/SCLE).
Reset button with name RST connected to pin 5 of PDI connector, pin 6 of JTAG
connector, ATXMEGA128A1 pin 90 (#RESET/PDI_CLOCK).
CONNECTOR DESCRIPTIONS
JTAG
Pin #
Signal Name
1
PB6
2
GND
3
PB7
4
3.3V
5
PB4
6
RST
7
3.3V
8
NC
9
PB5
10
GND
Page 10
PDI
Pin #
Signal Name
1
PDI_DATA
2
3.3V
3
NC
4
NC
5
RST
6
GND
UEXT
Pin #
Signal Name
1
3.3V
2
GND
3
TXD0_D
4
RXD0_D
5
SCL_D
6
SDA_D
7
MISO_D
8
MOSI_D
9
SCK_D
10
#SS_D
USB
Pin #
Signal Name
1
+5V_USB
2
USBDM
3
USBDP
4
GND
Page 11
EXT
Pin #
Signal Name
Pin #
Signal Name
1
VCC
2
VCC
3
PA7
4
PK7
5
PA6
6
PK6
7
PA5
8
PK5
9
PA4
10
PK4
11
PA3
12
PK3
13
PA2
14
PK2
15
PA1
16
PK1
17
PA0
18
PK0
19
PB3 (STAT)
20
PJ7
21
PC7 (SD_SCK)
22
PJ6
23
PC6 (SD_MISO)
24
PJ5
25
PC3 (E)
26
PJ4
27
PC2 (RW)
28
PJ3
29
PC0
30
PJ2
31
PD7 (SCK_D)
32
PJ1
33
PD6 (MISO_D)
34
PJ0
35
PD5 (MOSI_D)
36
PH7
37
PD3 (TXD0_D)
38
PH6
39
PD2 (RXD0_D)
40
PH5
41
PE7 (DB7)
42
PH4
43
PE6 (DB6)
44
PH3
45
PE3 (TXD0_E)
46
PH2
47
PE2 (RXD0_E)
48
PH1
49
PF7
50
PH0
51
PF6
52
PQ3 (CP)
53
PF5
54
PQ2 (WP)
55
PF4
56
PF0
57
PF3
58
PF1
59
RST
60
PF2
61
GND
62
GND
PWR_JACK
Page 12
Pin #
Signal Name
1
Power Input
2
GND
MICROPHONE
Pin #
Signal Name
1
AGND
2
NC
3
MIC
HEADPHONE
Pin #
Signal Name
1
AGND
2
IN1=IN2
3
IN2=IN1
Page 13
SD/MMC
Pin #
Signal Name
Pin #
Signal Name
1
SD_NSS
2
SD_MOSI
3
GND
4
3.3V
5
SD_SCK
6
GND
7
SD_MISO
8
Via 100k to 3.3V
9
Via 100k to 3.3V
10
WP
11
NC
12
NC
13
CP
14
Via 10k to 3.3V
15
Via 10k to 3.3V
Page 14
MECHANICAL DIMENSIONS
All measures are in inches.
Page 15
AVAILABLE DEMO SOFTWARE
–
AVR-PX128A1 ADC interrupt and ADC polled examples C source and HEX
–
AVR-PX128A1 UART interrupt and UART polled examples C source and HEX
–
AVR-PX128A1 DAC example C source and HEX
–
AVR-PX128A1 GPIO ports example C source and HEX
–
AVR-PX128A1 PLL at 32Mhz with 8Mhz clock
Page 16
ORDER CODE
AVR-PX128A1 – assembled and tested
How to order?
You can order to us directly or by any of our distributors.
Check our web www.olimex.com/dev for more info.
Revision history:
REV.B
- create May 2009
Page 17
Disclaimer:
© 2009 Olimex Ltd. All rights reserved. Olimex®, logo and combinations thereof, are registered trademarks of
Olimex Ltd. Other terms and product names may be trademarks of others.
The information in this document is provided in connection with Olimex products. No license, express or implied
or otherwise, to any intellectual property right is granted by this document or in connection with the sale of
Olimex products.
Neither the whole nor any part of the information contained in or the product described in this document may be
adapted or reproduced in any material from except with the prior written permission of the copyright holder.
The product described in this document is subject to continuous development and improvements. All particulars
of the product and its use contained in this document are given by OLIMEX in good faith. However all warranties
implied or expressed including but not limited to implied warranties of merchantability or fitness for purpose are
excluded.
This document is intended only to assist the reader in the use of the product. OLIMEX Ltd. shall not be liable for
any loss or damage arising from the use of any information in this document or any error or omission in such
information or any incorrect use of the product.
Page 18
Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Download PDF

advertisement