USER GUIDE Atmel SAM D21 Xplained Pro Preface ® The Atmel SAM D21 Xplained Pro evaluation kit is a hardware platform to evaluate the ATSAMD21J18A microcontroller. Supported by the Atmel Studio integrated development platform, the kit provides easy access to the features of the Atmel ATSAMD21J18A and explains how to integrate the device in a custom design.
Table of Contents Preface .......................................................................................... 1 1. Introduction .............................................................................. 3 1.1. 1.2. Features .............................................................................. 3 Kit Overview ......................................................................... 3 2. Getting Started ........................................................................ 5 2.1. 2.2.
1. Introduction 1.1 Features ● Atmel ATSAMD21J18A microcontroller ● Embedded debugger (EDBG) ● ● 1.
Figure 1-1.
2. Getting Started 2.1 Quick-start 3 Steps to start exploring the Atmel Xplained Pro Platform 2.2 1 ● Download and install Atmel Studio ● Launch Atmel Studio ● Connect a Micro-B cable to the DEBUG USB port Connecting the Kit When connecting Atmel SAM D21 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.
3. Xplained Pro Xplained Pro is an evaluation platform that provides the full Atmel microcontroller experience. The platform consists of a series of Microcontroller (MCU) boards and extension boards that are integrated with Atmel Studio, have Atmel Software Framework (ASF) drivers and demo code, support data streaming and more. Xplained Pro MCU boards support a wide range of Xplained Pro extension boards that are connected through a set of standardized headers and connectors.
3.3 Data Field Data Type Example Content Minimum Voltage [mV] uint16_t 3000 Maximum Voltage [mV] uint16_t 3600 Maximum Current [mA] uint16_t 30 Power Supply The SAM D21 Xplained Pro kit can be powered either by USB or by an external power source through the 4pin power header, marked PWR. This connector is described in “Xplained Pro Power Header” on page 8. The available power sources and specifications are listed in Table 3-3, “Power Sources for SAM D21 Xplained Pro” on page 7. Table 3-3.
always connected. However, all the connected pins follow the defined pin-out described in Table 3-4, “Xplained Pro Extension Header” on page 8. The extension headers can be used to connect a wide variety of Xplained Pro extensions to Xplained Pro MCU boards and to access the pins of the target MCU on Xplained Pro MCU board directly. Table 3-4. Xplained Pro Extension Header 3.4.2 Pin number Name Description 1 ID Communication line to the ID chip on extension board. 2 GND Ground.
Note Pin number PWR header Pin name Description 4 VCC_P3V3 Regulated 3.3V (output, used as main power for the kit) If the board is powered from a battery source it is recommended to use the PWR header. If there is a power source connected to EDBG USB, the EDBG is activated and it will consume more power.
4. Hardware User Guide 4.1 Connectors This chapter describes the implementation of the relevant connectors and headers on SAM D21 Xplained Pro and their connection to the ATSAMD21J18A. The tables of connections in this chapter also describes which signals are shared between the headers and on-board functionality. 4.1.1 I/O Extension Headers The SAM D21 Xplained Pro headers EXT1, EXT2 and EXT3 offer access to the I/O of the microcontroller in order to expand the board e.g.
Pin on EXT2 SAM D21 pin Function 9 [IRQ/GPIO] PB14 EXTINT[14] 10 [SPI_SS_B/GPIO] PB15 GPIO 11 [TWI_SDA] PA08 SERCOM2 PAD[0] I²C SDA 12 [TWI_SCL] PA09 SERCOM2 PAD[1] I²C SCL 13 [USART_RX] PB11 Shared functionality EXT1, EXT3, and EDBG EXT1, EXT3, and EDBG 1 EXT3 1 EXT3 SERCOM4 PAD[1] UART RX 14 [USART_TX] PB10 SERCOM4 PAD[0] UART TX 15 [SPI_SS_A] PA17 SERCOM1 PAD[1] SPI SS 16 [SPI_MOSI] PA18 SERCOM1 PAD[2] SPI MOSI 17 [SPI_MISO] PA16 SERCOM1 PAD[0] SPI MISO 18 [SPI_SCK] PA
cutting the strap and adding a resistor across the strap. More information about oscillator allowance and safety 1 factor can be found in appnote AVR4100 . Table 4-4. External 32.768kHz Crystals 4.2.2 Pin on SAM D21 Function PA00 XIN32 PA01 XOUT32 Mechanical Buttons SAM D21 Xplained Pro contains two mechanical buttons. One button is the RESET button connected to the SAM D21 reset line and the other is a generic user configurable button. When a button is pressed it will drive the I/O line to GND.
4.3 Embedded Debugger Implementation SAM D21 Xplained Pro contains an Embedded Debugger (EDBG) that can be used to program and debug the ATSAMD21J18A using Serial Wire Debug (SWD). The Embedded Debugger also include a Virtual Com port interface over UART, an Atmel Data Gateway Interface over SPI and TWI and it monitors four of the SAM D21 GPIOs. Atmel Studio can be used as a front end for the Embedded Debugger. 4.3.
5. Hardware Revision History and Known Issues 5.1 Identifying Product ID and Revision The revision and product identifier of Xplained Pro boards can be found in two ways, through Atmel Studio or by looking at the sticker on the bottom side of the PCB. By connecting a Xplained Pro MCU board to a computer with Atmel Studio running, an information window will pop up. The first six digits of the serial number, which is listed under kit details, contain the product identifier and revision.
6.
7. 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 Corporation 1600 Technology Drive, San Jose, CA 95110 USA T: (+1)(408) 441.0311 F: (+1)(408) 436.4200 | www.atmel.com © 2014 Atmel Corporation. All rights reserved. / Rev.: 42220A-MCU-02/2014 ® ® ® Atmel , Atmel logo and combinations thereof, Enabling Unlimited Possibilities , AVR , and others are registered trademarks or trademarks of Atmel ® ® ® Corporation or its subsidiaries. Windows is a registered trademark of Microsoft Corporation in U.S. and or other countries.