Atmel SAM D20 Xplained Pro User guide

USER GUIDE
Atmel SAM D20 Xplained Pro

Preface

The Atmel® SAM D20 Xplained Pro evaluation kit is a hardware platform to evaluate the ATSAMD20J18A microcontroller.
Supported by the Atmel Studio integrated development platform, the kit provides easy access to the features of the Atmel ATSAMD20J18A and explains how to integrate the device in a custom 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 ATSAMD20J18A.
The Xplained Pro extension kits offers additional peripherals to extend the features of the board and ease the development of custom designs.
42102C-MCU-02/2014

Table of Contents

Preface .......................................................................................... 1
1. Introduction .............................................................................. 3
1.1. Features .... .... ....... .... .... ........... .... .... ........... .... .... ....... .... .... .. 3
1.2. Kit Overview ......... .... .... ........... .... .... ....... .... .... ........... .... .... ... 3
2. Getting started ......................................................................... 5
2.1. Quick-start ........... .... .... ........... .... .... ....... .... .... ........... .... .... ... 5
2.2. Connecting the Kit ......... .... .... ........... .... .... ....... .... .... ........... ... 5
2.3. Design Documentation and Related Links ... ........... .... .... ........... . 5
3. Xplained Pro ............................................................................ 6
3.1. Embedded Debugger ....... .... .... ........... .... .... ........... .... .... ....... . 6
3.2. Hardware Identification System . .... .... ........... .... .... ....... .... .... ..... 6
3.3. Power Supply ..... .... .... ....... .... .... ........... .... .... ........... .... .... ..... 7
3.3.1. Measuring SAM D20 Power Consumption ... ........... .... .... 7
3.4. Standard Headers and Connectors ... .... .... ........... .... .... ........... .. 7
3.4.1. Xplained Pro Standard Extension Header ... .... .... ....... .... 7
3.4.2. Xplained Pro Power Header ........ .... .... ....... .... .... ......... 8
4. Hardware User Guide ............................................................. 9
4.1. Connectors ........... .... .... ....... .... .... ........... .... .... ........... .... .... .. 9
4.1.1. I/O Extension Headers ... .... ....... .... .... ........... .... .... ...... 9
4.2. Peripherals ....... .... .... ........... .... .... ........... .... .... ....... .... .... ..... 10
4.2.1. Crystal .... ........... .... .... ........... .... .... ....... .... .... .......... 10
4.2.2. Mechanical Buttons ... .... ....... .... .... ........... .... .... ......... 11
4.2.3. LED .... .... .... ........... .... .... ....... .... .... ........... .... .... ..... 11
4.3. Embedded Debugger Implementation ...... .... .... ........... .... .... ..... 11
4.3.1. Serial Wire Debug .... .... .... ....... .... .... ........... .... .... ..... 11
4.3.2. Virtual COM Port .... ........... .... .... ....... .... .... ........... .... 11
4.3.3. Atmel Data Gateway Interface .......... .... .... ........... .... .. 11
4.3.4. External Programming and Debugging .. .... .... ....... .... .... 12
5. Hardware Revision History and Known Issues ..................... 13
5.1. Identifying Product ID and Revision .. ........... .... .... ........... .... .... . 13
5.2. Revision 5 .. ........... .... .... ........... .... .... ....... .... .... ........... .... .... 13
5.3. Revision 4 .. ........... .... .... ........... .... .... ....... .... .... ........... .... .... 13
6. Document Revision History ................................................... 14
7. Evaluation Board/Kit Important Notice .................................. 15
Atmel SAM D20 Xplained Pro [USER GUIDE]
42102C-MCU-02/2014
2

1. Introduction

1.1 Features

Atmel ATSAMD20J18A microcontroller
Embedded debugger (EDBG)
USB interface
Programming and debugging on board SAM D20 through Serial Wire Debug (SWD)
Programming and debugging external targets through Serial Wire Debug (SWD)
Virtual COM-port interface to target via UART
Atmel Data Gateway Interface (DGI) to target via SPI and TWI
Four GPIOs connected to target for code instrumentation
Digital I/O
Two mechanical buttons (user and reset button)
One user LED
Three extension headers
Two possible power sources
External power
Embedded debugger USB
32kHz crystal

1.2 Kit Overview

The Atmel SAM D20 Xplained Pro evaluation kit is a hardware platform to evaluate the Atmel ATSAMD20J18A.
The kit offers a set of features that enables the ATSAMD20J18A user to get started using the ATSAMD20J18A peripherals right away and to get an understanding of how to integrate the device in their own design.
Atmel SAM D20 Xplained Pro [USER GUIDE]
42102C-MCU-02/2014
3
Figure 1-1. SAM D20 Xplained Pro Evaluation Kit Overview
Atmel SAM D20 Xplained Pro [USER GUIDE]
42102C-MCU-02/2014
4

2. Getting started

2.1 Quick-start

3 Steps to start exploring the Atmel Xplained Pro Platform
Download and install Atmel Studio
Launch Atmel Studio
Connect a Micro-B cable to the DEBUG USB port

2.2 Connecting the Kit

When connecting Atmel SAM D20 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. Refer to the Atmel Studio user guide2 for information regarding how to compile and program the kit.
1
®

2.3 Design Documentation and Related Links

The following list contains links to the most relevant documents and software for SAM D20 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. SAM D20 Xplained Pro User Guide 4 - PDF version of this User Guide.
3. SAM D20 Xplained Pro Design Documentation 5 - Package containing schematics, BOM, assembly
drawings, 3D plots, layer plots etc.
4. EDBG User Guide 6 - User guide containing more information about the onboard Embedded Debugger.
5. Atmel Studio 7 - Free Atmel IDE for development of C/C++ and assembler code for Atmel
microcontrollers.
6.
IAR Embedded Workbench® 8 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 16KB for devices with M0, M0+ and M1 cores and 32KB for devices with other cores.
7. Atmel sample store 9 - 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-42102-SAMD20-Xplained-Pro_User-Guide.pdf
5
http://www.atmel.com/Images/Atmel-42102-SAMD20-Xplained-Pro_User-Guide.zip
6
http://www.atmel.com/Images/Atmel-42096-Microcontrollers-Embedded-Debugger_User-Guide.pdf
7
http://www.atmel.com/atmelstudio
8
http://www.iar.com/en/Products/IAR-Embedded-Workbench/ARM/
9
http://www.atmel.com/system/samplesstore
Atmel SAM D20 Xplained Pro [USER GUIDE]
42102C-MCU-02/2014
5
Loading...
+ 11 hidden pages