1.1 SAM D21/SAM D20/SAM D11/SAM D10 (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:
SAM D2x/D1x: Videos
Sl. No | Type/ Focus Area | Hardware Board/ Kit Used | Description | Link |
---|---|---|---|---|
1 | Getting Started with Tools | N/A | A step-by-step guide explaining the
following:
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 |
2 | Getting Started with Device/Kit | SAM 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 |
3 | Getting Started with Device/Kit | SAM 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 |
4 | Getting Started with IoT | SAM-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 |
5 | IoT | 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 |
6 | Getting Started with Software Tools | N/A | Explains how to use the MCC Content Manager | MPLAB® Code Configurator Content Manager |
7 | Getting Started with Software Tools | Though 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 |
8 | Getting started with Docs | N/A | Introduces 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 |
9 | Getting started with Solutions | N/A | Introduces the MPLAB Harmony Reference Apps package and describes its typical application types and download methods. | Harmony Reference Applications Package |
10 | AWS IoT Core Application with SAM IoT Wx v2 Development Board | SAM 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 |
11 | SAM-IoT Wx v2 Development Board Overview | SAM 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 |
12 | Creating Your First Project with SAM D21 | SAM 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
Sl. No | Type/ Focus Area | Hardware Board/ Kit Used | Description | Link |
---|---|---|---|---|
1 | Getting Started with Device/Kit | 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. 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 |
2 | Getting Started with Device/Kit | The 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 |
3 | Getting started with tools | N/A | Shows how to create a new MPLAB Code Configurator (MCC) Harmony v3 project from scratch. | Create a new MPLAB Harmony v3 project using MCC |
4 | Getting started with tools | N/A | Shows how to open an existing project and use with MCC. | MCC - Open an Existing MPLAB® Harmony v3 Project |
5 | Getting started with tools | N/A | Shows 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 |
6 | Getting started with tools | Though 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 |
7 | Application Specific | SAM 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 |
8 | Migration | Though 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 |
9 | IoT | PIC32CM 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.
Sl. No | Event | Description | Link |
---|---|---|---|
1 | Design 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 |
2 | Rapid Prototyping with Curiosity Nano: Part I Webinar | Discusses 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 |
3 | Rapid Prototyping with Curiosity Nano: Part II Webinar | Discusses 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 |
4 | Rapid Prototyping with Curiosity Nano: Part III Webinar | Discusses 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:
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 |
5 | Develop 32-bit MCU Applications Using MPLAB® Harmony v3 | Discusses 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 |
6 | Tech Insights Asia 2022 - Rapid Prototyping Connected Applications With 32-Bit Microcontrollers | This 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:
- Introduction To MPLAB® X IDE
- MPLAB® X Tips and Tricks
- Overview of the Microchip Code Configurator (MCC) Content Manager (CM)
- MPLAB® Code Configurator (MCC) For Simplified Embedded Software Development
- ARM® Cortex®-M Architecture Overview
- Getting Started with Writing Code for the Microchip ARM® Cortex® Microcontrollers
- MPLAB® Harmony v3 Fundamentals
- Simple Applications Using the MPLAB® Harmony v3 Peripheral Libraries
- Creating Advanced Embedded Applications with 32-bit MCUs/MPUs using the MPLAB® Harmony v3 Software Framework
- FreeRTOS Simplified: A Beginner's Guide to Develop and Debug FreeRTOS Applications
- Class B Diagnostic Libraries For Functional Safety
SAM D2x/D1x Technical Briefs
Sl. No | Type/ Focus Area | Description | Link |
---|---|---|---|
1 | Getting Started | TB3231: 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 |
2 | Getting Started | TB3232: Explains how to set up the tools required to get started with MPLAB Harmony v3 software development framework. | Link |
3 | Getting Started | TB3304: How to Add a New Configuration to an Existing MPLAB Harmony v3 Project | Link |
4 | Getting Started | TB3305: How to Use the MPLAB Harmony v3 Project Manifest Feature | Link |
5 | Getting Started | TB3290: MPLAB Harmony v3 Synchronous Drivers and their Usage in FreeRTOS Based Applications | Link |
6 | Getting Started | TB3269: The Differences Between MPLAB Harmony v3 Synchronous and Asynchronous Drivers and When to Use Them | Link |
7 | Getting Started | TB3291: The Difference Between MPLAB Harmony v3 PLIBs and Drivers, and When to Use Them | Link |
8 | Getting Started | Build MPLAB Harmony v3 project with Arm GCC toolchain in MPLAB X IDE. | Link |
9 | Migration | Application migration from 8-bit PIC18F (MCC) to 32-bit SAM D21 (MHC). | Link |
10 | Migration | Application migration from 8-bit AVR (MCC) to 32-bit SAM D21 (MHC). | Link |
11 | Getting Started | TB3253: How to Build an Application by Adding a New PLIB, Driver, or Middleware to an Existing MPLAB Harmony v3 Project | Link |
12 | Getting Started | TB3246: How to Use the MPLAB Harmony v3 Debug System Service | Link |
13 | Peripheral Feature | TB3243: How to Wake-up Fast from an External Event on Cortex M0+ Based MCUs | Link |
14 | Peripheral Feature | TB3230: Various Timers on SAM Devices | Link |
15 | Peripheral Feature | TB3222: EEPROM Emulation for Flash-Only Devices | Link |
16 | MCU Feature | TB3183: What is Sleepwalking? How it helps to reduce the power consumption? | Link |
17 | Peripheral Feature | TB3170: How the Event System Helps to Lower CPU Load and Power Consumption in Cortex™-M0+ Microcontrollers | Link |
18 | Getting Started | TB3355: How to Use the MPLAB® Data Visualizer with 32-bit MCU based Curiosity Nano Evaluation Kits | Link |
SAM D2x/D1x Application Notes
Sl. No | Type/ Focus Area | Description | Link |
---|---|---|---|
1 | Getting Started | AN3563: SAM D21 Curiosity Nano: MPLAB Harmony v3 PLIBs Setup and Evaluation | Link |
2 | Migration | AN4495: 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 |
3 | Feature specific | AN4383: 32-bit Microcontroller Wafer-Level Chip-Scale Package (WLCSP) | Link |
4 | Migration | PIC18F to PIC24F to SAM D2x Migration and Performance Enhancement Guide | Link |
5 | Migration | AN3346: Introduction to MPLAB and Harmony v3 for Atmel Studio and ASF users | Link |
SAM D2x/D1x Application Demonstrations
Sl. No | Type | Hardware Board/ Kit Used | Description | Link |
---|---|---|---|---|
1 | Getting Started | SAM D21 Curiosity Nano (DM320119) | Getting Started Application on the SAM D21 Curiosity Nano Evaluation Kit | Link |
2 | Getting Started | SAM D21 Xplained Pro Evaluation Kit (ATSAMD21-XPRO) | Getting Started Application on the SAM D21 Xplained Pro Evaluation Kit | Link |
3 | IoT, Connectivity | SAM 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 Nano | Link |
4 | Tracking | SAM D21 Curiosity Nano (DM320119) | Location Tagged SOS Application on the SAM D21 Curiosity Nano and Nano Base for Click boards | Link |
5 | IoT, Healthcare | SAM D21 Curiosity Nano (DM320119) | Fitness Tracker Application on the SAM D21 Curiosity Nano Evaluation Kit and Nano Base for Click boards | Link |
6 | IoT, Automation | SAM D21 Curiosity Nano (DM320119) | BLE based Weather Station and Motion Sensor Application on the SAM D21 Curiosity Nano and Nano Base for Click boards | Link |
7 | Low Power | SAM D21 Xplained Pro Evaluation Kit (ATSAMD21-XPRO) | Low-Power Application on the SAM D21 Xplained Pro Evaluation Kit | Link |
8 | Data Logger | SAM D21 Xplained Pro Evaluation Kit (ATSAMD21-XPRO) | SD Card USB Data Logger Application on the SAM D21 Xplained Pro Evaluation Kit | Link |
9 | Low Power | SAM D21 Xplained Pro Evaluation Kit (ATSAMD21-XPRO) | AC Sleepwalking Application built with GCC Toolchain on the SAM D21 Xplained Pro Kit | Link |
10 | Azure | SAM-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 core | Link |
11 | AWS Cloud | SAM-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 core | Link |
More application demonstrations are available at Microchip's MPLAB Harmony GitHub repositories. Refer to the following links:
SAM D2x/D1x Reference Designs/Solutions
Sl. No | Type | Description | Link |
---|---|---|---|
1 | Automation, Tracking | Location-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 |
2 | IoT, Medical | Fitness Tracker Wearables Application: This solution displays heart rate readings measured in beats per minute (bpm) on a low-power E ink display. | Link |
3 | IoT, Automation | Bluetooth® 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 |
4 | Battery Charger | The 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 |
5 | Automation | SD™ 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 |
SAM D2x/D1x Key Links
- SAM D21 Curiosity Nano Evaluation Kit (DM320119)
- SAM-IoT WG Development Board (EV75S95A)
- SAM D21 Xplained Pro Evaluation Kit (ATSAMD21-XPRO)
- MPLAB Harmony Landing Page
- MPLAB Harmony v3 GitHub Reference Application Repository
- MPLAB Harmony v3 GitHub Quick Docs Repository
- Microchip Reference Designs Page
- Rapid Prototyping with 32-bit MCUs