Atmel ATZB-SAMR21-XPRO User Manual

SmartConnect
ATZB-SAMR21-XPRO
USER GUIDE

Preface

This user guide facilitates how to get started with the Atmel® ATZB-SAMR21­XPRO extension board. ATZB-SAMR21-XPRO is targeted for evaluating the features and performance of the Atmel ATSAMR21G18-MR210UA ZigBit wireless module. The extension board is designed to provide ZigBee wireless functionality to the Xplained Pro evaluation platform in 2.4GHz ISM band.
®
Atmel-42695A-ATZB-SAMR21-XPRO_User Guide-08/2016

Table of Contents

Preface............................................................................................................................ 1
1. Introduction................................................................................................................3
1.1. Features....................................................................................................................................... 3
1.2. Kit Overview................................................................................................................................. 3
2. Getting Started...........................................................................................................5
2.1. Xplained Pro Quick Start.............................................................................................................. 5
2.2. Connecting XPRO with XPRO Extension.....................................................................................5
2.3. Performance Analyzer..................................................................................................................6
2.3.1. Introduction.................................................................................................................... 6
2.3.2. Programming Wireless Assembly using Atmel Studio 7.0.............................................6
2.3.3. Installing Wireless Composer 7.0 Extension in Atmel Studio 7.0.................................. 7
2.4. Design Documentation and Relevant Links................................................................................. 9
3. Xplained Pro............................................................................................................ 11
3.1. Hardware Identification System..................................................................................................11
3.2. Xplained Pro Standard Extension Header..................................................................................11
4. Hardware Users Guide............................................................................................ 13
4.1. Headers and Connectors............................................................................................................13
4.1.1. ATZB-SAMR21-XPRO Extension Header................................................................... 13
4.1.2. Battery Connector (J4).................................................................................................14
4.1.3. Current Measurement Header (J5)..............................................................................14
4.1.4. User Application Connectors (J1 and J3).................................................................... 14
4.1.5. Debug SWD Header J2............................................................................................... 15
4.2. ATZB-SAMR21-XPRO Peripherals............................................................................................ 15
4.2.1. LED..............................................................................................................................15
4.2.2. Button.......................................................................................................................... 15
5. Hardware Revision History and Known Issues........................................................16
5.1. Identifying Product ID and Revision........................................................................................... 16
5.2. Revision......................................................................................................................................16
6. Evaluation Board/Kit Important Notice.....................................................................17
7. Document Revision History..................................................................................... 18
Atmel ATZB-SAMR21-XPRO [USER GUIDE]
Atmel-42695A-ATZB-SAMR21-XPRO_User Guide-08/2016
2

1. Introduction

1.1. Features

Atmel ATSAMR21G18-MR210UA: IEEE® 802.15.4 compliant ZigBit wireless module for 2.4GHz
ZigBee® applications
ATSAMR21G18 (ARM® Cortex® -M0+) system in package
AT45DB041E 4Mb DataFlash
ATECC508A CryptoAuthentication™ Device
2450BM15A0015E Balun-Filter
An RF switch and two U.FL connectors for external antennas or RF front-end connections
Radio module with a link budget of 103dB
32.768kHz crystal oscillator
High precision 16MHz crystal oscillator
Single 1.8V - 3.6V supply
Supports Switching Antenna Diversity
Current Measurement header
Debug SWD header
Digital I/O
Xplained Pro extension header comprising SPI, I2C, and UART interfaces of ATSAMR21G18-
MR210UA
One RESET button and one user button
Three user LEDs
Supports with Performance Analyzer in Atmel Studio
Operating temperature range -40 to +85°C
Xplained Pro hardware identification system

1.2. Kit Overview

The Atmel ATZB-SAMR21-XPRO is a carrier board for ATSAMR21G18-MR210UA ZigBit for the Xplained Pro evaluation platform. They can be connected with any Xplained Pro standard extension header on any Xplained Pro MCU board to provide ZigBee wireless functionality in 2.4GHz ISM band.
Atmel ATZB-SAMR21-XPRO [USER GUIDE]
Atmel-42695A-ATZB-SAMR21-XPRO_User Guide-08/2016
3
Figure 1-1. ATZB-SAMR21-XPRO
Atmel ATZB-SAMR21-XPRO [USER GUIDE]
Atmel-42695A-ATZB-SAMR21-XPRO_User Guide-08/2016
4

2. Getting Started

2.1. Xplained Pro Quick Start

Steps to start exploring the Atmel Xplained Pro platform:
1. Download Atmel Studio.
2. Launch Atmel Studio.
3. Connect a USB cable (Standard-A to Micro-B or Micro-AB) between the PC and the DEBUG USB port on the kit.
When the Xplained Pro MCU kit is connected to your computer for the first time, the operating system will perform a driver software installation.
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. The kit landing page in Atmel Studio also has the option to launch Atmel Software Framework (ASF) example applications for the kit. The target device is programmed and debugged by the on-board Embedded Debugger and therefore no external programmer or debugger tool is needed.

2.2. Connecting XPRO with XPRO Extension

ATZB-SAMR21-XPRO Extension board has been designed to be connected with an Xplained Pro extension header marked EXT1. However, it is compatible with all Xplained Pro EXT headers. Refer to the pin-outs of your Xplained Pro evaluation kit to find out which Xplained Pro EXT headers can be used. The connection of the ATZB-SAMR21-XPRO wireless extension board with the Atmel ATMEGA256RFR2­Xplained Pro Evaluation Kit is shown below. Similarly, the extension board can also be connected with SAM4L-XPRO or any other XPROs.
Figure 2-1. Connecting ATMEGA256RFR2-XPRO with ATZB-SAMR21-XPRO Extension
Initially, the corresponding XPRO boards should be programmed with the respective Serial bridge firmware, and the ATZB-SAMR21-XPRO extension board should be programmed with Performance Analyzer firmware. After programming both XPRO and extension boards, the Performance Analyzer GUI in Atmel Studio can easily connect with the ZigBit wireless module on the extension board, and allow the user to change the channel, transmit power, modulation scheme, etc. to perform RF tests. Programming steps for both XPRO and extension board are explained in detail in Programming Wireless Assembly
using Atmel Studio 7.0
Atmel ATZB-SAMR21-XPRO [USER GUIDE]
Atmel-42695A-ATZB-SAMR21-XPRO_User Guide-08/2016
5

2.3. Performance Analyzer

2.3.1. Introduction

The Performance Analyzer firmware together with a GUI (Wireless Composer Extension) in Atmel Studio provides a way to perform a number of basic RF functional tests.
A quick-start guide and general help are available in the starting page of Performance Analyzer window.
The latest version of Atmel Studio is 7.0. This section guides the user to install necessary wireless extension and programming the wireless assembly (XPRO + ATZB-SAMR21-XPRO ) using Atmel Studio
7.0.

2.3.2. Programming Wireless Assembly using Atmel Studio 7.0

The following steps explain the way to program the wireless assembly and get started.
1. Connect the Debug USB port of the XPRO board with PC using the USB cable to power on/ program the board.
2. Program the XPRO board using on-board Embedded Debugger (EDBG) with Serial Bridge Application firmware available at "New Example Project from ASF or Extensions" in Atmel Studio. "Serial Bridge Application - ATMEGA256RFR2-Xplained Pro" and "Serial Bridge Application ­SAM4L Xplained Pro" firmwares are available for ATMEGA256RFR2-XPRO and ATSAM4L-XPRO boards respectively. After programming, the XPRO board is able to communicate with suitable extension board through UART interface.
3. Connect the ATZB-SAMR21-XPRO extension board with the programmed XPRO board to power ON the extension board. Program the extension board through SWD header with Performance Analyzer Application firmware available at "New Example Project from ASF or Extensions" in Atmel Studio using Atmel-ICE as shown below.
Atmel ATZB-SAMR21-XPRO [USER GUIDE]
Atmel-42695A-ATZB-SAMR21-XPRO_User Guide-08/2016
6
Loading...
+ 14 hidden pages