SAM L Training with Hands-on Labs


This class is intended to be taught by an instructor. Some of the slides may not be easily understood without the instructor making sense of them. That said, you should still be able to learn a lot from it.

This training can be downloaded and used off-line. It consists of slides (PDF) and a lab manual that will describe the SAM L family of microcontrollers and teach you how to use them. The information contained in this presentation will eventually be available in Developer Help pages, but we wanted to provide you with this download now so you don't have to wait.

Class Abstract:

The SAM L family of microcontrollers is specifically designed for ultra-low power applications (e.g. battery operated IoT devices). Power consumption can be reduced down to 35 µA/MHz in active mode and 200nA in Sleep mode. To take advantage of all the power saving features this family offers, you must first understand what they are and how to use them. That is the goal of this class.

After providing an overview of the SAM L system architecture, the class will teach you the different power supply and on-chip voltage regulator options that are available. You will also learn how the highly configurable clock generator provides clocks to different parts of the chip. You will learn how the multiple power domains and clock gating can be used to place the device into one of five different power modes (from Active to Off). You will also learn how some intelligent peripherals can wake up from sleep and perform some task without waking up the CPU (Sleepwalking mode).

The last section of this class shows the capabilities of the new and enhanced peripherals (including low power SRAM and analog) found on the SAM L devices. You will also learn how the SAM L21 Xplained Pro development board can be used with the Studio IDE Data Visualizer for power profiling.

Hands-on Labs:

Two hands-on labs help you to apply your newly acquired knowledge:

  • Lab1:
    • Use the Atmel Start Web UI to generate a Studio IDE project and source code based on the the Atmel Software Framework (ASF).
      • Create Atmel Start project
      • Add USART driver for debug messages
      • Add ADC and I2C driver for temperature and light sensor
      • Add SPI driver to display temp and light sensor data using Atmel Data Visualizer
  • Lab2:
    • Place the SAM L21 into its five power modes and use Studio IDE's Data Visualizer to measure the power consumption.
      • Create Atmel Start project
      • Configure the oscillators and clocks
      • Configure the External Interrupt Controller
      • Configure SW0 push button using Atmel Start PINMUX Configurator
      • Place the SAM L21 into its 5 power modes and measure the power consumption using Atmel Data Visualizer

SAM L Training Slides and Lab Manuals

Development Hardware Required for Labs

SAM L21 Xplained Pro Evaluation Kit

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 includes an on-board Embedded Debugger so that no external tools are necessary to program or debug the ATSAML21J18B.

Click image to enlarge.

Atmel IO1 Xplained Pro Extension Board

Atmel® I/O1 Xplained Pro is an extension board to the Atmel Xplained Pro evaluation platform.

I/O1 Xplained Pro is designed to give a wide variety of functionality to Xplained Pro MCU boards including a microSD card, a temperature sensor, a light sensor, and more.

Click image to enlarge.

Development Software Required for Labs

Tool About Installers
Windows Linux Mac OSX
Atmel Studio
Integrated Development Environment
© 2017 Microchip Technology, Inc.
Information contained on this site regarding device applications and the like is provided only for your convenience and may be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR OTHERWISE, RELATED TO THE INFORMATION, INCLUDING BUT NOT LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY OR FITNESS FOR PURPOSE. Microchip disclaims all liability arising from this information and its use. Use of Microchip devices in life support and/or safety applications is entirely at the buyer's risk, and the buyer agrees to defend, indemnify and hold harmless Microchip from any and all damages, claims, suits, or expenses resulting from such use. No licenses are conveyed, implicitly or otherwise, under any Microchip intellectual property rights.