-
Syllabus
-
Course Overview 1 min
- Introduction to I2C
-
What is I2C? 1 min
-
Characteristics of I2C 2 min
-
Knowledge Check
- I2C Data Transfer Protocol and Format
-
Introduction 1 min
-
Start Condition 1 min
-
Client Address 2 min
-
Read / Write Bit 1 min
-
Acknowledge Bit 1 min
-
Data Byte 1 min
-
Stop Condition 1 min
-
Pop Quiz! 1 min
- I2C Peripheral
-
Introduction 3 min
-
SSPxCON1 Register 5 min
-
SSPxCON2 Register 4 min
-
SSPSTAT Register 3 min
-
Pop Quiz! 1 min
- Using the Microchip Code Configurator (MCC) For I2C Setup
-
Introduction 2 min
-
Installation 1 min
-
Create Project 1 min
-
MCC 3 min
-
Hardware Break Point 3 min
-
Write 3 min
-
Read 2 min
- Saleae Logic Analyzer
-
Introduction 1 min
-
Channels 1 min
-
Analyzer 1 min
-
Trigger 1 min
-
Write 2 min
-
Read 2 min
- Common Issues Implementing I2C
-
Introduction 1 min
-
Hardware Issues 2 min
-
Start Condition 3 min
-
Acknowledge (ACK) Bit 1 min
-
Data Transfer 2 min
-
Pop Quiz! 1 min
- Wrap-up
-
Summary 1 min
-
Additional Resources
- Your Feedback
-
We need your feedback
Practical I2C: Introduction, Implementation and Troubleshooting
This class covers how to implement the I2C protocol on 8-bit PIC Microcontrollers using the MPLAB X® Code Configurator (MCC). (July 2021)
"Why am I not receiving an acknowledge from my I2C device? Help!" "I can't write to my I2C Serial EEPROM and I always read 0xFF. What am I doing wrong?" These are some of the questions we receive from customers working with the I2C protocol, and this class will help to answer these questions and many more. We will start with an introduction to I2C covering key concepts and signals, continue with configuring PIC® Microcontrollers as an I2C primary or secondary device, and end with a demo showing common I2C communications failures and how to troubleshoot them. This class is recommended for anyone already using, planning to use or just wants to learn more about the I2C protocol.