ARM CMSIS Solution - Adding I2C to a Project | SERCOM, Clocks, Callbacks @MicrochipDeveloperHelp
ARM CMSIS Solution - Adding I2C to a Project | SERCOM, Clocks, Callbacks  @MicrochipDeveloperHelp
Uploaded August 2026 | Updated November 2026, 10 hours ago
Introducing CMSIS Support for Microchip Devices - A Video Series Playlist:
youtube.com/playlist?list=PLtQdQmNK_0DSEMwrcH-ami2vS4No4ev-T

In this video, we extend an existing Arm CMSIS-based ADC project by adding I2C support using the CMSIS-Driver I2C API. Starting from a working ADC example, we add the required I2C software components, identify the correct SERCOM instance on the Curiosity Nano Explorer, configure clocks and pins, initialize the CMSIS I2C driver, set up a basic callback, and debug a single-address I2C transaction.

This is a practical, code-focused walkthrough for professional embedded engineers who want to understand how CMSIS abstracts peripheral drivers while still requiring careful configuration of clocks, pin multiplexing, interrupts, and target-specific implementation details.

Related PIC32CM Clock System videos:

Watch Part 1: youtube.com/watch?v=ihAaJdM6wKQ
Watch Part 2: youtube.com/watch?v=On68aQEF-OA
Timestamps

00:00 – Adding I2C to an existing CMSIS ADC project
00:33 – Implementation overview and target ACK result
01:44 – Adding the CMSIS I2C driver component
01:55 – Selecting SERCOM0 on the Curiosity Nano Explorer
02:34 – Saving components and updating project.yaml
02:53 – Referencing the CMSIS I2C driver API
03:39 – Enabling SERCOM0 clocks and generic clock channel 6
05:00 – Referencing related PIC32CM Clock System videos
05:36 – Implementing I2C initialization
06:38 – Checking IRQs, PA0/PA1 pins, and bus speed
07:51 – Adding the CMSIS I2C callback
08:51 – Creating a single-address I2C write test
11:18 – Debugging and verifying the ACK callback
ARM CMSIS Solution - Adding I2C to a Project | SERCOM, Clocks, CallbacksIntroduction to the Data Visualizer Run Time (DVRT) protocol, for the MPLAB Data VisualizerAdvanced Code Security on PIC and AVR with PDID8080 Parallel Display Interface Demo | Coffee Maker Use Case (IoT)Photodiode Amplifier Circuit (Photoconductive Mode and Photovoltaic Mode)Getting Started with the Real Time Clock (RTC) in PIC32CM Devices – Part 1: RTC FundamentalsCreate Your First Project with SAM E54 Using MPLAB® Harmony v3 and MCCDev Tool Bits | Quickly and Easily Install MPLAB® Tools for VS Code®Time Interval ErrorManaging and Using Device Family PacksMPLAB® Harmony in VS Code®: New Project Part 2 - Hello World! STDIO and LoopbackIntro to Bare Metal Programming - Episode 15: Final Project - Part 2
Microchip Developer Help |

ARM CMSIS Solution - Adding I2C to a Project | SERCOM, Clocks, Callbacks

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER