Preface ® The Atmel SAM L22 Xplained Pro evaluation kit is a hardware platform to evaluate the ATSAML22N18A microcontroller. Supported by the Atmel Studio integrated development platform, the kit provides easy access to the features of the Atmel ATSAML22N18A 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 L22 Xplained Pro evaluation kit is a hardware platform to evaluate the Atmel ATSAML22N18A. The kit offers a set of features that enables the ATSAML22N18A 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 5
Figure 1-1. SAM L22 Xplained Pro Evaluation Kit Overview Atmel SAM L22 Xplained Pro [USER GUIDE] Atmel-42474B-SAM-L22-Xplained-Pro_User Guide-12/2015...
, Windows 7, and Windows 8. 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.
Page 7
• Design Documentation - Package containing CAD source, schematics, BOM, assembly drawings, 3D plots, layer plots etc. • Hardware Users Guide in PDF format - PDF version of this User Guide. Atmel SAM L22 Xplained Pro [USER GUIDE] Atmel-42474B-SAM-L22-Xplained-Pro_User Guide-12/2015...
Atmel Data Visualizer is used to send and receive data through DGI. The EDBG controls two LEDs on SAM L22 Xplained Pro; a power LED and a status LED. The table below shows how the LEDs are controlled in different operation modes.
C: This is used to control and configure the XAM • SPI: Current measurement data is streamed to the EDBG via this interface. This is a one-way data transfer channel from the XAM to the EDBG Atmel SAM L22 Xplained Pro [USER GUIDE] Atmel-42474B-SAM-L22-Xplained-Pro_User Guide-12/2015...
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 L22 Xplained Pro kit can be powered by several power sources as listed in the table below. Table 3-3. Power Sources for SAM L22 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 L22 Xplained Pro [USER GUIDE] Atmel-42474B-SAM-L22-Xplained-Pro_User Guide-12/2015...
Xplained Pro Power Header The power header can be used to connect external power to the SAM L22 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.
4.1. Power Distribution SAM L22 Xplained Pro has three power sources; EDBG USB, Target USB, and/or external 5.0V. The kit will automatically select a source to draw power from. The kit has two on-board 3.3V voltage regulators, one for the EDBG and XAM and one for the ATSAML22N18A and other peripherals.
Xplained Pro Standard Extension Headers The SAM L22 Xplained Pro headers EXT1, EXT2, and EXT3 offer 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 the table below.
Page 17
Communication line to the ID chip on an extension board 2 [GND] Ground 3 [ADC(+)] PA04 AIN[4] Shield 4 [ADC(-)] PA05 AIN[5] Shield 5 [GPIO1] PB04 GPIO EDBG GPIO0, SLCD, and Atmel SAM L22 Xplained Pro [USER GUIDE] Atmel-42474B-SAM-L22-Xplained-Pro_User Guide-12/2015...
4.2.2. Segment LCD Connector Extension connector EXT5 is a special connector for segment LCD displays. SAM L22 Xplained Pro implements one segment LCD extension connector for Xplained Pro extensions and supports up to eight COM, twenty seven SEG and six touch signals. The connector has a standardized pin-out as shown in the table below.
Xplained Pro ID Communication line to ID chip on extension board 51 [GND] 4.2.3. Arduino Connector Footprint SAM L22 Xplained Pro implements Arduino shield connectors footprints based on the Arduino Uno. All references to Arduino pin names are taken from the official Arduino schematics of the Arduino Uno.
Cortex Debug 4.2.4. The SAM L22 Xplained Pro has a Micro-USB connector for use with the SAM L22 USB module labeled as TARGET USB on the kit. To be able to detect when a target USB cable is connected in self-powered mode, a GPIO is used to detect the VBUS voltage on the connector.
Crystal The SAM L22 Xplained Pro kit contains a 32.768kHz crystal that can be used as clock source for the SAM L22 device. The crystal has a cut-strap next to it that can be used to measure the oscillator safety factor.
EXT2, Shield, and EDBG GPIO3 4.3.3. There is one yellow LED available on the SAM L22 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-14. LED Connection...
Several of the Atmel security devices require only an I C interface to work, and they share the same packages and pin-outs. SAM L22 Xplained Pro implements a DFN8 footprint for these devices so the user may test the mounted ATECC508A device or solder in other CryptoAuthentication devices.
4.4. Embedded Debugger Implementation SAM L22 Xplained Pro contain an Embedded Debugger (EDBG) that can be used to program and debug the ATSAML22N18A 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 I C and it includes four of the SAM L22 GPIOs.
4.4.4. XAM Configuration On the SAM L22 Xplained Pro the MCU and the MCU peripherals (e.g. extensions) are powered by its own regulator as shown in the figure below. All other parts of the board, mainly embedded debugger and accompanying Xplained Pro Analog Module (XAM), are powered from a separate regulator. The current to the MCU and peripherals can be measured by connecting them to the XAM output through jumper settings.
4.5. Kit Modifications SAM L22 Xplained Pro has several resistors that can be used to disconnect I/O pins of the ATSAML22N18A from connectors and on-board ICs and to disconnect power signals. Atmel SAM L22 Xplained Pro [USER GUIDE] Atmel-42474B-SAM-L22-Xplained-Pro_User Guide-12/2015...
Page 30
EDBG SS PB25 SPI SS R427 TARGET RESET TARGET_MCU_RES Reset sense signal to EDBG, SENSE used to detect external resets R900 TARGET MCU RESET UNO ATSAML22N18A reset signal to RESET Arduino connectors Atmel SAM L22 Xplained Pro [USER GUIDE] Atmel-42474B-SAM-L22-Xplained-Pro_User Guide-12/2015...
Page 31
Figure 4-4. Assembly Drawing Top Atmel SAM L22 Xplained Pro [USER GUIDE] Atmel-42474B-SAM-L22-Xplained-Pro_User Guide-12/2015...
Page 32
Figure 4-5. Assembly Drawing Bottom Atmel SAM L22 Xplained Pro [USER GUIDE] Atmel-42474B-SAM-L22-Xplained-Pro_User Guide-12/2015...
Operation at Other Voltages The SAM L22 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 work on other voltages, therefore all connections from the EDBG and the on board 3.3V regulator to the...
Page 34
Figure 4-7. SAM L22 Xplained Pro Current Measurement Headers Related Links Xplained Pro Power Header on page 14 Cortex Debug Connector on page 23 Connectors on page 15 Atmel SAM L22 Xplained Pro [USER GUIDE] Atmel-42474B-SAM-L22-Xplained-Pro_User Guide-12/2015...
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 L22 Xplained Pro [USER GUIDE] Atmel-42474B-SAM-L22-Xplained-Pro_User Guide-12/2015...
Page 36
Figure 5-2. Select Debugger Figure 5-3. Configure Flash Loader Atmel SAM L22 Xplained Pro [USER GUIDE] Atmel-42474B-SAM-L22-Xplained-Pro_User Guide-12/2015...
Page 37
Figure 5-4. Configure Reset Figure 5-5. Configure Interface Atmel SAM L22 Xplained Pro [USER GUIDE] Atmel-42474B-SAM-L22-Xplained-Pro_User Guide-12/2015...
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 39
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 L22 Xplained Pro [USER GUIDE] Atmel-42474B-SAM-L22-Xplained-Pro_User Guide-12/2015...
6.1. Identifying Product ID and Revision The revision and product identifier of Xplained Pro boards can be found in two ways; either through Atmel Studio or by looking at the sticker on the bottom side of the PCB. By connecting an Xplained Pro MCU board to a computer with Atmel Studio running, an information window will pop up.
Document Revision History Doc. rev. Date Comment 42474B 12/2015 Bug fix on hardware. See Hardware Revision History and Known Issues on page 40 for changes. 42474A 08/2015 Initial document release. Atmel SAM L22 Xplained Pro [USER GUIDE] Atmel-42474B-SAM-L22-Xplained-Pro_User Guide-12/2015...
(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 46
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...
Need help?
Do you have a question about the SAM L22 Xplained Pro and is the answer not in the manual?
Questions and answers