1.1 SAM D21/SAM D20/SAM D11/SAM D10 (1)

Note:
  1. Most of the collaterals listed below cover the SAM D21 family of devices. They can be extended and easily ported to any of the SAM D20/SAM D11/SAM D10 devices.

Click on the following links to view the various collaterals:

  1. Videos.
  2. Training Modules.
  3. Virtual/ On-Demand Training.
  4. Technical Briefs.
  5. Application Notes.
  6. Application Demonstrations.
  7. Reference Designs/ Solutions.

SAM D2x/D1x: Videos

Table 1-1. SAM D2x/D1x: Videos
Sl. NoType/ Focus AreaHardware Board/ Kit UsedDescriptionLink
1Getting Started with ToolsN/AA step-by-step guide explaining the following:
  • How to Install MPLAB® X IDE
  • How to Install MPLAB XC32 Compiler
  • How to install the Configurator
  • How to Download the Harmony Framework from MPLAB Harmony v3 repositories on GitHub

MPLAB Harmony v3 is configurable through the MCC. Refer to items 6 and 7 for specific instructions to use the MCC.

How to Set-up the Tools Required to Get Started with MPLAB Harmony v3
2Getting Started with Device/KitSAM D21 Xplained Pro Evaluation Kit (ATSAMD21-XPRO)Explains how to create a simple application on the SAM D21 using MPLAB Harmony v3. The application sends a “Hello World!” string to the PC terminal.

MPLAB Harmony v3 is configurable through the MCC. Refer to items 6 and 7 for specific instructions to use the MCC.

Create Your First Project with SAMD21 using Using MPLAB Harmony v3
3Getting Started with Device/KitSAM D21 Curiosity Nano Evaluation Kit (DM320119)Explains how to create a simple application on the SAM D21 using MPLAB Harmony v3. The application toggles an LED periodically and prints the LED toggling rate on a serial terminal.

MPLAB Harmony v3 is configurable through the MCC. Refer to items 6 and 7 for specific instructions to use the MCC.

Getting Started with the SAM D21 Curiosity Nano
4Getting Started with IoTSAM-IoT WG Board (EV75S95A)Explains the steps to get started with the SAM-IoT Board and the supported features.Getting Started with the SAM IoT WG Board
5IoT SAM-IoT WG Board (EV75S95A)Explains the steps to create an IoT-based heart rate monitoring application on the SAM-IoT WG Development Board.How to Create an IoT Based Heart Rate Monitoring Application
6Getting Started with Software ToolsN/AExplains how to use the MCC Content ManagerMPLAB® Code Configurator Content Manager
7Getting Started with Software ToolsThough the video covers DM320209 and EV76S68A, the same content can be replicated for SAM D21 Xplained Pro Evaluation Kit (ATSAMD21-XPRO) or SAM D21 Curiosity Nano Evaluation Kit (DM320119)Explains how to create a new MPLAB Harmony v3 project using the MCC and shows how to migrate an MHC-based project to an MCC- based project.Getting Started with Harmony v3 Using Code Configurator
8Getting started with Docs N/AIntroduces the Quick Docs package to help develop applications using Microchip's 32-bit products using the MPLAB Harmony v3 software framework.Harmony Quick Docs Package
9Getting started with SolutionsN/AIntroduces the MPLAB Harmony Reference Apps package and describes its typical application types and download methods.Harmony Reference Applications Package
10AWS IoT Core Application with SAM IoT Wx v2 Development BoardSAM IoT Wx v2 Development Board (EV62V87A)The SAM-IoT Wx v2 Development Board, based on the SAM D21 microcontroller, serves as a compact Wi-Fi-based IoT Node development platform for the AWS IoT Core. The application showcases MQTT data transfer from onboard light and temperature sensors to AWS IoT Core.Demonstrating AWS IoT Core Application with SAM IoT Wx v2 Development Board
11SAM-IoT Wx v2 Development Board OverviewSAM IoT Wx v2 Development Board (EV62V87A)This video explains how scalable SAM-IoT Wx v2 Development Board combines an easy to use, yet powerful ATSAMD21 low power MCU, a pre-provisioned ATECC608B Trust Flex secure element and the fully certified ATWINC1510 Wi-Fi® network controller.SAM-IoT Wx v2 Development Board Overview
12Creating Your First Project with SAM D21SAM D21 Xplained Pro evaluation kit (ATSAMD21-XPRO)The video explains how the application reads the current room temperature from the temperature sensor on the I/O1 Xplained Pro Extension. The temperature read is displayed on a serial console periodically every 500 milliseconds. The periodicity of the temperature values displayed on the serial console is changed to 1 second, 2 seconds, 4 seconds and back to 500 milliseconds every time you press the switch SW0 on the SAM D21 Xplained Pro Evaluation Kit. Also, an LED is toggled every time the temperature is displayed on the serial console.Create Your First Project with SAMD21 Using MPLAB® Harmony v3 and MCC

SAM D2x/D1x Training Modules

Table 1-2. SAM D2x/D1x Training Modules
Sl. NoType/ Focus AreaHardware Board/ Kit UsedDescriptionLink
1Getting Started with Device/KitSAM D21 Xplained Pro Evaluation Kit (ATSAMD21-XPROShows how to create an application to get started with the SAM D21 using the MPLAB Harmony v3 software framework.

The training module is based on the MHC. Similar steps and flow can be used to create a project using the MCC.

Getting Started with Harmony v3 Peripheral Libraries on SAM D21
2Getting Started with Device/KitThe SAM D21 Xplained Pro Evaluation Kit (ATSAMD21-XPRO)Shows how to create an application to get started with the SAM D21 using the MPLAB Harmony v3 software framework with FreeRTOS.

The training module is based on the MHC. Similar steps and flow can be used to create a project using the MCC.

Getting Started with Harmony v3 Drivers on SAM D21 Using FreeRTOS
3Getting started with toolsN/AShows how to create a new MPLAB Code Configurator (MCC) Harmony v3 project from scratch.Create a new MPLAB Harmony v3 project using MCC
4Getting started with toolsN/AShows how to open an existing project and use with MCC.MCC - Open an Existing MPLAB® Harmony v3 Project
5Getting started with toolsN/AShows how to install the MPLAB® Code Configurator (MCC) plugin, and how to download the MPLAB Harmony v3 framework.MPLAB® Code Configurator Overview with MPLAB Harmony Content
6Getting started with toolsThough this training uses the SAM D5x/E5x, the same training can be used as a reference for other MCUs.Shows how to create a new MPLAB Harmony v3 project using MCC.Create a new MPLAB Harmony v3 project using MCC
7Application SpecificSAM D21 Xplained Pro Evaluation Kit (ATSAMD21-XPRO)Shows how to create a low-power application on the SAM D21 by showcasing the current measurement on Idle and Standby sleep modes. The current consumption data is displayed on the data visualizer. Low Power Application on SAM D21
8MigrationThough this training uses the PIC32MZ EF, the same training can be used as a reference for other MCUs.Shows how to update and configure an existing MPLAB Harmony Configurator (MHC)-based MPLAB Harmony v3 project to MPLAB Code Configurator (MCC)-based project. Update and Configure an Existing MHC-based MPLAB Harmony v3 Project to MCC-based Project
9IoTPIC32CM MC00 Curiosity Nano Evaluation Kit (EV10N93A)

Or

SAM D21 Curiosity Nano Evaluation Kit (DM320119)

Shows how to develop an application prototype from a concept without designing a Printed Circuit Board (PCB) using 32-bit MCU-based Curiosity Nano Evaluation Kits and Nano baseboard.

This training uses the PIC32CM MC00 Curiosity Nano. The same training can be used for other MCUs that are supported in the Curiosity Nano platform.

Rapid prototyping with 32-bit MCU-based Curiosity Nano

SAM D2x/D1x Virtual/On-Demand Training

Though some of the following virtual trainings are developed using other MCUs, the same training can be easily ported to the SAM D21 MCU.

Table 1-3. SAM D2x/D1x Virtual/On-Demand Training
Sl. NoEventDescriptionLink
1Design Week 2022 - Rapid Prototyping Discusses how to rapidly develop IoT-centered smart appliance control application prototypes from a concept. Refer to items 2, 3, and 4 in the following table for details. Link
2Rapid Prototyping with Curiosity Nano: Part I WebinarDiscusses how to rapidly develop an IoT-centered smart appliance control application prototype from a concept.

In the first part, The concept of creating a system to capture sensor data and control actuators through an I2C interface is explained.

This demonstration, though it was developed on the PIC32CM MC00 Curiosity Nano Evaluation Kit, can be easily ported to the SAM D21 Curiosity Nano Evaluation Kit (DM320119).

Link
3Rapid Prototyping with Curiosity Nano: Part II WebinarDiscusses how to rapidly develop an IoT-centered smart appliance control application prototype from a concept.

In the second part, the concept of creating a system to capture and display sensor data through the UART and SPI interfaces is explained.

This demonstration, though it was developed on the PIC32CM MC00 Curiosity Nano Evaluation Kit, can be easily ported to the SAM D21 Curiosity Nano Evaluation Kit (DM320119).

Link
4Rapid Prototyping with Curiosity Nano: Part III WebinarDiscusses how to rapidly develop an IoT-centered smart appliance control application prototype from a concept.

In the third part, the concepts to add more functionality to the project created in the first part of this webinar series is explained:

  • Extending the project to display the data captured by sensors through the SPI
  • Extending the project to add wireless capability through the UART

This demonstration, though it was developed on the PIC32CM MC00 Curiosity Nano Evaluation Kit, can be easily ported to the SAM D21 Curiosity Nano Evaluation Kit (DM320119).

Link
5Develop 32-bit MCU Applications Using MPLAB® Harmony v3Discusses the fundamentals of MPLAB Harmony v3, the middleware, and other design tools available for application development. It also showcases a weather station demonstration using the SAM D21 32-bit microcontroller using the SAM D21 Curiosity Nano Evaluation Kit (DM320119).Link
6Tech Insights Asia 2022 - Rapid Prototyping Connected Applications With 32-Bit MicrocontrollersThis training gives an insight into how rapid prototyping can be done with 32 bit Curiosity Pro and Curiosity Nano boards to create applications. Link

More virtual trainings are available at Microchip University. Click on the following links for more details:

  1. Introduction To MPLAB® X IDE
  2. MPLAB® X Tips and Tricks
  3. Overview of the Microchip Code Configurator (MCC) Content Manager (CM)
  4. MPLAB® Code Configurator (MCC) For Simplified Embedded Software Development
  5. ARM® Cortex®-M Architecture Overview
  6. Getting Started with Writing Code for the Microchip ARM® Cortex® Microcontrollers
  7. MPLAB® Harmony v3 Fundamentals
  8. Simple Applications Using the MPLAB® Harmony v3 Peripheral Libraries
  9. Creating Advanced Embedded Applications with 32-bit MCUs/MPUs using the MPLAB® Harmony v3 Software Framework
  10. FreeRTOS Simplified: A Beginner's Guide to Develop and Debug FreeRTOS Applications
  11. Class B Diagnostic Libraries For Functional Safety

SAM D2x/D1x Technical Briefs

Table 1-4. SAM D2x/D1x Technical Briefs
Sl. NoType/ Focus AreaDescriptionLink
1Getting StartedTB3231: Explains how to create a simple application on a SAM MCU using the MPLAB Harmony v3 modules. This application sends a “Hello World!” string to a console running on a computer.

This document explains one MCU; however, it can be ported to other MCUs.

Note: MPLAB Harmony v3 is configurable through MCC. Refer to items 6 and 7 in SAM D2x/ D1x: Videos for specific instructions to use the MCC.
Link
2Getting StartedTB3232: Explains how to set up the tools required to get started with MPLAB Harmony v3 software development framework.Link
3Getting StartedTB3304: How to Add a New Configuration to an Existing MPLAB Harmony v3 ProjectLink
4Getting StartedTB3305: How to Use the MPLAB Harmony v3 Project Manifest FeatureLink
5Getting StartedTB3290: MPLAB Harmony v3 Synchronous Drivers and their Usage in FreeRTOS Based ApplicationsLink
6Getting StartedTB3269: The Differences Between MPLAB Harmony v3 Synchronous and Asynchronous Drivers and When to Use ThemLink
7Getting StartedTB3291: The Difference Between MPLAB Harmony v3 PLIBs and Drivers, and When to Use ThemLink
8Getting StartedBuild MPLAB Harmony v3 project with Arm GCC toolchain in MPLAB X IDE.Link
9MigrationApplication migration from 8-bit PIC18F (MCC) to 32-bit SAM D21 (MHC).Link
10MigrationApplication migration from 8-bit AVR (MCC) to 32-bit SAM D21 (MHC).Link
11Getting StartedTB3253: How to Build an Application by Adding a New PLIB, Driver, or Middleware to an Existing MPLAB Harmony v3 ProjectLink
12Getting StartedTB3246: How to Use the MPLAB Harmony v3 Debug System ServiceLink
13Peripheral FeatureTB3243: How to Wake-up Fast from an External Event on Cortex M0+ Based MCUsLink
14Peripheral FeatureTB3230: Various Timers on SAM DevicesLink
15Peripheral FeatureTB3222: EEPROM Emulation for Flash-Only DevicesLink
16MCU FeatureTB3183: What is Sleepwalking? How it helps to reduce the power consumption?Link
17Peripheral FeatureTB3170: How the Event System Helps to Lower CPU Load and Power Consumption in Cortex™-M0+ MicrocontrollersLink
18Getting StartedTB3355: How to Use the MPLAB® Data Visualizer with 32-bit MCU based Curiosity Nano Evaluation KitsLink

SAM D2x/D1x Application Notes

Table 1-5. SAM D2x/D1x Application Notes
Sl. NoType/ Focus AreaDescriptionLink
1Getting StartedAN3563: SAM D21 Curiosity Nano: MPLAB Harmony v3 PLIBs Setup and EvaluationLink
2MigrationAN4495: MPLAB Harmony v3 Project Migration application note discusses the migration of an existing MPLAB Harmony v3-based project developed on a particular hardware (microcontroller or development board) platform to another one of Microchip's 32-bit hardware platforms of the user's choice.Link
3Feature specificAN4383: 32-bit Microcontroller Wafer-Level Chip-Scale Package (WLCSP)Link
4MigrationPIC18F to PIC24F to SAM D2x Migration and Performance Enhancement GuideLink
5MigrationAN3346: Introduction to MPLAB and Harmony v3 for Atmel Studio and ASF usersLink

SAM D2x/D1x Application Demonstrations

Table 1-6. SAM D2x/D1x Application Demonstrations
Sl. NoTypeHardware Board/ Kit UsedDescriptionLink
1Getting Started SAM D21 Curiosity Nano (DM320119)Getting Started Application on the SAM D21 Curiosity Nano Evaluation KitLink
2Getting Started SAM D21 Xplained Pro Evaluation Kit (ATSAMD21-XPRO)Getting Started Application on the SAM D21 Xplained Pro Evaluation KitLink
3IoT, ConnectivitySAM D21 Curiosity Nano (DM320119)Amazon Alexa Connect Kit (ACK) SDK port, Smart Applications and Over the Air (OTA) firmware upgrade on the SAM D21 Curiosity NanoLink
4TrackingSAM D21 Curiosity Nano (DM320119)Location Tagged SOS Application on the SAM D21 Curiosity Nano and Nano Base for Click boardsLink
5IoT, HealthcareSAM D21 Curiosity Nano (DM320119)Fitness Tracker Application on the SAM D21 Curiosity Nano Evaluation Kit and Nano Base for Click boardsLink
6IoT, AutomationSAM D21 Curiosity Nano (DM320119)BLE based Weather Station and Motion Sensor Application on the SAM D21 Curiosity Nano and Nano Base for Click boardsLink
7Low PowerSAM D21 Xplained Pro Evaluation Kit (ATSAMD21-XPRO)Low-Power Application on the SAM D21 Xplained Pro Evaluation KitLink
8Data LoggerSAM D21 Xplained Pro Evaluation Kit (ATSAMD21-XPRO)SD Card USB Data Logger Application on the SAM D21 Xplained Pro Evaluation KitLink
9Low PowerSAM D21 Xplained Pro Evaluation Kit (ATSAMD21-XPRO)AC Sleepwalking Application built with GCC Toolchain on the SAM D21 Xplained Pro KitLink
10AzureSAM-IoT Wx v2 Development Board (EV62V87A)This specific development board can be provisioned for Azure IoT Core; The application demonstrates MQTT data transfer of onboard light and temperature sensor data to Microsoft Azure IoT coreLink
11AWS CloudSAM-IoT Wx v2 Development Board (EV62V87A)This specific development board can be pre-provisioned for AWS IoT Core; The application demonstrates MQTT data transfer of onboard light and temperature sensor data to AWS IoT coreLink

More application demonstrations are available at Microchip's MPLAB Harmony GitHub repositories. Refer to the following links:

SAM D2x/D1x Reference Designs/Solutions

Table 1-7. SAM D2x/D1x Reference Designs/Solutions
Sl. NoTypeDescriptionLink
1Automation, TrackingLocation-Tagged SOS, Asset Tracking or Vehicle Tracking Application: This solution can be used during an emergency to send a distress signal through a location-tagged SOS SMS text message. Link
2IoT, MedicalFitness Tracker Wearables Application: This solution displays heart rate readings measured in beats per minute (bpm) on a low-power E ink display.Link
3IoT, AutomationBluetooth® Low Energy-Based Weather Station

This solution showcases a Bluetooth Low Energy-based solution for environmental or weather monitoring applications. It demonstrates the logging of weather and motion sensor data collected from various sensors to an Android™ mobile application through Bluetooth Low Energy.

Link
4Battery ChargerThe USB PD Demonstration Board is a USB power delivery battery charger demonstration board featuring the ATSAMD21J18A microcontroller.

The battery charger’s SEPIC power supply can support the full 20V/5A 100W USB PD specification.

Link
5AutomationSD™ Card USB Data Logger Demonstration Application: This solution demonstrates an example of using the MPLAB® Harmony v3 File System to access and modify the contents of an SD card using the SDSPI driver, the SPI PLIB, and MPLAB Harmony USB Device Stack to simultaneously enumerate an SD card as a USB Mass Storage Device (MSD).Link