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.
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...
, 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...
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.
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...
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.
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...
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.
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 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.
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...
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.
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"...
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...
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...
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...
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...
(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...