Atmel SAM R21 Xplained Pro User Manual

Atmel SAM R21 Xplained Pro User Manual

Smart arm-based microcontrollers
Hide thumbs Also See for SAM R21 Xplained Pro:

Advertisement

Quick Links

SMART ARM-based Microcontrollers
SAM R21 Xplained Pro
USER GUIDE

Preface

®
The Atmel
SAM R21 Xplained Pro evaluation kit is a hardware platform to
evaluate the ATSAMR21G18A microcontroller.
Supported by the Atmel Studio integrated development platform, the kit
provides easy access to the features of the Atmel ATSAMR21G18A 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 ATSAMR21G18A.
The Xplained Pro extension kits offers additional peripherals to extend the
features of the board and ease the development of custom designs.
Atmel-42243D-SAM-R21-Xplained-Pro_User Guide-04/2016

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SAM R21 Xplained Pro and is the answer not in the manual?

Questions and answers

Summary of Contents for Atmel SAM R21 Xplained Pro

  • Page 1: Preface

    Preface ® The Atmel SAM R21 Xplained Pro evaluation kit is a hardware platform to evaluate the ATSAMR21G18A microcontroller. Supported by the Atmel Studio integrated development platform, the kit provides easy access to the features of the Atmel ATSAMR21G18A and explains how to integrate the device in a custom design.
  • Page 2: Table Of Contents

    5. Kit Specific Data...................... 19 6. Agency Certification....................20 6.1. United States (FCC)........................20 6.2. European Union (ETSI)......................20 6.3. Canada (IC)..........................21 6.4. List of Antennas Tested With This Product.................21 7. Appendix........................23 Atmel SAM R21 Xplained Pro [USER GUIDE] Atmel-42243D-SAM-R21-Xplained-Pro_User Guide-04/2016...
  • Page 3 Connecting a SAM-ICE to an Xplained Pro Board..............26 8. Hardware Revisions and Known Issues..............28 8.1. Identifying Product ID and Revision................... 28 8.2. Revision 3...........................28 9. Document Revision History..................29 10. Evaluation Board/Kit Important Notice..............30 Atmel SAM R21 Xplained Pro [USER GUIDE] Atmel-42243D-SAM-R21-Xplained-Pro_User Guide-04/2016...
  • Page 4: Introduction

    USB interface, device 1.2. Kit Overview The Atmel SAM R21 Xplained Pro evaluation kit is a hardware platform to evaluate the Atmel ATSAMR21G18A. The kit offers a set of features that enables the ATSAMR21G18A user to get started using the ATSAMR21G18A peripherals right away and to get an understanding of how to integrate the device in their own design.
  • Page 5 Figure 1-1. SAM R21 Xplained Pro Evaluation Kit Overview Atmel SAM R21 Xplained Pro [USER GUIDE] Atmel-42243D-SAM-R21-Xplained-Pro_User Guide-04/2016...
  • Page 6: Getting Started

    , Windows 7, Windows 8, Windows 10, and Windows Server 2012. Once the Xplained Pro MCU board is powered the green power LED will be lit and Atmel Studio will auto detect which Xplained Pro MCU- and extension board(s) are connected. Atmel Studio will present relevant information like datasheets and kit documentation.
  • Page 7 • Hardware Users Guide in PDF format - PDF version of this User Guide. • SAM R21 Xplained Pro at www.atmel.com - www.atmel.com link. Atmel SAM R21 Xplained Pro [USER GUIDE] Atmel-42243D-SAM-R21-Xplained-Pro_User Guide-04/2016...
  • Page 8: Xplained Pro

    Atmel Data Visualizer is used to send and receive data through DGI. The EDBG controls two LEDs on SAM R21 Xplained Pro; a power LED and a status LED. The table below shows how the LEDs are controlled in different operation modes.
  • Page 9: Hardware Identification System

    Maximum Current [mA] uint16_t 3.3. Power Sources The SAM R21 Xplained Pro kit can be powered by several power sources as listed in the table below. Table 3-3. Power Sources for SAM R21 Xplained Pro Power input Voltage requirements Current requirements...
  • Page 10: Xplained Pro Headers And Connectors

    C interface. Always implemented, bus type. C_SCL Clock line for I C interface. Always implemented, bus type. UART_RX Receiver line of target device UART UART_TX Transmitter line of target device UART Atmel SAM R21 Xplained Pro [USER GUIDE] Atmel-42243D-SAM-R21-Xplained-Pro_User Guide-04/2016...
  • Page 11: Xplained Pro Power Header

    Xplained Pro Power Header The power header can be used to connect external power to the SAM R21 Xplained Pro kit. The kit will automatically detect and switch to any external power if supplied. The power header can also be used as supply for external peripherals or extension boards.
  • Page 12: Hardware User Guide

    Xplained Pro Extension Headers The SAM R21 Xplained Pro headers EXT1 and EXT3 offer access to the I/O of the microcontroller in order to expand the board e.g. by connecting extensions to the board. These headers all comply with the standard Xplained Pro extension header specification.
  • Page 13: Alternate Signals Header

    Pin on header Pin on SAM R21 Function PA09 RFCTRL1, negative antenna switch control signal PA12 RFCTRL2, positive antenna switch control signal PA27 GPIO, chip select on the EDBG DGI SPI bus Atmel SAM R21 Xplained Pro [USER GUIDE] Atmel-42243D-SAM-R21-Xplained-Pro_User Guide-04/2016...
  • Page 14: Current Measurement Header

    Crystal The SAM R21 Xplained Pro kit contains one crystal that can be used as clock source for the SAM R21 device. The crystal has a cut-strap next to it that can be used to measure the oscillator safety factor. This is done by cutting the strap and adding a resistor across the strap.
  • Page 15: Mechanical Buttons

    RESET PA28 4.2.3. There is one yellow LED available on the SAM R21 Xplained Pro board that can be turned on and off. The LED can be activated by driving the connected I/O line to GND. Table 4-8. LED Connections Pin on SAM R21...
  • Page 16: Operation

    1.8V Operation The SAM R21 Xplained Pro board is operated at 3.3V by default, but it also has the possibility of running at lower voltages from an external supply. The EDBG is designed to run from a 3.3V supply and won't work on other voltages, therefore all connections from the EDBG and the on board 3.3V regulator to the...
  • Page 17: Embedded Debugger Implementation

    ATSAMR21G18A 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 R21 GPIOs. Atmel Studio can be used as a front end for the Embedded Debugger. 4.4.1.
  • Page 18: Virtual Com Port

    Atmel Data Gateway Interface The Embedded Debugger features an Atmel Data Gateway Interface (DGI) by using either an SPI or I²C port. The DGI can be used to send a variety of data from the SAM R21 to the host PC.
  • Page 19: Kit Specific Data

    Kit Specific Data One of the user pages in the EDBG is programmed with data specific to the SAM R21 Xplained Pro. The data can be read through the I C interface connected to the EDBG. For detailed information, see the EDBG User Guide.
  • Page 20: Agency Certification

    This equipment complies with Part 15 of the FCC rules and regulations. To fulfill FCC Certification requirements, an OEM manufacturer must comply with the following regulations: This equipment (SAM R21 Xplained Pro) is for use for evaluation purposes only and must not be incorporated into any other device or system.
  • Page 21: Canada (Ic)

    Table 6-1. List of Tested Antennas Antenna number Make Model/part # Antenna gain [dBi] Type of antenna Antenna 1 Johanson Technology 2450AT18D0100 1.5dBi Ceramic Antenna Antenna 2 Techfun Co., Ltd M01-SS2 0dBi External Antenna Atmel SAM R21 Xplained Pro [USER GUIDE] Atmel-42243D-SAM-R21-Xplained-Pro_User Guide-04/2016...
  • Page 22 7 of the FCC test report number 19660076 001, they are advised to use the antenna/device only in a shielded room. Atmel SAM R21 Xplained Pro [USER GUIDE] Atmel-42243D-SAM-R21-Xplained-Pro_User Guide-04/2016...
  • Page 23: Appendix

    Select System (default) as the reset method. In the category Debugger > CMSIS DAP, select the JTAG/SWD tab. Select SWD as the interface and optionally select the SWD speed. Figure 7-1. Select Target Device Atmel SAM R21 Xplained Pro [USER GUIDE] Atmel-42243D-SAM-R21-Xplained-Pro_User Guide-04/2016...
  • Page 24 Figure 7-2. Select Debugger Figure 7-3. Configure Flash Loader Atmel SAM R21 Xplained Pro [USER GUIDE] Atmel-42243D-SAM-R21-Xplained-Pro_User Guide-04/2016...
  • Page 25 Figure 7-4. Configure Reset Figure 7-5. Configure Interface Atmel SAM R21 Xplained Pro [USER GUIDE] Atmel-42243D-SAM-R21-Xplained-Pro_User Guide-04/2016...
  • Page 26: Connecting A Sam-Ice To An Xplained Pro Board

    Cortex Debug Connector. You can connect the SAM-ICE to the debug connector on an Xplained Pro using either an Atmel-ICE adapter, SAM-ICE adapter, or a 10-pin 50-mil header to squid cable. When using a squid cable, see the table and figures below for how to connect the SAM-ICE to the Xplained Pro board.
  • Page 27 USB. Physically removing the connection between the EDBG and the debug header by removing 0Ω resistors, where available, or cutting the tracks to the EDBG can also be done. Atmel SAM R21 Xplained Pro [USER GUIDE] Atmel-42243D-SAM-R21-Xplained-Pro_User Guide-04/2016...
  • Page 28: Hardware Revisions And Known Issues

    8.1. Identifying Product ID and Revision The revision and product identifier of Xplained Pro boards can be found in two ways; either through Atmel Studio or by looking at the sticker on the bottom side of the PCB. By connecting an Xplained Pro MCU board to a computer with Atmel Studio running, an information window will pop up.
  • Page 29: Document Revision History

    Added ERRATA in the known issues chapter, added IAR getting started chapter. 42243B 06/2014 Fixed RF switch control pin-mapping to be correct and updated the Agency Certification chapter. 42243A 02/2014 Initial document release. Atmel SAM R21 Xplained Pro [USER GUIDE] Atmel-42243D-SAM-R21-Xplained-Pro_User Guide-04/2016...
  • Page 30: Evaluation Board/Kit Important Notice

    (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.
  • Page 31 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...

Table of Contents