USER GUIDE Atmel SAM R21 Xplained Pro 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.
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 ATSAMR21G18A microcontroller ● Embedded debugger (EDBG) ● ● ● 1.
Figure 1-1.
2. Getting Started 2.1 Quick-start Three 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 R21 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 R21 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 R21 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 R21 Xplained Pro and their connection to the ATSAMR21G18A. 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 R21 Xplained Pro headers EXT1 and EXT3 offer access to the I/O of the microcontroller in order to expand the board e.g.
4.1.
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 . Note The 16MHz crystal is connected directly to the RF die inside the SAM R21. The clock signal generated by the crystal is routed from the CLKM pin on the RF die to a GCLK IO pin on the microcontroller. For more information on how the RF die is connected to the microcontroller and how to configure the CLKM pin see the SAM R21 datasheet. Table 4-5.
2 Technology, 2450BM15A0015 ) to create a single 50ohm unbalanced output/input. This kit has a passive 3 analog RF switch (Skyworks Solutions Inc, AS222-92LF ) connected to the unbalanced output of the balun. The switch is driven by the RFCTRL1 and RFCTRL2 pins of the ATSAMR21G18A which feature Antenna Diversity to enable the device to automatically select the best signal from two antennas (can also be selected manually).
Note Operating the SAM R21 Xplained Pro on other voltages than 3.3V requires physical modifications on the kit using a soldering iron and an external debugger for programming the ATSAMR21G18A. The on board LED is selected for 3.3V operation, the light level at 1.8V opeartion is very low. To increase the emitted light level the value of the series resistor can be lowered. The EDBG functionality can be restored by re-soldering the removed components, they are all 0 ohm resistors.
4.4.1 Serial Wire Debug The Serial Wire Debug (SWD) use two pins to communicate with the target. For further information on how to use the programming and debugging capabilities of the EDBG, see “Embedded Debugger” on page 6. Table 4-11. SWD Connections 4.4.2 Pin on SAM R21 Function PA30 SWD clock PA31 SWD data Virtual COM port The Embedded Debugger acts as a Virtual Com Port gateway by using one of the ATSAMR21G18A UARTs.
5. Kit Specific Data One of the user pages in the EDBG is programmed with data specific to the SAM R21 Xplained Pro. The data 2 can be read through the I C interface connected to the EDBG, for detailed information see the EDBG User 1 Guide . All data is stored as little endian. Table 5-1. MAC64Register, Offset: 0x00 1 Name Description Size [bits] MAC64 MAC64 Address (hex) 64 http://www.atmel.com/Images/Atmel-42096-Microcontrollers-Embedded-Debugger_User-Guide.
6. Agency Certification 6.1 United States (FCC) 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: 1. Important This equipment (SAM R21 Xplained Pro) is for use for evaluation purposes only and must not be incorporated into any other device or system. This equipment complies with Part 15 of the FCC Rules.
Important The 'CE' marking must be affixed to a visible location on the OEM product. The CE mark shall consist of the initials "CE" taking the following form: ● The CE marking must have a height of at least 5mm except where this is not possible on account of the nature of the apparatus. ● The CE marking must be affixed visibly, legibly, and indelibly.
7. Hardware Revision History and Known Issues 7.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.
8. Document revision history Document revision Date Comment 42243B 06/2014 Fixed RF switch control pin-mapping to be correct and updated the Agency Certification chapter. 42243A 02/2014 Initial document release.
9. 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 T: (+1)(408) 441.0311 1600 Technology Drive, San Jose, CA 95110 USA F: (+1)(408) 436.4200 | www.atmel.com © 2014 Atmel Corporation. / Rev.: 42243B-MCU-06/2014 ® ® ® Atmel , Atmel logo and combinations thereof, Enabling Unlimited Possibilities , AVR , and others are registered trademarks or trademarks of Atmel Corporation in ® ® ® U.S. and other countries. Windows is a registered trademark of Microsoft Corporation in U.S. and or other countries.