Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
Linux SPI Subsystem : LDD with Raspberry Pi #17
Play lesson

Linux Driver Development with Raspberry Pi - Linux SPI Subsystem : LDD with Raspberry Pi #17

4.0 (3)
31 learners

What you'll learn

This course includes

  • 8.3 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Keywords

Full Transcript

In this video, we explore the Linux SPI subsystem inside the Linux kernel and build a minimal SPI client driver from scratch. Instead of jumping directly into Device Tree-based driver development, we first focus on understanding the internal architecture of SPI in Linux — how drivers are registered, how devices are matched, how probe() is triggered, and how SPI data transfers work using spi_message and spi_transfer. To demonstrate full-duplex SPI communication, we: * Use the Raspberry Pi SPI0 controller as the master * Use an ESP32 Dev Board as the SPI slave * Manually bind and unbind the SPI device to our custom driver * Perform a full-duplex SPI transfer using spi_sync() * Observe probe() and remove() lifecycle behavior This example is purely educational and focuses on understanding how the SPI subsystem works inside the kernel. Github :- https://github.com/madhawapolkotuwa/linux_driver_development_with_raspberrypi ☕Buy me a Coffee : https://buymeacoffee.com/madhawapolb

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere