Atmel SAM L21 Xplained Pro User Manual

Atmel SAM L21 Xplained Pro User Manual

Hide thumbs Also See for SAM L21 Xplained Pro:

Advertisement

Quick Links

SMART ARM-based Microcontrollers
SAM L21 Xplained Pro
USER GUIDE

Preface

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

Advertisement

Table of Contents
loading

Summary of Contents for Atmel SAM L21 Xplained Pro

  • Page 1: Preface

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

    6. Hardware Revision History and Known Issues............27 6.1. Identifying Product ID and Revision................... 27 6.2. Revision 5...........................27 6.3. Revision 4...........................27 6.4. Revision 3...........................27 7. Document Revision History..................29 8. Evaluation Board/Kit Important Notice..............30 Atmel SAM L21 Xplained Pro [USER GUIDE] Atmel-42405D-SAM-L21-Xplained-Pro_User Guide-08/2016...
  • Page 3: Introduction

    Supported with application examples in Atmel Software Framework 1.2. Kit Overview The Atmel SAM L21 Xplained Pro evaluation kit is a hardware platform to evaluate the Atmel ATSAML21J18B. The kit offers a set of features that enables the ATSAML21J18B user to get started with the SAM L peripherals right away and to get an understanding of how to integrate the device in their own design.
  • Page 4 Figure 1-1. SAM L21 Xplained Pro Evaluation Kit Overview Atmel SAM L21 Xplained Pro [USER GUIDE] Atmel-42405D-SAM-L21-Xplained-Pro_User Guide-08/2016...
  • Page 5: Getting Started

    , Windows 7, Windows 8, Windows 10, and Windows Server 2012. When the Xplained Pro MCU board is powered, the green power LED will glow and Atmel Studio will auto detect the specific Xplained Pro MCU- and extension board(s) that are connected. Atmel Studio will present relevant information such as datasheets and kit documentation.
  • Page 6 3D plots, layer plots etc. • Hardware Users Guide in PDF format - PDF version of this User Guide. • SAM L21 Xplained Pro on the Atmel website - Atmel website link. Atmel SAM L21 Xplained Pro [USER GUIDE] Atmel-42405D-SAM-L21-Xplained-Pro_User Guide-08/2016...
  • Page 7: Xplained Pro

    Atmel Data Visualizer is used to send and receive data through DGI. The EDBG controls two LEDs on SAM L21 Xplained Pro; a power LED and a status LED. The table below shows how the LEDs are controlled in different operation modes.
  • Page 8: Xplained Pro Analog Module (Xam)

    3.2.2. EDBG Interface The Xplained Pro Analog Module (XAM) is connected to the EDBG with the following interfaces: • C: This is used to control and configure the XAM Atmel SAM L21 Xplained Pro [USER GUIDE] Atmel-42405D-SAM-L21-Xplained-Pro_User Guide-08/2016...
  • Page 9: Hardware Identification System

    When an Xplained Pro extension 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. The table below shows the data fields stored in the ID chip with example content.
  • Page 10: Power Sources

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

    SPI_MISO Master in slave out line of serial peripheral interface. Always implemented, bus type. SPI_SCK Clock for serial peripheral interface. Always implemented, bus type. Ground Power for extension board Atmel SAM L21 Xplained Pro [USER GUIDE] Atmel-42405D-SAM-L21-Xplained-Pro_User Guide-08/2016...
  • Page 12 Xplained Pro Power Header The power header can be used to connect external power to the SAM L21 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 13: Hardware User Guide

    Figure 4-1 shows all available connectors and jumpers on SAM L21 Xplained Pro. Figure 4-1.  SAM L21 Xplained Pro Connector Overview Atmel SAM L21 Xplained Pro [USER GUIDE] Atmel-42405D-SAM-L21-Xplained-Pro_User Guide-08/2016...
  • Page 14 4.1.1. Xplained Pro Extension Headers The SAM L21 Xplained Pro headers EXT1, EXT2, and EXT3 offers access to the I/O of the microcontroller in order to expand the board e.g., by connecting extensions to the board. These headers are based on the standard extension header specified in Table 3-4.
  • Page 15 IRQ0/GPIO EDBG GPIO1 10 [SPI_SS_B/GPIO] PA27 GPIO 11 [TWI_SDA] PA08 SERCOM2 PAD[0] I²C SDA EXT1, EXT2, and EDBG I²C 12 [TWI_SCL] PA09 SERCOM2 PAD[1] I²C SCL EXT1, EXT2, and EDBG I²C Atmel SAM L21 Xplained Pro [USER GUIDE] Atmel-42405D-SAM-L21-Xplained-Pro_User Guide-08/2016...
  • Page 16 VDDIO Header The SAM L21 Xplained Pro has a 2-pin header connecting the power supply from the VCC_MCU net to VCC_IO net through a jumper. This header can be used to measure the current to the I/O block of the SAM L21 device by removing the jumper and connect an ammeter.
  • Page 17: Peripherals

    4.2.1. Crystals The SAM L21 Xplained Pro kit contains one mounted 32.768kHz crystal and a footprint for higher frequency crystals that can be used as clock sources for the SAM L21. The crystals have cut-straps next to them 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 18 PA02 EXT1 4.2.3. There is one yellow LED available on the SAM L21 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-10. LED Connection SAM L21 pin...
  • Page 19: Embedded Debugger Implementation

    ATSAML21J18B 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 includes four of the SAM L21 GPIOs. Atmel Studio can be used as a front end for the Embedded Debugger.
  • Page 20: Sam L21 Xplained Pro Xam Configuration

    EXT2 4.4. SAM L21 Xplained Pro XAM Configuration On the SAM L21 Xplained Pro the MCU and the MCU peripherals (e.g. extensions) are powered by its own regulator as shown in Figure 4-2. All other parts of the board, mainly embedded debugger and accompanying Xplained Pro Analog Module (XAM), are powered from a separate regulator.
  • Page 21 Target Regulator On the SAM L21 Xplained Pro the XAM can be used in four configurations: No current measurement or external MCU current measurement: The XAM is bypassed and thus the MCU and peripherals are supplied directly by the regulator. Set both jumpers in the "BYPASS"...
  • Page 22: 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 5-1. Select Target Device Atmel SAM L21 Xplained Pro [USER GUIDE] Atmel-42405D-SAM-L21-Xplained-Pro_User Guide-08/2016...
  • Page 23 Figure 5-2. Select Debugger Figure 5-3. Configure Flash Loader Atmel SAM L21 Xplained Pro [USER GUIDE] Atmel-42405D-SAM-L21-Xplained-Pro_User Guide-08/2016...
  • Page 24 Figure 5-4. Configure Reset Figure 5-5. Configure Interface Atmel SAM L21 Xplained Pro [USER GUIDE] Atmel-42405D-SAM-L21-Xplained-Pro_User Guide-08/2016...
  • Page 25: 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 26 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 L21 Xplained Pro [USER GUIDE] Atmel-42405D-SAM-L21-Xplained-Pro_User Guide-08/2016...
  • Page 27: Hardware Revision History And Known Issues

    Revision 3 and previous revisions use ATSAML21J18A-AUTES as the main device, revision 3 is the initially released revision. The top level order code of the SAM L21 Xplained Pro evaluation kit is ATSAML21-XPRO for revision 3. The extra crystal footprint connected to PA14 and PA15 described in...
  • Page 28 Figure 6-1. SAM L21 Xplained Pro Evaluation Kit Overview Atmel SAM L21 Xplained Pro [USER GUIDE] Atmel-42405D-SAM-L21-Xplained-Pro_User Guide-08/2016...
  • Page 29: Document Revision History

    Updated power supply chapter with target USB as an input source. 42405C 03/2016 Updated for revision 5 of the kit. 42405B 07/2015 Updated for revision 4 of the kit. 42405A 02/2015 Initial document release. Atmel SAM L21 Xplained Pro [USER GUIDE] Atmel-42405D-SAM-L21-Xplained-Pro_User Guide-08/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