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
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










