UC3-L0 XPLAINED Hardware User`s Guide

UC3-L0 XPLAINED Hardware User`s Guide
APPLICATION NOTE
Atmel AVR32924: UC3-L0 XPLAINED Hardware User’s Guide
Atmel 32-bit Microcontroller
Features
•
•
Atmel® AT32UC3L064 microcontroller
Atmel AT32UC3B1256
• Board controller
• Communication gateway
•
Analog input (to ADC)
• Temperature sensor
• RC filter
•
Digital I/O
• One mechanical button switch
• Three LEDs
• Four expansion headers
•
Footprints for external memory
• Atmel AT45DB series DataFlash serial flash
• Atmel AT25DF series industry standard serial flash
•
Touch
• One Atmel QMatrix slider (alt. four QMatrix buttons)
• One Atmel QTouch® button
Introduction
The Atmel UC3-L0 Xplained evaluation kit is a hardware platform to evaluate the
Atmel AT32UC3L064 microcontroller.
The kit offers a large range of features that enables the Atmel AVR® UC3 user to get
started using UC3 peripherals right away and understand how to integrate the UC3
device in their own design.
Figure 1.
UC3-L0 Xplained Evaluation Kit.
32156C−AVR−06/2013
Table of Contents
1. Related Items ....................................................................................... 3 2. General Information ............................................................................. 4 2.1 Preprogrammed Firmware ................................................................................ 5 2.2 Power Supply .................................................................................................... 6 2.3 Measuring the AT32UC3L064 Power Consumption.......................................... 6 2.4 Programming the AT32UC3L064 through the UART-to-USB Gateway ............ 6 2.5 Communication through the UART-to-USB Gateway........................................ 6 3. Connectors ........................................................................................... 7 3.1 Programming Headers ...................................................................................... 7 3.2 I/O Expansion Headers ..................................................................................... 7 4. Memories ........................................................................................... 10 5. Miscellaneous I/O .............................................................................. 11 5.1 Mechanical Switch .......................................................................................... 11 5.2 LEDs ….. ......................................................................................................... 11 5.3 Analog I/O ....................................................................................................... 11 5.4 Touch ….. ........................................................................................................ 12 5.5 Board Controller .............................................................................................. 12 6. Included Code Example ..................................................................... 13 6.1 Compiling and Running ................................................................................... 13 7. Schematics ........................................................................................ 14 8. Known Issues ..................................................................................... 21 8.1 Light Sensor .................................................................................................... 21 8.2 USB Test Points .............................................................................................. 21 9. Revision History ................................................................................. 22 9.1 Revision 4 ....................................................................................................... 22 10. EVALUATION BOARD/KIT IMPORTANT NOTICE ........................... 23 11. Document Revision History ................................................................ 24 Atmel AVR32924: UC3-L0 XPLAINED Hardware User’s Guide [APPLICATION NOTE]
32156C−AVR−06/2013
2
1.
Related Items
Atmel Studio (IDE Supports all 8- and 32-bit AVR and ARM® devices)
http://www.atmel.com/tools/atmelstudio.aspx?tab=overview
Atmel AVR JTAGICE3 (on-chip programming and debugging tool)
http://www.atmel.com/tools/JTAGICE3.aspx
Atmel AVR ONE! (on-chip programming and debugging tool)
http://www.atmel.com/tools/AVRONE_.aspx
Atmel Software Framework (ASF)
http://gallery.atmel.com/Products/Details/29ab7282-240d-4e34-8a1d-7b3607d45778
Atmel AVR32924: UC3-L0 XPLAINED Hardware User’s Guide [APPLICATION NOTE]
32156C−AVR−06/2013
3
2.
General Information
This document targets the Atmel AT32UC3L064 evaluation kit revision 4, and parts of the document may, therefore, be
inconsistent with earlier revisions of the product. For earlier revisions, please refer to the schematics, which is the only
documentation available for these revisions. The Atmel UC3-L0 Xplained kit is intended to demonstrate the
AT32UC3L064 microcontroller, and the hardware that relates to the Atmel AT32UC3B1256 (board controller) is,
therefore, not covered in detail in this document.
Figure 2-1. Overview of the UC3-L0 Xplained kit.
Header J1
Power
measurement
header
JTAG
Header
Header J3
USB
Connector
Mechanical
Button
Power &
Status LED
RGB
LED
QMatrix
Slider
QTouch
Button
AT32UC3L064
LED0 & LED1
Header J2
AT32UC3B1256
Dataflash
footprints
Header J4
Atmel AVR32924: UC3-L0 XPLAINED Hardware User’s Guide [APPLICATION NOTE]
32156C−AVR−06/2013
4
Figure 2-2. Functional overview of the Atmel UC3-L0 Xplained kit.
EXPANSIONS
Four standard 10 pin
headers that can be used
with various top cards
Button
LEDs
Dataflash
HID
QTouch
button
MEMORIES
QMatrix
slider
AT32UC3L064
Temperature
Sensor,
PWM Voltage
generation
JTAG
USART/TWI
AT32UC3B1256
2.1
DEBUG
USB Device
Preprogrammed Firmware
The Atmel AT32UC3L064 and the Atmel AT32UC3B1256 that come with the Atmel UC3-L0 Xplained kit are both
preprogrammed.
The preprogrammed firmware in the AT32UC3L064 is set up with a small demo with the QMatrix touch slider and
QTouch button that can be used to control the RGB LED. The device also features a UART boot loader that can be
used to program new firmware to the device. Hold the mechanical button while applying power to start the boot loader.
The boot loader can be used with the command line tool “batchISP” delivered with FLIP.
The preprogrammed AT32UC3B1256 firmware offers features such as a boot loader for self-programming of the board
controller itself and a UART-to-USB gateway. The bootloader can be started by shorting the 2-pin header (not mounted)
while applying power to the board. The bootloader can be used with the command line tool “BatchISP” delivered with
FLIP.
Atmel AVR32924: UC3-L0 XPLAINED Hardware User’s Guide [APPLICATION NOTE]
32156C−AVR−06/2013
5
2.2
Power Supply
The kit is powered via the USB connector, which leaves two options to power it: Connect the kit either to a PC through a
USB cable or to a 5V USB power supply (AC/DC adapter).
The 5V is regulated down to 3.3V with an onboard LDO regulator, which provides power to the entire board. The
AT32UC3L064 is powered by 3.3V, but if 1.8V operation is desired, some modifications to the board are needed. This
includes replacing the regulator with one that delivers 1.8V output and rerouting the power to the device (see schematic
for explanation). As some of the other ICs on the Atmel UC3-L0 Xplained require 3.3V to operate correctly, these
devices have to be removed also.
2.3
Measuring the AT32UC3L064 Power Consumption
As part of an evaluation of the Atmel AT32UC3L064, it can be of interest to measure its power consumption. The twopin header with a jumper mounted on it is the only connection between the common power plane VCC_P3V3 and the
VCC_MCU_P3V3 power plane. By replacing the jumper with an ampere meter, it is possible to determine the current
consumption of the AT32UC3L064. To locate the power measurement header, refer to Figure 2-1.
Warning:
2.4
Do not power the board without having the jumper or an ampere meter mounted. Otherwise, the device may
be damaged.
Programming the AT32UC3L064 through the UART-to-USB Gateway
The AT32UC3L064 can be programmed through the UART-to-USB gateway. This can be accomplished using the
UART boot loader preprogrammed in the device. Press and hold the mechanical button switch while powering up the
board to enter the boot loader, and use 32-bit AVR Studio® to set up a programming connection to the device.
Note:
If the default board controller firmware is replaced, programming of the AT32UC3L064 may not be possible as the
UART-to-USB functionality might be missing.
Note:
If any external programming tool is used on the AT32UC3L064, the boot loader might be erased, and it will not be
possible to program the device through the UART-to-USB gateway. In this case the boot loader has to be restored
with an external programming tool.
2.5
Communication through the UART-to-USB Gateway
The AT32UC3L064 UART is connected to a UART on the Atmel AT32UC3B1256. The AT32UC3B1256 UART is
communicating at 57600 baud, using one start bit, eight data bits, one stop bit, and no parity.
When the AT32UC3B1256 device is enumerated (connected to a PC), the data transmitted from the AT32UC3L064 is
passed on to a (virtual) COM port. This means that it is possible to use a terminal program to receive the transmitted
data on a PC. Similarly data transmitted from the PC COM port is passed on to the AT32UC3L064 UART through the
gateway.
Atmel AVR32924: UC3-L0 XPLAINED Hardware User’s Guide [APPLICATION NOTE]
32156C−AVR−06/2013
6
3.
Connectors
The UC3-L0 Xplained kit has five 10-pin, 100mil headers. Two headers have a fixed communication interface (J1 and
J4). One header has analog functionality (J2), and the last header (J3) has general purpose digital I/O.
The 90° angled header is the JTAG programming and debugging header for the AT32UC3L064.
For the location of the respective headers, refer to Figure 2-1.
3.1
Programming Headers
The Atmel AT32UC3L064 can be programmed and debugged by connecting an external programming/debugging tool
to the JTAG header. The header has a standard JTAG programmer pinout (refer to online help in AVR Studio), and
tools such as JTAGICE mkII or AVR ONE! can thus be connected directly to the header.
Note:
The grey female 10-pin header on JTAGICE mkII has to be used when connecting to the kit. A scoring in the board is
made to fit the orientation tab on the header.
Note:
A standoff adapter (no. 1) is needed when using the AVRONE!.
Note:
Pin 1 on the JTAG header is at the top right corner. This is rotated 180° compared to the other headers (J1, J2, J3, and
J4).
Table 3-1.
UC3 Programming and Debugging Interface – JTAG.
Pin
JTAG (1)
1
TCK
2
GND
3
TDO
4
VCC
5
TMS
6
nSRST
7
-
8
-
9
TDI
10
GND
Note:
1.
Standard pinout for JTAGICE mkII and other Atmel programming tools.
The Atmel AT32UC3B1256 can be programmed through its boot loader. The boot loader is evoked by shorting the two
holes close to the device before applying power to the board. The two holes have 100mil spacing, so the user can
solder in a two-pin header and use a jumper to easily enter the boot loader. Programming is performed through the boot
loader programmer target in AVR32 Studio.
Alternatively, the AT32UC3B1256 can also be programmed by connecting a programming tool, such as JTAGICE mkII,
to the 10-pin test points on the bottom side of the board (marked with BC JTAG).
Note:
It is not recommended to program the AT32UC3B1256 using a programming tool, as this will erase the boot loader.
3.2
I/O Expansion Headers
There are four available I/O expansion headers on the kit. Because of the low pin count on the device, the I/O
expansion header pins are shared with onboard functionality. If “clean” expansion ports are needed, cut-straps are
available on some of the ADC inputs. Otherwise, it is only needed to remove a series resistor to remove onboard
functionality. Table 3-2 show what is shared on the respective header pins.
Atmel AVR32924: UC3-L0 XPLAINED Hardware User’s Guide [APPLICATION NOTE]
32156C−AVR−06/2013
7
Table 3-2.
UC3-L0 Xplained I/O Expansion Header – J1.
Pin
J1
UC3 pin
Shared with onboard functionality
1
TWI SDA
PA21
Header J4, board controller
2
TWI SCL
PB05
Header J4, board controller
3
UART RX
PB11
Header J4
4
UART TX
PB10
Header J4
5
SPI CS2
PA08
-
6
SPI MOSI
PB03
Header J4, DataFlash
7
SPI MISO
PB02
Header J4, DataFlash
8
SPI SCK
PB01
Header J4, DataFlash
9
GND
-
-
10
VCC_P3V3
-
-
Table 3-3.
Pin
UC3-L0 Xplained I/O Expansion Header – J2.
J2
UC3 pin
Shared with onboard functionality
ADC0
(1)
PA14
RC filter output
ADC1
(2)
PA15
QMatrix slider X0
ADC2
(1)
PA16
Shorted to GND
4
ADC4
(1)
PA18
NTC
5
ADC7
PB07
-
PB08
QMatrix slider X3
PB06
-
PA19
QMatrix slider X1
1
2
3
6
ADC8
7
ADC6
(2)
(2)
8
ADC5
9
GND
-
-
10
VCC_ANA_P3V3
-
-
Notes:
1.
ADC channels can be disconnected from onboard functions by cutting the available cut-straps on the
bottom side of the board.
2.
ADC channels are shared with the QMatrix slider. Remove resistors on the lines to separate the sensors
from the ADC.
Atmel AVR32924: UC3-L0 XPLAINED Hardware User’s Guide [APPLICATION NOTE]
32156C−AVR−06/2013
8
Table 3-4.
UC3-L0 Xplained I/O Expansion Header – J3.
Pin
J3
UC3 pin
Shared with onboard functionality
1
PWM0
PA13
RGB LED (RED), RC filter input
2
PWM1
PA17
RGB LED (GREEN)
3
PWM2
PA20
RGB LED (BLUE)
4
PWM3
PA22
QMatrix slider X2
5
PWM4
PB12
QTouch SNS
6
PWM5
PB09
QTouch SNSK
7
PWM6
PB04
LED1
PA11
LED0, mechanical button
-
-
-
-
8
PWM7
9
GND
10
Notes:
(1)
VCC_P5V0
(2)
1.
Mechanical button and LED0 are sharing I/O. Use input with pull-up to turn off LED, and output low to turn
on LED.
2.
The VCC pin on this header has 5V and is connected to the USB power.
Table 3-5.
UC3-L0 Xplained I/O Expansion Header – J4.
Pin
J4
UC3 pin
Shared with onboard functionality
1
TWI SDA
PA21
Header J1, board controller
2
TWI SCL
PB05
Header J1, board controller
3
UART RX
PB11
Header J1
4
UART TX
PB10
Header J1
5
SPI CS0
PB00
-
6
SPI MOSI
PB03
Header J1, DataFlash
7
SPI MISO
PB02
Header J1, DataFlash
8
SPI SCK
PB01
Header J1, DataFlash
9
GND
-
-
10
VCC_P3V3
-
-
Atmel AVR32924: UC3-L0 XPLAINED Hardware User’s Guide [APPLICATION NOTE]
32156C−AVR−06/2013
9
4.
Memories
The Atmel UC3-L0 Xplained does not have any external memories mounted on the board. Footprints are available for
adding either an industrial standard or a proprietary Atmel DataFlash serial flash.
Note:
The footprints share the same SPI lines, including the chip select, and so it is not possible to mount a device on both
footprints at the same time.
Table 4-1.
Compatible Devices for the Footprints.
AT45DB
AT25DF
AT45DB64D2-CNU
AT25DF641A-SH
AT45DB321D-MWU
AT25DF321A-SH
AT45DB161D-SS
AT25DF161-SH
AT45DB081D-SS
AT25DF081-SSH
AT45DB041D-SS
AT25DF021-SSH
AT45DB021D-SS
AT45DB011D-SS
Atmel AVR32924: UC3-L0 XPLAINED Hardware User’s Guide [APPLICATION NOTE]
32156C−AVR−06/2013
10
5.
Miscellaneous I/O
5.1
Mechanical Switch
The board is equipped with one mechanical switch. The button is shared with LED0, and onboard protection circuitry is
added to avoid a short when driving the port high at the same time as pushing the button, which will short it to ground.
To be able to use both button and LED, time multiplexing has to be used.
To be able to detect a button press, the firmware has to periodically set the I/O pin to input with pull-up and check if it is
low. When done fast enough, the human eye will not see any change on the LED.
5.2
LEDs
The Atmel UC3-L0 Xplained has three LEDs mounted onboard that are connected to the Atmel AT32UC3L064. These
include two standard yellow LEDs and one RGB LED. The two yellow LEDs are active low, while the RGB LED is active
high.
LED0 is shared with the mechanical button. When turning this LED on, set the I/O pin to output low. When turning the
LED off, set the I/O pin as input with pull-up. When the LED is turned on, the protection circuitry added to the button will
make the LED shine brighter when the button is pressed. When the LED is off, any button press will light up the LED.
One additional dual LED is mounted near the USB connector. This is the power and status LED, which is connected to
the board controller. This LED will be green when power is applied, and will toggle between green and orange when
communication over USB is ongoing.
5.3
Analog I/O
A RC filter and an NTC are connected to ADC0 and ADC4 respectively. These analog references can be used as input
to the ADC. Both analog references can be disconnected by cutting the cut-straps on the bottom side of the board.
The RC filter (1st order low-pass) has an approximate 3dB cut-off frequency of 160Hz. The input to the RC filter is one of
the UC3 GPIO pins that can be configured to output a PWM signal to the RC filter. This can be used to generate a DC
voltage on the output of the RC filter, which can be measured on the ADC. As this is a 1st order filter, the ripple on the
DC voltage is proportional to the input frequency. A higher input frequency will give lower ripple on the output.
Atmel AVR32924: UC3-L0 XPLAINED Hardware User’s Guide [APPLICATION NOTE]
32156C−AVR−06/2013
11
5.4
Touch
The UC3-L0 Xplained kit has one QTouch button and one QMatrix slider implemented onboard. The button and the
slider are connected to the built-in CAT module in the AT32UC3L064.
The QMatrix slider can be reconfigured to be used as four separate buttons instead of as a slider.
Table 5-1.
UC3-L0 Xplained Touch Connections.
Touch sensor
onboard reference
QTouch method
pin name
QMatrix method
pin name
CAT module pin
name
UC3 pin
Selection bit in
PINMODEx register
QSlider X0
X7
CSB6
PA15
SP6
QSlider X1
X10
CSA10
PA19
SP10
QSlider X2
X11
CSB10
PA22
SP10
QSlider X3
X13
CSB12
PB08
SP12
QSlider YK0
YK3
CSB7
PA05
SP7
-
Y3
CSA7
PA04
SP7
QButton SNSK0
SNSK15
CSB15
PB09
SP15
-
SNS15
CSA15
PB12
SP15
Note:
As the device has a very low pin count, a tradeoff has been made to be able to have as many I/O lines as possible
routed to the headers. The sensor lines to the QTouch button and the QMatrix slider are shared with some of the
headers. The sensitivity of the sensor lines is very high on these exposed pins, and so touching the I/O pins will
give erroneous result in the touch sensing mechanism.
Note:
Adding top modules to the board with functionality connected to these pins is not recommended. Top modules without
functionality on these pins will only add some capacitive load and will not affect the QMatrix sensor significantly.
5.5
Board Controller
The board controller and the Atmel AT32UC3L064 are connected together through TWI and UART. Both interfaces can
be used to communicate between the devices, but only the UART is implemented by default in the board controller.
Table 5-2.
AT32UC3L064 and Board Controller Communication Interface.
Interface
Atmel AT32UC3L064 pin
Atmel AT32UC3B1256 pin
UART RX
(1)
PA07
PA24
UART TX
(1)
PA06
PA23
TWI SCL
PB05
PA09
TWI SDA
PA21
PA10
Note:
1.
These represent the RX and TX on the device. The RX on one device is connected to TX on the other
device, and vice versa.
Atmel AVR32924: UC3-L0 XPLAINED Hardware User’s Guide [APPLICATION NOTE]
32156C−AVR−06/2013
12
6.
Included Code Example
The example application is based on the Atmel AVR Software Framework found online at http://asf.atmel.no. The
example can be found in the path “avr32\applications\uc3-l0_xplained” in the ASF. For documentation, help, and
examples on the drivers used, please see the website.
Note:
ASF in Atmel Studio does not require a specific download. Use Atmel Studio Extension Manager (Tools->Extension
Manager) or visit Atmel Gallery to update ASF in Atmel Studio.
6.1
Compiling and Running
The code examples that can be found in ASF can be compiled by running make on the makefile included in the project
or by opening the project in IAR™ and compiling the project within IAR.
Atmel AVR32924: UC3-L0 XPLAINED Hardware User’s Guide [APPLICATION NOTE]
32156C−AVR−06/2013
13
7.
Schematics
1
2
3
4
5
6
7
8
A
A
U_Dat af a
l sh
Dat aflash. SchDoc
U_M CU
M CU. SchDoc
U_I O
IO . SchDoc
Dat af a
l sh
B
LEDS
BUTTO N
Q TO UCH_BUTTO N
Q M ATRI X_SL IDER
Dat aflash
SPI _SCK
SPI _M O SI
SPI _M ISO
SPI _CS
L EDS
BUTTO N
Q TO UCH_BUTTO N
Q M ATRI X_SL IDER
JTAG / aWir e
JTAG
Header J1
Header J2
Header J3
Header J4
B
U_Analog
Analog . SchDoc
SENSO RS
HEADER J1
HEADER J2
HEADER J3
HEADER J4
U_Pow er M anagement
Pow er M anagement . SchDoc
DF_SCK
DF_M O SI
DF_M I SO
DF_CS
SENSO RS
PWM
ADC
NTC_ADC
FI LTER_I NPUT
FI LTER_O UTPUT
NTC_O UTPUT
XTAL
XTAL
RG BL ED
RG BL ED
U_Boar d_cont r ole
lr
Boar d_cont r ole
l r . SchDoc
TWI 0_SDA
TWI 0_SCL
TWI _SDA
TWI _SCL
BC_USART2_TXD
BC_USART2_RXD
C
USART1_RX
USART1_TX
USB_P
USB_N
USB_I D
C
USB_P
USB_N
STATUS_L ED
PO WER_L ED
STATUS_L ED
PO WER_L ED
PCB1
LABEL 1
Cannot open
fie
l
Pr oduct num ber / r eviso
in
C: \ Docum ent
Sersa
i l num ber
and
Set t n
i gs\ a
lj ss
en\ Deskt op\ qr
code. p
jg
D
ATM EL Nor way
*
Vest r e Rost en 79
*
N- 7075 TI LLER
A08- 0808
D
*
NO RWAY
Dat e:
6/ 4/ 2013
Docum ent num ber :
TI TLE:
1
5: 16: 53 PM
PAG E:
Reviso
i n:
1
of
7
4
UC3- L0 XPLAI NED
TopLevel. SchDoc
1
2
3
4
5
6
7
Atmel AVR32924: UC3-L0 XPLAINED Hardware User’s Guide [APPLICATION NOTE]
32156C−AVR−06/2013
8
14
1
2
3
4
5
6
7
TWI 0_SDA
TWI 0_SCL
USART1_RXD
USART1_TXD
SPI 0_CS2
SPI 0_M O SI
SPI 0_M ISO
SPI 0_SCK
A
TM S
TDO
TDI
TCK
RESET
PWM A 0
A DC0
A DC1/QM ATRIX_X 7
A DC2/A CREF
PWM A 1
A DC4
A DC5/QM ATRIX_X 10
PWM A 2
TW I0_SDA
PWM A 3/QM ATRIX_X 11
26
36
37
38
39
41
40
25
24
9
22
PWM A7/ BTN0
5
44
23
29
32
31
30
20
21
8
7
16
6
PWM A0
PWM A1
PWM A2
PWM A3/ Q M ATRI X_X11
PWM A4/ Q TO UCH_SNS15
PWM A5/ Q TO UCH_SNSK15
PWM A6
PWM A7
PWM A4/ Q TO UCH_SNS15
USART1_RXD
USART1_TXD
PWM A5/ Q TO UCH_SNSK15
ADC8/ Q M ATRI X_X13
ADC7
ADC6
TWI 0_SCL
PWM A6
SPI 0_M O SI
SPI 0_M ISO
SPI 0_SCK
SPI 0_CS0
TWI 0_SDA
TWI 0_SCL
USART1_RXD
USART1_TXD
SPI 0_CS0
SPI 0_M O SI
SPI 0_M ISO
SPI 0_SCK
RESET_N
PWM A5/ Q TO UCH_SNSK15
USART2_TXD
USART2_RXD
G ND
G ND
Co
l se t o VDDCO RE
PI N1
PI N2
PI N3
PI N4
PI N5
PI N6
PI N7
PI N8
J2
HEADER J2
PI N1
PI N2
PI N3
PI N4
PI N5
PI N6
PI N7
PI N8
J3
HEADER J3
PI N1
PI N2
PI N3
PI N4
PI N5
PI N6
PI N7
PI N8
J4
HEADER J4
B
VCC_VDDANA
VCC_ADVREF
Q TO UCH_BUTTO N
C108
22n
PWM A4/ Q TO UCH_SNS15
VCC_CO RE_P1V8
VCC_M CU_P3V3
1. 8V domain and analog volt ages
VCC_M CU_P3V3
VCC_CO RE_P1V8
R106
0R
C100
2. 2uF
VCC_VDDANA
TP100
VCC_ADVREF
TP101
L100
BL M 18HE152SN1
C101
100n
R102
0R
G ND
R104
0R
Add t his r esist or orf 1. 8V
oper at o
i n ( VCC_M CU_P3V3
must be 1. 8V) .
Co
l se t o VDDI N/ G ND
TP102
R107
R108
R109
R110
R111
ADC1/ Q M ATRI X_X7
ADC5/ Q M ATRI X_X10
PWM A3/ Q M ATRI X_X11
ADC8/ Q M ATRI X_X13
Q M ATRI X_YK3
A DC0
VCC_CO RE_P1V8
C
RESET
1
19
43
45
BUTTO N
BC_USART2_RXD
JTAG _TM S
JTAG _TDO
JTAG _TDI
JTAG _TCK
RESET
PB12
PB11
PB10
PB09
PB08
PB07
PB06
PB05
PB04
PB03
PB02
PB01
PB00
A
GNDANA
ADVREFP
VDDANA
JTAG
XI N32
XO UT32
VDDCORE
JTAG
U100
AT32UC3L 064-AUT
HEADER J1
J1
33
34
35
XI N32
XO UT32
PA12
PA11
PA10
PA09
PA08
PA07
PA06
PA05
PA04
PA03
PA02
PA01
PA00
VDDI N
XTAL
47
27
46
2
3
15
10
12
28
4
13
14
11
18
XTAL
B
PWM A0
PWM A1
PWM A2
RED
G REEN
BL UE
XO UT32
PWM A7
XI N32
SPI 0_CS3
SPI 0_CS2
USART2_RXD
USART2_TXD
Q M ATRI X_YK3
Q M ATRI X_Y3
JTAG _TDI
JTAG _TDO
JTAG _TM S
JTAG _TCK
17
RG BL ED
BC_USART2_TXD
PWM A6
PWM A7/ BTN0
LED1
LED0
LEDS
RG BLED
PWM A0
ADC0
ADC4
PI N1
PI N2
PI N3
PI N4
PI N5
PI N6
PI N7
PI N8
ADC0
ADC1/ Q M ATRI X_X7
ADC2/ ACREF
ADC4
ADC7
ADC8/ Q M ATRI X_X13
ADC6
ADC5/ Q M ATRI X_X10
PA13
PA14
PA15
PA16
PA17
PA18
PA19
PA20
PA21
PA22
SENSO RS
PWM
ADC
NTC_ADC
SPI 0_SCK
SPI 0_M O SI
SPI 0_M ISO
SPI 0_CS3
VDDI O_0
VDDI O_1
LEDS
SPI _SCK
SPI _M O SI
SPI _M ISO
SPI _CS
42
48
SENSO RS
Dat aflash
GND_0
GND_1
GND_2
GND_3
Dat af a
l sh
8
R103
0R
X0
X1
X2
X3
YK0
Q M ATRI X_SLI DER
C
C109
4. 7n
Q M ATRI X_Y3
J100
ADC2/ ACREF
Add r esist or 103 and r em
ove
r esist or 104 fi an ext er nal
r efer ence should be connect ed
fr om header J2, pin 0.
Q M ATRI X_SL IDER
1k
1k
1k
1k
1k
G ND
SM D- STRAP_CL
O SED
VCC_M CU_P3V3
C102
4. 7uF
C103
100n
G ND
Co
l se t o VDDI O / G ND pair s
Co
l se t o VDDANA/ G NDANA
But t on/ LED SC pr ot ect o
in
TWI Pul-l Ups
VCC_P3V3
VCC_M CU_P3V3
VCC_M CU_P3V3
VCC_VDDANA
D
C107
4. 7uF
C104
100n
C105
100n
C106
100n
PWM A7/ BTN0 R105
R100
47k
PWM A7
680R
R101
47k
G ND
*
Vest r e Rost en 79
*
N- 7075 TI LLER
*
G ND
TWI 0_SDA
D
NO RWAY
Dat e:
TWI 0_SCL
G ND
ATM EL Nor way
TWI 0_SCL
TWI 0_SDA
6/ 4/ 2013
Docum ent num ber :
TI TLE:
2
5: 16: 53 PM
PAG E:
Reviso
i n:
2
of
7
4
UC3- L0 XPLAI NED
M CU. SchDoc
1
2
3
4
5
6
7
Atmel AVR32924: UC3-L0 XPLAINED Hardware User’s Guide [APPLICATION NOTE]
32156C−AVR−06/2013
8
15
2
3
Header J1
G ND
US B M i n i A B c o n n e c t o r
JTAG RESET and aWir e DATA
2
4
6
8
10
J3
USB_AB
SHI ELD4
SHI ELD3
SHI ELD2
SHI ELD1
GND
ID
D+
DVBUS
J204
G ND
VCC_P3V3
G ND
G ND
M USB- 05- F- AB- SM - A
G ND
1
R
G
2
3
SM L-020M LT
2
USB_P
USB_I D
G ND
VCC_P5V0
PO WER_LED
1
R206
1M
VCC_P5V0
5
USB_N
USB_P
2
Q 200
2N7002
G PIO
G PIO
G PIO
G PIO
4
STATUS_LED
3 R204
220R
1 R205
220R
A
2
4
6
8
10
S p a re Di g i t a l S i g n a l s
USB_N
D205
J202
HEADER 2x
J T A G/ a W i re I n t e rf a c e
D204
VCC_P3V3
1
3
5
7
9
G PIO
G PIO
G PIO
G PIO
G ND
2213R- 10G
PIN2
PIN4
PIN6
PIN8
J205
VCC_P3V3
5
S p a re Di g i t a l S i g n a l s
4
8
Header J3
JTAG TCK and aWir e DATAO UT 1
3
TDO
5
TM S
7
VCC_P3V3
9
TDI
SCL / CTS / XCK
TXD
M O SI
SCK
HEADER 2x
7
9
8
7
6
5
4
3
2
1
2
4
6
8
10
6
RESET
TDI
TM S
TDO
TCK
PIN2
PIN4
PIN6
PIN8
J200
1
3
5
7
9
SDA / RTS
RXD
SS
M ISO
5
JTAG
PIN7
PIN5
PIN3
PIN1
J1
A
4
JTAG / aWir e
PIN7
PIN5
PIN3
PIN1
1
3
G ND
PRTR5V0U2X
P o we r L E D a n d US B S t a t u s L E D
TP204
TP201
TP202
US B T ra n s i e n t p ro t e c t i o n
B
3
4
TP200
LEDS
1
2
R200
220R
SW200
SKRAAKE010
LEDS
TP203
B
VCC_P3V3
D201
EL17-21UYC/A2
1
2
D200
EL17-21UYC/A2
1
2
VCC_P3V3
C201
1n
CS200
Q M ATRI X_SL IDER
Q M _X0
Q M _X1
Q M _X2
Q M _X3
Q M _YK0
1
2
3
4
Y
R201
680R
BUTTO N
LED0
LED1
X0
X1
X2
X3
YK0
Q M ATRI X_SLI DER
M edium Q M at r xi Sld
i er
G ND
1 P u s h -B u t t o n
2 Y e l l oLwE Ds
CS201
1
Q TO UCH_BUTTO N
C
C
Q Touch But t on
Header J4
Header J2
PIN7
PIN5
PIN3
PIN1
PIN2
PIN4
PIN6
PIN8
PIN7
PIN5
PIN3
PIN1
ADC / AREF
ADC / DAC
ADC / AC_P
ADC / AC_P
G ND
1
3
5
7
9
J201
VCC_ANA_P3V3
2 ADC
4 ADC / DAC
6 ADC / AC_N
8 ADC / AC_N
10
HEADER 2x
PIN2
PIN4
PIN6
PIN8
J4
J2
SDA / RTS / PWM / CAPTURE
RXD / PWM / CAPTURE
SS/ PWM / CAPTURE
M ISO / PWM
VCC_P3V3
G ND
L200
C200
100n
5
G ND
A DC/ DA C/ A C c h a n n e l s
D
J203
2 SCL / CTS / PWM / CAPTURE
4 TXD / PWM / CAPTURE
6 M O SI / PWM / CAPTURE
8 SCK / PWM
10
VCC_P3V3
HEADER 2x
E x p a n s i o n He a d e r
BL M 18HE152SN1
1
3
5
7
9
ATM EL Nor way
*
Vest r e Rost en 79
*
N- 7075 TI LLER
*
5
D
NO RWAY
Dat e:
6/ 4/ 2013
Docum ent num ber :
TI TLE:
3
5: 16: 53 PM
PAG E:
Reviso
i n:
3
of
7
4
UC3- L0 XPLAI NED
I O . SchDoc
1
2
3
4
5
6
7
Atmel AVR32924: UC3-L0 XPLAINED Hardware User’s Guide [APPLICATION NOTE]
32156C−AVR−06/2013
8
16
1
2
3
4
5
6
7
8
A
A
3 . 3 V l i n e a r re g u liat ht oirn w
p u t ra n g e f ro m - 4 . 4 V - 1 8 V
U300
NCP1117L PST33T3G
VI N
G ND
VO UT
VO UT_PAD
2
VCC_P3V3
VCC_P3V3
4
C301
10u
USB 2. 0 Input volt age specifci at o
i n:
4. 4V - 5. 25V, nom
n
i al 5. 0V
1
G ND
G ND
+
10u
3
VCC_P5V0
C300
VCC_P5V0
G ND
This r egulat or can handle up t o 18V n
i put olvt age and maxim um 1. 0A
o
l ad cur r ent , tiwh a maxim um volt age dr op of 1. 4V. The out put oltvage
si 3. 3V ± 2% . The axi
m m um quiescent cur r ent si 700µA. NO TE! ! t hat
wor st c- ase out put olvt age may dr op down t o 3. 0V w
ti h 4. 4V n
i put
volt age.
B
B
NO TE! ! ESR on out put capacit or should be a
l rerg t han
20mO hm t o m
aint ain st able r egulat o
i n. Hg
i her values on t he
out put capacit or liwalso m
i pr ove o
l op st abitil y and gvi e bet t er
t r ansient r esponse hiw
ch r educes out put noise.
CP U P o ewr S u p p l y
VCC_M CU_P3V3
VCC_P3V3
M e a s u re m e n t He a d e r
1
2
J300
HEADER 1x
2
JS300
C
C
SNT- 100-BK- G
Place on J300 pin1-2
D
ATM EL Nor way
*
Vest r e Rost en 79
*
N- 7075 TI LLER
*
D
NO RWAY
Dat e:
6/ 4/ 2013
Docum ent num ber :
TI TLE:
4
5: 16: 53 PM
PAG E:
Reviso
i n:
4
of
7
4
UC3- L0 XPLAI NED
Power M anagem ent . SchDoc
1
2
3
4
5
6
7
Atmel AVR32924: UC3-L0 XPLAINED Hardware User’s Guide [APPLICATION NOTE]
32156C−AVR−06/2013
8
17
1
2
3
4
5
6
7
8
RGB L E D
Q 400
A
NTC Tem per at ur e Sensor
J400
2
NCP18WF104J03RB
R
G
3
R403
62R
3
1
2
3
2
2N7002
RED
G REEN
BL UE
R407
100k
1
R404
180R
Ex . B( 25/ 80) :
R = 100k * e^( 4255/ T1 -4255/ 25)
G ND
G ND
RG BL ED
2N7002
Q 402
O SED
Bet a-for mula:
R1 = R2 * e^( B/ T1-B/ T2)
A
G ND
R406
100k
Q 401
1
1
R401
4
67-23/ R6G 6B6C- B38/ 2T
NTC_O UTPUT
SM D- STRAP_CL
2
B
VCC_P3V3
2
2N7002
D400
B( 25/ 80) = 4255K
B( 25/ 85) = 4260K
B( 25/ 100) = 4282K
R400
100k
3
1
100k NTC Tem per at ur e Sensor .
O ut put liwbe Vcc/ 2 at 25C.
VCC_P3V3
R402
150R
RG BLED
G ND
R408
100k
This st r ap wti h SM D pads can be used
t o place a r esist or n
i t he XO UT nal
sig
n
i or der t o m
easur e t he drevi e
l vel and
t he oscia
l t or alo
l w ance.
By default t hese st r aps ar e closed and
not hing si mount ed on t he pads.
B
Co
l ck cir cuit r y
Lowpass RC Fitl er
FI LTER_I NPUT
B
FI LTER_O UTPUT
SM D- STRAP_CL
O SED
XC400
C401
22p
C402
1u
1. or der RC oLwpass tlif er wit h
cut -of f fr equency at appr ox
m
i at ely
1kHz.
XI N32
XO UT32
Epson FC- 145 cr yst al.
J402
J401
R405
1k
SM D- STRAP_CL
O SED
G ND
XTAL
XTAL
C400
22p
G ND
G ND
Cr yst al dat asheet :
Load capacit ance CL = 12. 5 pF
ESR 70k O hm M ax.
Fr equency t oler ance 20ppm
Dr vi e Level 0. 5uW
To have const ant DC al
vues wit h o
lw
rp
i ple, t he capacit or / r esist oraluves
should be chosen t o t he n
im
m
i um
cut -of f fr equency.
AT32UC3L 0 dat asheet :
Int er nal equiv alent capacit ance of t he dev
ci e si Ci = 2 pF
The package and pin capacit ance si neg
g
il b
ie
l ( < 1pF)
C
C
C = 2 ( CL - Ci ) = 2 ( 12. 5 2)- pF = 21 pF
Select ed value si 22pF
D
ATM EL Nor way
*
Vest r e Rost en 79
*
N- 7075 TI LLER
*
D
NO RWAY
Dat e:
6/ 4/ 2013
Docum ent num ber :
TI TLE:
5
5: 16: 54 PM
PAG E:
Reviso
i n:
5
of
7
4
UC3- L0 XPLAI NED
Analog. SchDoc
1
2
3
4
5
6
7
Atmel AVR32924: UC3-L0 XPLAINED Hardware User’s Guide [APPLICATION NOTE]
32156C−AVR−06/2013
8
18
1
2
3
4
5
6
7
8
A
A
Dat af a
l sh
B
R502
100k
VCC_P3V3
R500
100k
R501
100k
VCC_P3V3
DF_M I SO
1
2
3
4
DF_M O SI
DF_SCK
DF_CS
U500
SI
SCK
RESET
CS
SO
G ND
VCC
WP
AT45DB642D-
G ND
1
2
3
4
VCC
HO LD
SCK
SI
AT25DF641A-
B
G ND
C500
100n
VCC_P3V3
CNU
U501
CS
SO
WP
G ND
8
7
6
5
8
7
6
5
VCC_P3V3
SH- T
C
C
D
ATM EL Nor way
*
Vest r e Rost en 79
*
N- 7075 TI LLER
*
D
NO RWAY
Dat e:
6/ 4/ 2013
Docum ent num ber :
TI TLE:
6
5: 16: 54 PM
PAG E:
Reviso
i n:
6
of
7
4
UC3- L0 XPLAI NED
Dat af a
l sh. SchDoc
1
2
3
4
5
6
7
Atmel AVR32924: UC3-L0 XPLAINED Hardware User’s Guide [APPLICATION NOTE]
32156C−AVR−06/2013
8
19
1
2
3
4
5
6
7
8
Decoupling
VCC_P3V3
VCC_P3V3
C600
C601
100n
G ND
A
A
100n
G ND
VCC_UC3B_P1V8
C602
2. 2uF
C603
22n
VCC_P3V3
C604
2. 7n
VCC_UC3B_P1V8
C605
470p
G ND
R600
100k
C606
2. 2uF
BO O T_SEL ECT
C607
VCC_P3V3
100n
J601
HEADER 1x
C608
4. 7uF
2
G ND
G ND
TWI _SCL
TWI _SDA
C609
100n
G ND
1
2
Shor t t hese towt est
point s t o e
gt n
ito
boot o
l ader mode.
G ND
VCC_P3V3
VCC_UC3B_P1V8
Cr yst al dat asheet :
Load capacit ance CL = 20 pF
ESR 80 O hm M ax.
Fr equency t oler ance 30 ppm
XI N0
C610
22n
B
G ND
4
3
J600
XO UT0
SM D- STRAP_CL
C611
18p
O SED
XC600
2
1
C612
18p
7
8
9
10
11
12
20
21
22
23
25
26
27
28
29
30
31
G ND
PA3
PA4
PA5
PA6
PA7
PA8
PA9
PA10
PA11
PA12
PA13
PA14
PA15
PA16
PA17
PA18
PA19
32
33
34
35
43
44
45
46
IBI S fie
l ( t ypical v alues) :
C_com p = 3. 1 pF
C_pk g = 0. 2 pF
C = 2 ( CL - Ci ) - C_comp/ 2 - C_pkg/ 2
C = 2 ( 20 -12) pF -1. 5pF -0. 1pF = 14. 6 pF
Load capacit ance adjust ed accor dingt o 18p af
t er m
easur ement s on
har dwar e.
PO WER_L ED
STATUS_L ED
PO WER_LED
STATUS_LED
USART1_TX
USART1_RX
2
3
4
5
C
BC_JTAG _TCK
BC_JTAG _TDI
BC_JTAG _TDO
BC_JTAG _TM S
BC_JTAG _RESET
TP602
TP603
TP604
TP605
TP606
TP607
TP608
TP609
TP610
VCC_P3V3
G ND
VCC_P3V3
G ND
AGND
VDDANA
ADVREF
13
15
14
1
19
37
VDDCORE_1
VDDCORE_2
VDDCORE_3
TCK
TDI
TDO
TM S
DP
DM
VBUS
GND_1
GND_2
GND_3
VCC_P5V0
RESETn
6
18
42
38
39
40
VDDI N
VDDOUT
VDDPLL
47
USB_FS_P
USB_FS_N
17
16
41
BC_JTAG _RESET
VDDI O_1
VDDI O_2
VDDI O_3
R601
39R
39R
R602
USB_P
USB_N
24
36
48
C
G ND
U600
48 e
l ad TQ FP package
AT32UC3B1256- AUT
PA20
PA21
PA22
PA23
PA24
PA25
PA26
PA27
B
AT32UCB1 dat asheet :
Int er nal capacit ance of t he dev
ci e si Ci = 12 pF
12. 0M Hz
Des g
i n c o m m e nt :
G ND
VCC_UC3B_P1V8
G ND
VCC_P3V3
D
ATM EL Nor way
*
Vest r e Rost en 79
*
N- 7075 TI LLER
*
D
NO RWAY
Dat e:
6/ 4/ 2013
Docum ent num ber :
TI TLE:
7
5: 16: 54 PM
PAG E:
Reviso
i n:
7
of
7
4
UC3- L0 XPLAI NED
Boar d_cont r ole
l r . SchDoc
1
2
3
4
5
6
7
Atmel AVR32924: UC3-L0 XPLAINED Hardware User’s Guide [APPLICATION NOTE]
32156C−AVR−06/2013
8
20
8.
Known Issues
8.1
Light Sensor
The output range on the light sensor is 0V – 3.3V. The ADC reference must therefore be high enough to match the
output range of the light sensor when doing measurements.
8.2
USB Test Points
Touching the test points for the USB data lines on the back side of the board while there is ongoing communication
might interrupt the device and cause the device to stop responding. The kit must be reconnected to start working
properly again.
Atmel AVR32924: UC3-L0 XPLAINED Hardware User’s Guide [APPLICATION NOTE]
32156C−AVR−06/2013
21
9.
Revision History
Revision 4 of the Atmel UC3-L0 Xplained kit is the first revision released.
9.1
Revision 4
Revision 4 of the UC3-L0 Xplained kit can be identified by a bar-code sticker on the back side with the following product
ID: A09-1053/4.
Atmel AVR32924: UC3-L0 XPLAINED Hardware User’s Guide [APPLICATION NOTE]
32156C−AVR−06/2013
22
10.
EVALUATION BOARD/KIT IMPORTANT NOTICE
This evaluation board/kit is intended for use for FURTHER ENGINEERING, DEVELOPMENT, DEMONSTRATION, OR
EVALUATION PURPOSES ONLY. It is not a finished product, and may not (yet) comply with some or any technical or
legal requirements that are applicable to finished products, including, without limitation, directives regarding
electromagnetic compatibility, recycling (WEEE), FCC, CE, or UL (except as may be otherwise noted on the board/kit).
Atmel supplied this board/kit “AS IS,” without any warranties, with all faults, at the buyer’s and further users’ sole risk.
The user assumes all responsibility and liability for proper and safe handling of the goods. Further, the user indemnifies
Atmel from all claims arising from the handling or use of the goods. Due to the open construction of the product, it is the
user’s responsibility to take any and all appropriate precautions with regard to electrostatic discharge and any other
technical or legal concerns.
EXCEPT TO THE EXTENT OF THE INDEMNITY SET FORTH ABOVE, NEITHER USER NOR ATMEL SHALL BE
LIABLE TO EACH OTHER FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES.
No license is granted under any patent right or other intellectual property right of Atmel covering or relating to any
machine, process, or combination in which such Atmel products or services might be or are used.
Mailing Address: Atmel Corporation, 1600 Technology Drive, San Jose, CA 95110
Atmel AVR32924: UC3-L0 XPLAINED Hardware User’s Guide [APPLICATION NOTE]
32156C−AVR−06/2013
23
11.
Document Revision History
Doc. Rev.
Date
Comments
32156C
06/2013
The Chapter “Schematics” is added. New document template
32156B
03/2011
Some corrections
32156A
01/2011
Initial document release
Atmel AVR32924: UC3-L0 XPLAINED Hardware User’s Guide [APPLICATION NOTE]
32156C−AVR−06/2013
24
Atmel Corporation
Atmel Asia Limited
Atmel Munich GmbH
Atmel Japan G.K.
1600 Technology Drive
Unit 01-5 & 16, 19F
Business Campus
16F Shin-Osaki Kangyo Building
San Jose, CA 95110
BEA Tower, Millennium City 5
Parkring 4
1-6-4 Osaki, Shinagawa-ku
USA
418 Kwun Tong Road
D-85748 Garching b. Munich
Tokyo 141-0032
Tel: (+1)(408) 441-0311
Kwun Tong, Kowloon
GERMANY
JAPAN
Fax: (+1)(408) 487-2600
HONG KONG
Tel: (+49) 89-31970-0
Tel: (+81)(3) 6417-0300
www.atmel.com
Tel: (+852) 2245-6100
Fax: (+49) 89-3194621
Fax: (+81)(3) 6417-0370
Fax: (+852) 2722-1369
© 2013 Atmel Corporation. All rights reserved. / Rev.: 32156C−AVR−06/2013
Atmel®, Atmel logo and combinations thereof, AVR®, AVR Studio®, Enabling Unlimited Possibilities®, QTouch®, and others are registered trademarks or
trademarks of Atmel Corporation or its subsidiaries. ARM® and others is the registered trademark or trademarks of ARM Ltd. Other terms and product names may
be trademarks of others.
Disclaimer: The information in this document is provided in connection with Atmel products. No license, express or implied, by estoppel or otherwise, to any intellectual property right is granted by this
document or in connection with the sale of Atmel products. EXCEPT AS SET FORTH IN THE ATMEL TERMS AND CONDITIONS OF SALES LOCATED ON THE ATMEL WEBSITE, ATMEL ASSUMES
NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS, IMPLIED OR STATUTORY WARRANTY RELATING TO ITS PRODUCTS INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT,
CONSEQUENTIAL, PUNITIVE, SPECIAL OR INCIDENTAL DAMAGES (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS AND PROFITS, BUSINESS INTERRUPTION, OR LOSS OF
INFORMATION) ARISING OUT OF THE USE OR INABILITY TO USE THIS DOCUMENT, EVEN IF ATMEL HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Atmel makes no
representations or warranties with respect to the accuracy or completeness of the contents of this document and reserves the right to make changes to specifications and products descriptions at any time
without notice. Atmel does not make any commitment to update the information contained herein. Unless specifically provided otherwise, Atmel products are not suitable for, and shall not be used in,
automotive applications. Atmel products are not intended, authorized, or warranted for use as components in applications intended to support or sustain life.
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

advertising