Atmel SAM R21 Xplained Pro User Manual Download Page 6

 

Atmel SAM R21 Xplained Pro [USER GUIDE]

42243A-MCU-02/2014

6

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. Each extension board has an identification (ID) chip to uniquely

identify which boards are mounted on a Xplained Pro MCU board. This information is used to present relevant

user guides, application notes, datasheets and example code through Atmel Studio. Available Xplained Pro

MCU and extension boards can be purchased in the 

Atmel Web Store

1

.

3.1

Embedded Debugger

The SAM R21 Xplained Pro contains the Atmel Embedded Debugger (EDBG) for on-board debugging. The

EDBG is a composite USB device of three interfaces; a debugger, Virtual COM Port and Data Gateway

Interface (DGI).
In conjunction with Atmel Studio, the EDBG debugger interface can program and debug the ATSAMR21G18A.

On the SAM R21 Xplained Pro, the SWD interface is connected between the EDBG and the ATSAMR21G18A.
The Virtual COM Port is connected to a UART port on the ATSAMR21G18A (see section 

“Embedded Debugger

Implementation” on page 14

 for pinout), and provides an easy way to communicate with the target

application through simple terminal software. It offers variable baud rate, parity and stop bit settings. Note that

the settings on the target device UART must match the settings given in the terminal software.
The DGI consists of several physical data interfaces for communication with the host computer. See section

“Embedded Debugger Implementation” on page 14

 for available interfaces and pinout. Communication

over the interfaces are bidirectional. It can be used to send events and values from the ATSAMR21G18A, or

as a generic printf-style data channel. Traffic over the interfaces can be timestamped on the EDBG for more

accurate tracing of events. Note that timestamping imposes an overhead that reduces maximal throughput. The

DGI uses a proprietary protocol, and is thus only compatible with Atmel Studio.
The EDBG controls two LEDs on SAM R21 Xplained Pro, a power LED and a status LED. 

Table 3-1, “EDBG

LED Control” on page 6

 shows how the LEDs are controlled in different operation modes.

Table 3-1. EDBG LED Control

Operation mode

Power LED

Status LED

Normal operation

Power LED is lit when power is

applied to the board.

Activity indicator, LED flashes

every time something happens on

the EDBG.

Bootloader mode (idle)

The power LED and the status LED blinks simultaneously.

Bootloader mode (firmware

upgrade)

The power LED and the status LED blinks in an alternating pattern.

For further documentation on the EDBG, see the 

EDBG User Guide

2

.

3.2

Hardware Identification System

All Xplained Pro compatible extension boards have an Atmel ATSHA204 CryptoAuthentication™ chip mounted.

This chip contains information that identifies the extension with its name and some extra data. When an

Xplained Pro extension board is connected to an Xplained Pro MCU board the information is read and sent

to Atmel Studio. The Atmel Kits extension, installed with Atmel Studio, will give relevant information, code

examples and links to relevant documents. 

Table 3-2, “Xplained Pro ID Chip Content” on page 6

 shows the

data fields stored in the ID chip with example content.

Table 3-2. Xplained Pro ID Chip Content

Data Field

Data Type

Example Content

Manufacturer

ASCII string

Atmel’\0’

Product Name

ASCII string

Segment LCD1 Xplained Pro’\0’

Product Revision

ASCII string

02’\0’

Product Serial Number

ASCII string

1774020200000010’\0’

1

 http://store.atmel.com/ATSAMR21-XPRO

2

 http://www.atmel.com/Images/Atmel-42096-Microcontrollers-Embedded-Debugger_User-Guide.pdf

Summary of Contents for SAM R21 Xplained Pro

Page 1: ...atform 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 boar...

Page 2: ...Connectors 10 4 1 1 I O Extension Headers 10 4 1 2 Other Headers and Connectors 11 4 2 Peripherals 11 4 2 1 Crystal 11 4 2 2 Mechanical Buttons 12 4 2 3 LED 12 4 2 4 USB 12 4 2 5 RF 12 4 3 1 8V Operat...

Page 3: ...anical buttons user and reset button One user LED Two extension headers Antenna One ceramic chip antenna 2450AT18D0100 One SMA connector for external antenna Three possible power sources External powe...

Page 4: ...Atmel SAM R21 Xplained Pro USER GUIDE 42243A MCU 02 2014 4 Figure 1 1 SAM R21 Xplained Pro Evaluation Kit Overview...

Page 5: ...all 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 differ...

Page 6: ...vailable interfaces and pinout Communication over the interfaces are bidirectional It can be used to send events and values from the ATSAMR21G18A or as a generic printf style data channel Traffic over...

Page 7: ...urces are available and choose which one to use according to the following priority 1 External power 2 Embedded debugger USB 3 Target USB Note External power is required when the 500mA through the USB...

Page 8: ...wire interface Always implemented bus type 13 USART_RX Receiver line of Universal Synchronous and Asynchronous serial Receiver and Transmitter 14 USART_TX Transmitter line of Universal Synchronous and...

Page 9: ...r Pin name Description 4 VCC_P3V3 Regulated 3 3V output used as main power for the kit Note If the board is powered from a battery source it is recommended to use the PWR header If there is a power so...

Page 10: ...e 4 1 Extension Header EXT1 Pin on EXT1 SAM R21 pin Function Shared functionality 1 ID Communication line to ID chip on extension board 2 GND GND 3 ADC PA06 AIN 6 4 ADC PA07 AIN 7 5 GPIO1 PA13 GPIO 6...

Page 11: ...als Header Pin on header Pin on SAM R21 Function 1 PA09 RFCTRL1 positive antennae switch control signal 2 PA12 RFCTRL2 negative antennae switch control signal 3 PA27 GPIO chip select on the EDBG DGI S...

Page 12: ...tton connected to the SAM R21 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 Table 4 7 Mechanical Buttons Pin on SAM R21 Silk...

Page 13: ...AM 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 w...

Page 14: ...removed components they are all 0 ohm resistors Important The voltage supplied through the power header is applied directly to the ATSAMR21G18A and the extension headers applying a voltage greater th...

Page 15: ...either a SPI or I C port The DGI can be used to send a variety of data from the SAM R21 to the host PC For further information on how to use the DGI interface see Embedded Debugger on page 6 Table 4 1...

Page 16: ...M R21 Xplained Pro The data can be read through the I 2 C interface connected to the EDBG for detailed information see the EDBG User Guide 1 All data is stored as little endian Table 5 1 MAC64Register...

Page 17: ...s FCC 2 1093 requires separate equipment authorization Important Modifications not expressly approved by this company could void the user s authority to operate this equipment FCC section 15 21 Import...

Page 18: ...Industrie Canada pour un environnement non contr l Cet quipement doit tre install et utilis avec un minimum de 20 cm de distance entre le dispositif et l utilisateur ou des tiers Important Any changes...

Page 19: ...List of Antennas Tested With This Product 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...

Page 20: ...formation about connected Xplained Pro extension boards will also appear in the Atmel Kits window The same information can be found on the sticker on the bottom side of the PCB The sticker on SAM R21...

Page 21: ...Atmel SAM R21 Xplained Pro USER GUIDE 42243A MCU 02 2014 21 8 Document revision history Document revision Date Comment 42243A 02 2014 Initial document release...

Page 22: ...buyer s and further users sole risk The user assumes all responsibility and liability for proper and safe handling of the goods Further the user indemnifies Atmel from all claims arising from the hand...

Page 23: ...TY WHATSOEVER AND DISCLAIMS ANY EXPRESS IMPLIED OR STATUTORY WARRANTY RELATING TO ITS PRODUCTS INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTY OF MERCHANTABILITY FITNESS FOR A PARTICULAR PURPOSE OR...

Page 24: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information Microchip ATSAMR21 XPRO...

Reviews: