Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Introduction to Embedded Linux - Patch Device Tree for I2C in Yocto

Digi-Key via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
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.

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

Reviews

Start your review of Introduction to Embedded Linux - Patch Device Tree for I2C in Yocto

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.