Hardware Requirements

The application demonstration needs a SAM L22 Xplained Pro board as shown in the following figure.

Figure 1. SAM L22 Xplained Pro Board

There are two USB ports in the SAM L22 Xplained Pro board – DEBUG USB and TARGET USB. For debugging the target SAM L22 MCU using the Embedded debugger (EDBG), a Micro-B USB cable should be connected between a host PC running Atmel Studio and the DEBUG USB port on the SAM L22 Xplained Pro board.

Once the kit is successfully connected, for the first time, the Windows Task bar will pop-up a message as shown in the following figure.

Figure 2. SAM L22 Xplained Pro Driver Installation

If the driver installation is proper, EDBG will be listed in the Device Manager as shown in the following figure

Figure 3. Successful EDBG Driver Installation

Application codes are tested in Atmel Studio 6.2 with ASF version 3.26.10 and later.

The SAM L22 Xplained Pro kit is the main board, which contains the MCU (ATSAML22N18A), used to run the example application and accessory board is Segment LCD1 Xplained Pro which contains segment LCD mounted on it, which is used to interface LCD to SAML22 Xplained Pro kit.

Figure 4. Top and bottom view of Segment LCD1 Xplained Pro

To interface Segment LCD (SLCD1 Xplained Pro) to SAM L22 Xplained Pro, connect SLCD1 Xplained Pro segment LCD connector (big, white connector on the bottom view of SLCD1 Xplained Pro) to segment LCD connector (EXT5) on the SAM L22 Xplained Pro kit.