USER GUIDE
Atmel SAM4L Xplained Pro
Preface
The Atmel® SAM4L Xplained Pro evaluation kit is hardware platform to evaluate
the ATSAM4LC4C microcontroller.
Supported by the Atmel Studio integrated development platform, the kit provides
easy access to the features of the Atmel ATSAM4LC4C and explains how to
integrate the device in a customer design.
The Xplained Pro MCU series evaluation kits include an on-board Embedded
Debugger, and no external tools are necessary to program or debug the
ATSAM4LC4C.
The Xplained Pro extension series evaluation kits offers additional peripherals to
extend the features of the board and ease the development of customer designs.
42074B-MCU-05/2013
Table of Contents
Preface .......................................................................................... 1
1. Introduction .............................................................................. 3
1.1. Features .... .... ....... .... .... ........... .... .... ........... .... .... ....... .... .... .. 3
1.2. Kit overview .. ....... .... .... ........... .... .... ........... .... .... ....... .... .... ... 3
2. Getting Started ........................................................................ 6
2.1. Quick-start ........... .... .... ........... .... .... ....... .... .... ........... .... .... ... 6
2.2. Connecting the kit .. ........... .... .... ....... .... .... ........... .... .... .......... 6
2.3. Design documentation and related links .... .... ........... .... .... ....... ... 6
3. Xplained Pro ............................................................................ 7
3.1. Embedded Debugger ....... .... .... ........... .... .... ........... .... .... ....... . 7
3.2. Hardware Identification System . .... .... ........... .... .... ....... .... .... ..... 7
3.3. Power supply ..... .... .... ........... .... .... ....... .... .... ........... .... .... ..... 8
3.3.1. Measuring SAM4L power consumption .......... .... .... ........ 8
3.4. Standard Headers and Connectors ... .... .... ........... .... .... ........... .. 8
3.4.1. Xplained Pro extension header ... .... ....... .... .... ........... ... 8
3.4.2. Xplained Pro segment LCD extension connector ....... .... .. 9
3.4.3. Power header ........ .... .... ........... .... .... ....... .... .... ....... 10
4. Hardware user guide ............................................................ 11
4.1. Connectors ....... .... .... ........... .... .... ........... .... .... ....... .... .... ..... 11
4.1.1. I/O extension headers .......... .... .... ........... .... .... ....... .. 11
4.1.2. Segment LCD extension connector .... .... ....... .... .... ...... 13
4.2. Peripherals ....... .... .... ........... .... .... ........... .... .... ....... .... .... ..... 14
4.2.1. QTouch button ....... .... .... ........... .... .... ....... .... .... ....... 14
4.2.2. Crystals .... ....... .... .... ........... .... .... ........... .... .... ....... . 14
4.2.3. Mechanical buttons ... .... ........... .... .... ....... .... .... ......... 15
4.2.4. LED .... .... .... ........... .... .... ....... .... .... ........... .... .... ..... 15
4.3. Embedded Debugger implementation .......... .... .... ....... .... .... ..... 15
4.3.1. Serial Wire Debug .... .... .... ....... .... .... ........... .... .... ..... 15
4.3.2. Virtual COM port .... ........... .... .... ........... .... .... ....... .... 15
4.3.3. Atmel Data Gateway Interface .......... .... .... ........... .... .. 16
4.4. Jumper description .... ........... .... .... ....... .... .... ........... .... .... ...... 16
4.4.1. LDO/BUCK Jumper ... .... ....... .... .... ........... .... .... ......... 16
4.4.2. LDO Jumper . .... ....... .... .... ........... .... .... ........... .... .... . 16
4.4.3. VLCD_A and VLCD_BC Jumpers . .... ....... .... .... ........... 16
4.4.4. VCC_MCU Jumper ... .... ........... .... .... ........... .... .... ..... 16
5. Hardware revision history and known issues ........................ 17
5.1. Identifying product ID and revision ...... .... .... ........... .... .... ....... .. 17
5.2. Revision 2 .. ........... .... .... ........... .... .... ....... .... .... ........... .... .... 17
6. Document revision history ..................................................... 18
7. Evaluation board/kit important notice .................................... 19
Atmel SAM4L Xplained Pro [USER GUIDE]
42074B-MCU-05/2013
2
1. Introduction
1.1 Features
● Atmel ATSAM4LC4C microcontroller
● Embedded debugger (EDBG)
● USB interface
● Programming and debugging (target) through Serial Wire Debug (SWD)
● Virtual COM-port interface to target via UART
● Atmel Data Gateway interface (DGI) to target via synchronous UART or TWI.
● Four GPIOs connected to target for code instrumentation
● Digital I/O
● Two mechanical buttons (including one reset button)
● One user LED
● Four extension headers
● Segment LCD display header
● USB interface for host and device function (target)
● Touch
● One Atmel QTouch® button
● Three possible power sources
● External power
● Embedded debugger USB
● Target USB
● 12MHz crystal
● 32kHz crystal
1.2 Kit overview
The Atmel SAM4L Xplained Pro evaluation kit is a hardware platform to evaluate the Atmel ATSAM4LC4C.
The kit offers a set of features that enables the SAM4L user to get started using the SAM4L's peripherals right
away and to get an understanding of how to integrate the SAM4L in their own design.
Atmel SAM4L Xplained Pro [USER GUIDE]
42074B-MCU-05/2013
3
Figure 1-1. SAM4L Xplained Pro evaluation kit overview.
Atmel SAM4L Xplained Pro [USER GUIDE]
42074B-MCU-05/2013
4
Figure 1-2. SAM4L Xplained Pro blockdiagram.
12MHz
POWER-LED
STATUS-LED
EDBG
USB
DEBUG
ID-BUS
POLARITY
PROTECTION
POWER
EXTERN
USB
SAM4L
VUSBD_P5V0
VEXT_P5V0
VUSBT_P5V0
VCC_P5V0
ON/OFF
SWITCH
TOUCH-BUTTON
USER-BUTTON
USER-LED
VREG
P3V3
VCC_TARGET
VLCD_A
VCC_MCU
Target MCU
ATSAM4LC
TARGET
DGI/CDC-BUS
BUCK/LDO
LDO
VLCD_BC
SWD-PROG/DEBUG BUS
RESET
BUTTON
EXT1
EXT2
EXT3
EXT4
SLCD
12MHz32kHz
Atmel SAM4L Xplained Pro [USER GUIDE]
42074B-MCU-05/2013
5
2. Getting Started
2.1 Quick-start
3 Steps to start exploring the Atmel Xplained Pro Platform
● Download and install Atmel Studio1.
● Launch Atmel Studio.
● Connect an USB cable to the DEBUG USB port.
2.2 Connecting the kit
When connecting Atmel SAM4L Xplained Pro to your computer for the first time, the operating system will do a
driver software installation. The driver file supports both 32-bit and 64-bit versions of Microsoft® Windows® XP
and Windows 7.
Once connected the green power LED will be lit and Atmel Studio will autodetect which Xplained Pro
evaluation- and extension kit(s) that's connected. You'll be presented with relevant information like datasheets
and kit documentation. You also have the option to launch Atmel Software Framework (ASF) example
applications. The target device is programmed and debugged by the on-board Embedded Debugger and no
external programmer or debugger tool is needed. Please refer to the Atmel Studio user guide2 for information
regarding how to compile and program the kit.
2.3 Design documentation and related links
The following list contains links to the most relevant documents and software for the SAM4L Xplained Pro.
1. Xplained Pro products 3 - Atmel Xplained Pro is a series of small-sized and easy-to-use evaluation kits
for 8- and 32-bit Atmel microcontrollers. It consists of a series of low cost MCU boards for evaluation and
demonstration of features and capabilities of different MCU families.
2. SAM4L Xplained Pro User Guide 4 - PDF version of this User Guide.
3. SAM4L Xplained Pro Design Documentation 5 - Package containing schematics, BOM, assembly
drawings, 3D plots, layer plots etc.
4. Atmel Studio 6 - Free Atmel IDE for development of C/C++ and assembler code for Atmel
microcontrollers.
5. IAR Embedded Workbench® 7 for ARM®. This is a commercial C/C++ compiler that is available for
ARM. There is a 30 day evaluation version as well as a code size limited kick-start version available from
their website. The code size limit is 16K for devices with M0, M0+ and M1 cores and 32K for devices with
other cores.
6. Atmel sample store 8 - Atmel sample store where you can order samples of devices.
1
http://www.atmel.com/atmelstudio
2
http://www.atmel.com/atmelstudio
3
http://www.atmel.com/XplainedPro
4
http://www.atmel.com/Images/Atmel-42074-SAM4L-Xplained-Pro_User-Guide.pdf
5
http://www.atmel.com/Images/Atmel-42074-SAM4L-Xplained-Pro_User-Guide.zip
6
http://www.atmel.com/atmelstudio
7
http://www.iar.com/en/Products/IAR-Embedded-Workbench/ARM/
8
http://www.atmel.com/system/samplesstore
Atmel SAM4L Xplained Pro [USER GUIDE]
42074B-MCU-05/2013
6