Explore the process of enabling I2C ports and peripherals on a microprocessor by creating a custom Linux kernel patch for the device tree in this 34-minute video tutorial. Learn how to enable I2C port 5 on the STM32MP157D-DK1 board to communicate with a temperature sensor. Examine available I2C ports using the board's datasheet, create a git diff patch for the device tree source file, and include it in a custom layer. Discover how to add the "i2cdetect" tool by enabling it in busybox. Follow along as the new kernel and device tree are built, flashed to an SD card, and booted on the board. Connect a temperature sensor and use i2cdetect to probe it, gaining practical experience in customizing embedded Linux systems for specific applications.
Overview
Syllabus
Introduction
Data Sheet
Physical I2C Ports
Memory Organization
Pins Diagram
I2C5 Patch File
The Hack
I2C Detect
Enable I2C Detect
Build Custom Image
Whats Next
Taught by
Digi-Key