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

JTAG

Header

Power measurement header

USB

Connector

Header J3

Mechanical

Button

RGB

LED

Power &

Status LED

QMatrix

Slider

QTouch

Button

LED0 & LED1

Header J2

AT32UC3L064 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

MEMORIES

Dataflash

Button

LEDs

QTouch button

QMatrix slider

AT32UC3L064

Temperature

Sensor,

PWM Voltage generation

JTAG

DEBUG

USART/TWI

AT32UC3B1256

USB Device

2.1

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:

Do not power the board without having the jumper or an ampere meter mounted. Otherwise, the device may be damaged.

2.4

Note:

Note:

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.

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.

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

Note:

Note:

Note:

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.

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.

A standoff adapter (no. 1) is needed when using the AVRONE!.

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).

Note:

Table 3-1. UC3 Programming and Debugging Interface – JTAG.

Pin

JTAG

(1)

7

8

5

6

3

4

1

2

9

10

TCK

GND

TDO

VCC

-

-

TMS nSRST

TDI

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).

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.

6

7

4

5

2

3

Pin

1

8

9

10

J1

TWI SDA

TWI SCL

UART RX

UART TX

SPI CS2

SPI MOSI

SPI MISO

SPI SCK

GND

VCC_P3V3

UC3 pin

PA21

PB05

PB11

PB10

PA08

PB03

PB02

PB01

-

-

Shared with onboard functionality

Header J4, board controller

Header J4, board controller

Header J4

Header J4

-

Header J4, DataFlash

Header J4, DataFlash

Header J4, DataFlash

-

-

Table 3-3. UC3-L0 Xplained I/O Expansion Header – J2.

Pin

1

2

7

8

9

10

5

6

3

4

J2

ADC0

(1)

ADC1

(2)

ADC2

(1)

ADC4

(1)

ADC7

ADC8

(2)

ADC6

ADC5

(2)

GND

VCC_ANA_P3V3

UC3 pin

PA14

PA15

PA16

PA18

PB07

PB08

-

-

PB06

PA19

Shared with onboard functionality

RC filter output

QMatrix slider X0

Shorted to GND

NTC

-

QMatrix slider X3

-

-

-

QMatrix slider X1

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.

6

7

4

5

2

3

Pin

1

8

9

10

J3

PWM0

PWM1

PWM2

PWM3

PWM4

PWM5

PWM6

PWM7

(1)

GND

VCC_P5V0

(2)

UC3 pin

PA13

PA17

PA20

PA22

PB12

PB09

PB04

PA11

-

-

Shared with onboard functionality

RGB LED (RED), RC filter input

RGB LED (GREEN)

RGB LED (BLUE)

QMatrix slider X2

QTouch SNS

QTouch SNSK

LED1

LED0, mechanical button

-

-

Notes:

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.

6

7

4

5

2

3

Pin

1

8

9

10

Table 3-5. UC3-L0 Xplained I/O Expansion Header – J4.

J4

TWI SDA

TWI SCL

UART RX

UART TX

SPI CS0

SPI MOSI

SPI MISO

SPI SCK

GND

VCC_P3V3

UC3 pin

PA21

PB05

PB11

PB10

PB00

PB03

PB02

PB01

-

-

Shared with onboard functionality

Header J1, board controller

Header J1, board controller

Header J1

Header J1

-

Header J1, DataFlash

Header J1, DataFlash

Header J1, DataFlash

-

-

Atmel AVR32924: UC3-L0 XPLAINED Hardware User’s Guide [APPLICATION NOTE]

32156C −AVR−06/2013

9

4.

Note:

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.

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

AT45DB64D2-CNU

AT45DB321D-MWU

AT45DB161D-SS

AT45DB081D-SS

AT45DB041D-SS

AT45DB021D-SS

AT45DB011D-SS

AT25DF

AT25DF641A-SH

AT25DF321A-SH

AT25DF161-SH

AT25DF081-SSH

AT25DF021-SSH

Atmel AVR32924: UC3-L0 XPLAINED Hardware User’s Guide [APPLICATION NOTE]

32156C −AVR−06/2013

10

5.

5.1

Miscellaneous I/O

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 (1 st

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.

Note:

Note:

Table 5-1. UC3-L0 Xplained Touch Connections.

Touch sensor onboard reference

QSlider X0

QSlider X1

QSlider X2

QSlider X3

QSlider YK0

-

QButton SNSK0

-

QTouch method pin name

SNSK15

SNS15

X13

YK3

Y3

QMatrix method pin name

X7

X10

X11

CAT module pin name

CSB6

CSA10

CSB10

CSB12

CSB7

CSA7

CSB15

CSA15

UC3 pin

PA15

PA19

PA22

PB08

PA05

PA04

PB09

PB12

Selection bit in

PINMODEx register

SP6

SP10

SP10

SP12

SP7

SP7

SP15

SP15

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.

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

UART RX

(1)

UART TX

(1)

TWI SCL

TWI SDA

Note:

Atmel AT32UC3L064 pin

PA07

PA06

PB05

PA21

Atmel AT32UC3B1256 pin

PA24

PA23

PA09

PA10

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.

Note:

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.

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

A

3 4 5 6 7 8

A

B

C

D

1

U_I O

IO . SchDoc

LEDS

BUTTO N

Q TO UCH_BUTTO N

Q M ATRI X_SL IDER

JTAG / aWir e

Header J1

Header J2

Header J3

Header J4

2

USB_P

USB_N

USB_I D

STATUS_L ED

PO WER_L ED

3

U_M CU

M CU. SchDoc

Dat aflash

L EDS

BUTTO N

Q TO UCH_BUTTO N

Q M ATRI X_SL IDER

JTAG

HEADER J1

HEADER J2

HEADER J3

HEADER J4

SENSO RS

XTAL

RG BL ED

TWI 0_SDA

TWI 0_SCL

BC_USART2_TXD

BC_USART2_RXD

Dat aflash

SPI _SCK

SPI _M O SI

SPI _M ISO

SPI _CS

U_Dat af lash

Dat aflash. SchDoc

DF_SCK

DF_M O SI

DF_M I SO

DF_CS

U_Analog

Analog . SchDoc

SENSO RS

PWM

ADC

NTC_ADC

FILTER_I NPUT

FILTER_O UTPUT

NTC_O UTPUT

XTAL

RG BL ED

U_Boar d_cont r oller

Boar d_cont r oller . SchDoc

TWI _SDA

TWI _SCL

USART1_RX

USART1_TX

USB_P

USB_N

STATUS_L ED

PO WER_L ED

4 5

U_Pow er M anagement

Pow er M anagement . SchDoc

B

6

C

PCB1

LABEL 1

Cannot open file Pr oduct num ber / r evision

Ser ial num ber C: \ Document s and

Set t ings\ jllass en\ Deskt op\ qr code. jpg

ATM EL Nor way *

Vest r e Rost en 79

N- 7075 TI LLER

*

*

NO RWAY

Dat e:

Docum ent num ber :

TI TLE:

1

UC3- L0 XPLAI NED

TopLevel. SchDoc

6/ 4/ 2013

7

5: 16: 53 PM

A08- 0808

PAG E:

Revision:

1 of

4

7

8

D

Atmel AVR32924: UC3-L0 XPLAINED Hardware User’s Guide [APPLICATION NOTE]

32156C −AVR−06/2013

14

1 2 3 4 5 6 7 8

A

B

C

Dat af lash

SENSO RS

LEDS

RG BLED

XTAL

JTAG

Dat aflash

SENSO RS

SPI _SCK

SPI _M O SI

SPI _M ISO

SPI _CS

SPI 0_SCK

SPI 0_M O SI

SPI 0_M ISO

SPI 0_CS3

PWM

ADC

NTC_ADC

PWM A0

ADC0

ADC4

LEDS

RG BL ED

XTAL

JTAG

LED1

LED0

PWM A6

PWM A7/ BTN0

RED

G REEN

BL UE

PWM A0

PWM A1

PWM A2

XI N32

XO UT32

XI N32

XO UT32

TM S

TDO

TDI

TCK

RESET

JTAG _TM S

JTAG _TDO

JTAG _TDI

JTAG _TCK

RESET

BUTTO N

BC_USART2_TXD

BC_USART2_RXD

PWM A7/ BTN0

USART2_TXD

USART2_RXD

Close t o VDDCO RE

VCC_CO RE_P1V8

C100

2. 2uF

C101

100n

Close t o VDDI N/ G ND

VCC_M CU_P3V3

C102

4. 7uF

C103

100n

1. 8V domain and analog volt ages

VCC_M CU_P3V3

R106

0R

TP100

L100

BL M 18HE152SN1

R102

0R

TP101

R104

0R oper at ion ( VCC_M CU_P3V3 must be 1. 8V) .

or 1. 8V

TP102

R103

0R ove r esist or 104 if an exter nal r efer ence should be connect ed fr om header J2, pin 0.

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

10

12

28

2

3

15

4

13

14

11

47

27

46

RESET 22

PA12

PA11

PA10

PA09

PA08

PA07

PA06

PA05

PA04

PA03

PA02

PA01

PA00

RESET_N

G ND

D

Close t o VDDI O / G ND pair s

VCC_M CU_P3V3

C107

4. 7uF

VCC_M CU_P3V3

Close t o VDDANA/ G NDANA But t on/ LED SC pr ot ect ion

PWM A7/ BTN0

R105

680R

PWM A7

U100

AT32UC3L 064-AUT

PB12

PB11

PB10

PB09

PB08

PB07

PB06

PB05

PB04

PB03

PB02

PB01

PB00

5

44

31

30

20

21

8

7

16

6

23

29

32

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

G ND

VCC_VDDANA

VCC_ADVREF

VCC_CO RE_P1V8

VCC_M CU_P3V3

1 2 3 4 5

TWI Pull- Ups

R100

47k

R101

47k

TWI 0_SCL

TWI 0_SDA

6

TWI 0_SCL

TWI 0_SDA

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

ADC0

ADC1/ Q M ATRI X_X7

ADC2/ ACREF

ADC4

ADC7

ADC8/ Q M ATRI X_X13

ADC6

ADC5/ Q M ATRI X_X10

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

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

PI N1

PI N2

PI N3

PI N4

PI N5

PI N6

PI N7

PI N8

PI N1

PI N2

PI N3

PI N4

PI N5

PI N6

PI N7

PI N8

PI N1

PI N2

PI N3

PI N4

PI N5

PI N6

PI N7

PI N8

PI N1

PI N2

PI N3

PI N4

PI N5

PI N6

PI N7

PI N8

PWM A5/ Q TO UCH_SNSK15

PWM A4/ Q TO UCH_SNS15

C108

22n

J1

J2

J3

J4

Q TO UCH_BUTTO N

HEADER J1

HEADER J2

HEADER J3

HEADER J4

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

Q M ATRI X_Y3

C109

4. 7n

R107

R108

R109

R110

R111

J100

1k

1k

1k

1k

1k

ADC2/ ACREF

SM D- STRAP_CL O SED

Q M ATRI X_SL IDER

X0

X1

X2

X3

YK0

G ND

Q M ATRI X_SLI DER

A

B

C

ATM EL Nor way

Vest r e Rost en 79

N- 7075 TI LLER

*

*

*

NO RWAY

Dat e:

Docum ent num ber :

6/ 4/ 2013

2

TI TLE: UC3- L0 XPLAI NED

M CU. SchDoc

7

5: 16: 53 PM PAG E:

Revision:

2 of

4

7

8

D

Atmel AVR32924: UC3-L0 XPLAINED Hardware User’s Guide [APPLICATION NOTE]

32156C −AVR−06/2013

15

1 2

Header J1

J1

A

SDA / RTS

RXD

SS

M ISO

G ND

5

7

1

3

9

J200

6

8

2

4

10

SCL / CTS / XCK

TXD

M O SI

SCK

VCC_P3V3

HEADER 2x 5

S p a re Di g i t a l S i g n a l s

3

JTAG / aWir e

4

JTAG

JTAG TCK and aWir e DATAO UT

TDO

TM S

TDI

VCC_P3V3

5

7

1

3

9

J204

6

8

2

4

10

2213R- 10G

JTAG RESET and aWir e DATA

J T A G/a W i re In t e rf a c e

G ND

VCC_P3V3

G ND

VCC_P3V3

4

2

D205

SM L-020M LT

3

1

R204

220R

R205

220R

R206

1M

P o we r L E D a n d US B S t a t u s L E D

3

Q 200

2N7002

STATUS_LED

2

G ND

PO WER_LED

B

C

BUTTO N

TP200

3 4

SW200

SKRAAKE010

LEDS

LED0

LED1

G ND

1 P u s h -B u t t o n

CS201

1

Q Touch But t on

Q TO UCH_BUTTO N

J2

ADC / AREF

ADC / DAC

ADC / AC_P

ADC / AC_P

G ND

5

7

1

3

9

J201

6

8

2

4

10

ADC

ADC / DAC

ADC / AC_N

ADC / AC_N

HEADER 2x 5

A DC/ DA C/ A C c h a n n e l s

Header J2

VCC_P3V3

C200

100n

G ND

L200

BL M 18HE152SN1

VCC_P3V3 VCC_P3V3

C201

1n

D

5

US B M i n i A B c o n n e c to r

J205

USB_AB

6

G ND

1

D204

2

PRTR5V0U2X

G ND

M USB- 05- F- AB- SM - A

4

US B T ra n s i e n t p ro t e c t i o n

3

USB_N

USB_P

USB_N

USB_P

USB_I D

VCC_P5V0

G ND

TP204

TP201

TP202

TP203

1 2 3 4 5

7

Header J3

J3

G PIO

G PIO

G PIO

G PIO

G ND

5

7

1

3

9

J202

6

8

2

4

10

HEADER 2x 5

S p a re Di g i ta l S i g n a l s

G PIO

G PIO

G PIO

G PIO

VCC_P5V0

8

CS200

3

4

1

2

Y

M edium Q M at r ix Slider

Q M _X0

Q M _X1

Q M _X2

Q M _X3

Q M _YK0

Q M ATRI X_SL IDER

X0

X1

X2

X3

YK0

Q M ATRI X_SLI DER

A

B

C

Header J4

J4

6

SDA / RTS / PWM / CAPTURE

RXD / PWM / CAPTURE

SS/ PWM / CAPTURE

M ISO / PWM

G ND

5

7

1

3

9

J203

6

8

2

4

10

SCL / CTS / PWM / CAPTURE

TXD / PWM / CAPTURE

M O SI / PWM / CAPTURE

SCK / PWM

VCC_P3V3

HEADER 2x 5

E x p a n s i o n He a d e r

ATM EL Nor way

Vest r e Rost en 79

N- 7075 TI LLER

*

*

*

NO RWAY

Dat e:

Docum ent num ber :

6/ 4/ 2013

3

TI TLE: UC3- L0 XPLAI NED

I O . SchDoc

7

5: 16: 53 PM PAG E:

Revision:

3 of

4

7

8

D

Atmel AVR32924: UC3-L0 XPLAINED Hardware User’s Guide [APPLICATION NOTE]

32156C −AVR−06/2013

16

A

B

C

1 2 3 4 5 6 7 8

VCC_P5V0

VCC_P5V0

USB 2. 0 Input volt age specificat ion:

4. 4V - 5. 25V, nominal 5. 0V

G ND

3

1

U300

NCP1117L PST33T3G

VI N VO UT

G ND VO UT_PAD

2

4

VCC_P3V3

+

VCC_P3V3

G ND G ND

This r egulat or can handle up t o 18V input v load cur r ent , w is 3. 3V ± 2%. The m volt age.

axim um quiescent cur r ent is 700µA. NO TE! ! t hat wor st -case out put v

NO TE! ! ESR on out put capacit or should be lar g

20mO hm t o m ill also im pr ove loop st abilit y and giv e bet t er t r ansient r esponse w

VCC_M CU_P3V3

VCC_P3V3

1

2

J300

HEADER 1x 2

JS300

SNT- 100-BK- G

Place on J300 pin1-2

A

B

C

D

1 2 3 4 5 6

ATM EL Nor way

Vest r e Rost en 79

N- 7075 TI LLER

*

*

*

NO RWAY

Dat e:

Docum ent num ber :

6/ 4/ 2013

4

TI TLE: UC3- L0 XPLAI NED

Power M anagem ent . SchDoc

7

5: 16: 53 PM PAG E:

Revision:

4 of

4

7

8

D

Atmel AVR32924: UC3-L0 XPLAINED Hardware User’s Guide [APPLICATION NOTE]

32156C −AVR−06/2013

17

A

B

C

D

1

1 2 3

NTC Tem per at ur e Sensor

VCC_P3V3

G ND

100k NTC Tem per at ur e Sensor .

ill be Vcc/ 2 at 25C.

R400

100k

B( 25/ 80) = 4255K

B( 25/ 85) = 4260K

B( 25/ 100) = 4282K

J400

NTC_O UTPUT

R401

SM D- STRAP_CL O SED

NCP18WF104J03RB

Bet a-for mula:

R1 = R2 * e^( B/ T1-B/ T2)

Ex . B( 25/ 80) :

R = 100k * e^( 4255/ T1 - 4255/ 25)

Lowpass RC Filt er

FI LTER_I NPUT

R405

1k owpass filt er wit h im at ely

1kHz.

should be chosen t o t he m alues inim um cut -off fr equency.

alues wit h low r ipple, t he capacit or / r esist or v

G ND

C402

1u

J401

SM D- STRAP_CL O SED

FI LTER_O UTPUT

4 5 6 7

RGB L E D

R402

150R

3

Q 400

R403

62R

3

2N7002

Q 401

R404

180R

3

2N7002

Q 402

2N7002

2

G ND

R406

100k

2

G ND

2

R407

100k

G ND

R408

100k

This st r ap with SM D pads can be used t o place a r esist or in t he XO UT sig easur e t he dr iv nal e level and t he oscillat or allow ance.

By default t hese st r aps ar e closed and not hing is mount ed on t he pads.

Clock cir cuit r y

C401

22p

Epson FC- 145 cr yst al.

J402

XC400

SM D- STRAP_CL O SED

G ND

C400

22p

XI N32

XO UT32

XTAL

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 iv e Level 0. 5uW

AT32UC3L 0 dat asheet :

Int er nal equivalent capacit ance of t he dev

The package and pin capacit ance is neg ice is Ci = 2 pF lig ible ( < 1pF)

Select ed value is 22pF

RG BL ED

RED

G REEN

BL UE

XTAL

RG BLED

8

A

B

C

2 3 4 5 6

ATM EL Nor way

Vest r e Rost en 79

N- 7075 TI LLER

*

*

*

NO RWAY

Dat e:

Docum ent num ber :

6/ 4/ 2013

5

TI TLE: UC3- L0 XPLAI NED

Analog. SchDoc

7

5: 16: 54 PM PAG E:

Revision:

5 of

4

7

8

D

Atmel AVR32924: UC3-L0 XPLAINED Hardware User’s Guide [APPLICATION NOTE]

32156C −AVR−06/2013

18

1 2 3 4 5 6 7 8

A A

B

Dat aflash

VCC_P3V3 VCC_P3V3

DF_M I SO

DF_M O SI

DF_SCK

DF_CS

3

4

1

2

U500

SI

SCK

RESET

CS

AT45DB642D-

SO

G ND

VCC

WP

CNU

8

7

6

5

G ND

C500

100n

VCC_P3V3

G ND

3

4

1

2

U501

CS

SO

WP

G ND

AT25DF641A-

VCC

HO LD

SCK

SI

SH- T

6

5

8

7

VCC_P3V3

B

C C

D

1 2 3 4 5 6

ATM EL Nor way

Vest r e Rost en 79

N- 7075 TI LLER

*

*

*

NO RWAY

Dat e:

Docum ent num ber :

6/ 4/ 2013

6

TI TLE: UC3- L0 XPLAI NED

Dat af lash. SchDoc

7

5: 16: 54 PM PAG E:

Revision:

6 of

4

7

8

D

Atmel AVR32924: UC3-L0 XPLAINED Hardware User’s Guide [APPLICATION NOTE]

32156C −AVR−06/2013

19

A

B

C

D

2 3 4 5 6 7 8 1

Decoupling

1

VCC_UC3B_P1V8

C602

2. 2uF

G ND

C603

22n

C604

2. 7n

VCC_P3V3

C600

G ND

100n

VCC_P3V3

C609

G ND

100n

2

VCC_UC3B_P1V8

G ND

C610

22n

USB_P

USB_N

3

VCC_P3V3

C601

G ND

100n

VCC_UC3B_P1V8

VCC_P3V3

C607

100n

G ND

C605

470p

G ND

C608

4. 7uF

C606

2. 2uF

R601

39R

39R

R602

BO O T_SEL ECT o t est point s t o get int o boot loader mode.

VCC_P3V3

R600

100k

1

2

J601

HEADER 1x 2

G ND

BC_JTAG _RESET

USB_FS_P

USB_FS_N

VCC_P5V0

47

38

39

40

RESETn

DP

DM

VBUS

G ND

VCC_P3V3

VCC_UC3B_P1V8

G ND

XI N0

XO UT0

J600

C611

18p

SM D- STRAP_CL O SED

4

3

XC600

2

1

12. 0M Hz

PA20

PA21

PA22

PA23

PA24

PA25

PA26

PA27

43

44

45

46

32

33

34

35

G ND

U600

48 lead TQ FP package

AT32UC3B1256AUT

PO WER_L ED

STATUS_L ED

PO WER_LED

STATUS_LED

USART1_TX

USART1_RX

G ND

C612

18p

Cr yst al dat asheet :

Load capacit ance CL = 20 pF

ESR 80 O hm M ax.

Fr equency t oler ance 30 ppm

AT32UCB1 dat asheet : ice is Ci = 12 pF

IBI S file ( 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 -

Load capacit ance adjust ed accor ding t o 18p af har dwar e.

TCK

TDI

TDO

TM S

4

5

2

3

Des ig n c o m m e nt :

VCC_P3V3

G ND

VCC_P3V3

G ND

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

4 5 6

ATM EL Nor way

Vest r e Rost en 79

N- 7075 TI LLER

*

*

*

NO RWAY

Dat e:

Docum ent num ber :

6/ 4/ 2013

7

TI TLE: UC3- L0 XPLAI NED

Boar d_cont r oller . SchDoc

7

5: 16: 54 PM PAG E:

Revision:

7 of

4

7

8

A

B

C

D

Atmel AVR32924: UC3-L0 XPLAINED Hardware User’s Guide [APPLICATION NOTE]

32156C −AVR−06/2013

20

8.

8.1

8.2

Known Issues

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.

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.

9.1

Revision History

Revision 4 of the Atmel UC3-L0 Xplained kit is the first revision released.

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.

32156C

32156B

32156A

Date

06/2013

03/2011

01/2011

Comments

The Chapter “Schematics” is added. New document template

Some corrections

Initial document release

Atmel AVR32924: UC3-L0 XPLAINED Hardware User’s Guide [APPLICATION NOTE]

32156C −AVR−06/2013

24

Atmel Corporation

1600 Technology Drive

San Jose, CA 95110

USA

Tel: (+1)(408) 441-0311

Fax: (+1)(408) 487-2600 www.atmel.com

Atmel Asia Limited

Unit 01-5 & 16, 19F

BEA Tower, Millennium City 5

418 Kwun Tong Road

Kwun Tong, Kowloon

HONG KONG

Tel: (+852) 2245-6100

Fax: (+852) 2722-1369

Atmel Munich GmbH

Business Campus

Parkring 4

D-85748 Garching b. Munich

GERMANY

Tel: (+49) 89-31970-0

Fax: (+49) 89-3194621

Atmel Japan G.K.

16F Shin-Osaki Kangyo Building

1-6-4 Osaki, Shinagawa-ku

Tokyo 141-0032

JAPAN

Tel: (+81)(3) 6417-0300

Fax: (+81)(3) 6417-0370

© 2013 Atmel Corporation. All rights reserved. / Rev.: 32156C

−AVR−06/2013

Atmel

®

, Atmel logo and combinations thereof, AVR

®

, AVR Studio trademarks of Atmel Corporation or its subsidiaries. ARM

®

®

, Enabling Unlimited Possibilities

®

, QTouch

®

, and others are registered trademarks or

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