AVR PX128A1

AVR PX128A1
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
USB
Page 7
DATA
10k
C2
R2
390R/1%
PWR
RED(KP-3216EC)
R3
330R
2
C4
C3
C47
GND_1
GND
C1
470uF/16VDC
R1
240R/1%
RST
NA
C46
330R
R13
RST
BUT1
T1157
100nF
C45
330R
R15
R14
33k
3.3V
BUT1
BUT2
T1157
100nF
C48
330R
R50
R49
33k
3.3V
BUT2
47pF
C38
R42
3.3k
C42
2.2uF
C43
R44
47k
6
3
4
3.3V
3.3V
C32
47uF/6.3V
C44
47uF/6.3V
+
C34
R34
10k
R33
470R
3-R
2
1-L
SCJ325P00XG0B02G
3-R
2
1-L
HEADPHONES
SCJ325P00XG0B02G
100nF
C39
R32
33k
47uF/6.3V
C33
R31
4.7k
MICROPHONE
R35
NA
RXD0_D
SDA_D
MOSI_D
#SS_D
3.3V
3.3V
CSD-09G(BOT)
CP1
CP2
CD/DAT3/CS
CMD/DI
VSS1
VDD
CLK/SCLK
VSS2
DAT0/DO
DAT1/RES
DAT2/RES
WP1
WP2
SD/MMC
47uF/6.3V
3.3V
100nF
R37
13
15
1
2
3
4
5
6
7
8
9
10
14
C29
51k/1% 47pF
C40
C36
1uF
R38
33k
C35
R36
100k
3.3V
BH10S
2
4
6
8
10
R28
10k
UEXT
TS4871(SO-8)
5
8
U4
2
3
100nF
1
3
5
7
9
3.3V
R27
100k
L2
470nH/0805
R20
100k
3.3V
TXD0_D
SCL_D
MISO_D
SCK_D
R30
4.7k
3.3V
SR2
AP431SAG-7
R39
470k
C41
470pF
2.2uF
20k
R43
Z2
BZV55C2V4
Z1
BZV55C2V4
R40
330R
R41
2k
MIC_IN
A
C
U3
MCP601-I/SN
R48
NA
R
1
CP_E
close
2
2
7
6VAC
9VDC
DB104(SMD)
R12
33k
3.3V
DAC0B_OUT
PH0
PH1
PH2
PH3
PH4
PH5
PH6
PH7
100nF
R47
0R(NA)
CP
GND
ADJ/GND
OUT
3.3V
3.3V_E
close
1
IN
VR1(3.3V)
LM1117IMPX-ADJ
3.3V
55
56
57
58
59
60
61
62
PF0
PF1
PF2
PF3
PF4
PF5
PF6
PF7
C31
10uF/6.3V
C30
47pF
G1
VIN
PH0/#WE
PH1/#CAS/#RE
PH2/#RAS/#ALE1
PH3/#DQM/#ALE2
PH4/BA0/#CS0/A16
PH5/BA1/#CS1/A17
PH6/CKE/#CS2/A18
PH7/CLK/#CS3/A19
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C3A/DAC1A
PA4/ADC4A/AC4A
PA5/ADC5A/AC5A
PA6/ADC6A/AC6A
PA7/ADC7A/AC7A/AC0OUTA
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
RST
90
#RESET/PDI_CLOCK
PDI_DATA 89
GND_7
GND_6
GND_5
GND_4
GND_3
GND_2
GND_1
GND
VCC
VCC_1
VCC_2
VCC_3
VCC_4
VCC_5
VCC_6
VCC_7
AGND_1
AGND
AVCC
AVCC_1
+
S IGN A L S
C ON TR OL
1
3
SR1
AP431SAG-7
3.3V
C26 100nF
AVR-PX128A1
FT232RL/SSOP28
7
25
LCD
NA
18
A
NA
C24
BH6S
1
3
5
RST RESET
PDI_DATA
84
73
63
53
43
33
23
13
14
24
34
44
54
64
74
83
93
3
4
94
3.3V 3.3V
+
R11
51k/1%
10uF/6.3V
BACKLIGHT(3.6V)
C23
GND1
AGND
C
100nF
GND2
26
21
R10
22k/1%
C21
C22+
TEST
GND3
R9
560R
FT232RL
R46
NA
2
4
6
PDI
100nF
VIN
3.3V
100nF
C9
CBUS0
CBUS1
CBUS2
CBUS3
CBUS4
C10
23
22
13
14
12
RXD0_E
TXD0_E
C11
100nF
3V3OUT
NC1
#RESET
NC2
OSCI
OSCO
USBDM
USBDP
R16
330R
100nF
17
8
19
24
27
28
16
15
1
5
3
11
2
9
10
6
100nF
C12
10nF
0R(NA)
0R(NA)
TXD
RXD
RTS#
CTS#
DTR#
DSR#
DCD#
RI#
100nF
C8
100nF
C13
R
0R
0R
VCCIO
VCC
100nF
C7
100nF
C14
C25
R18
R19
4
20
PWREN
3.3V
3.3V
100nF
C15
USB_B
L1
FB /6 0 0 OH M /1 2 0 6 (3 2 1 6 1 1 C-6 0 1 )
1k
R17
10uF/6.3V
C28
+5V_USB
C16
S H IE L D
1
2
3
4
USB
U2
100nF
+
R45
10k
C27
FET
IRLML6402
U1
SCHEMATIC
T1107A(6x3.8x2.5mm)
+
100nF
47uF/6.3V
10uF/6.3V(NA)
+
100nF
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