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

Linux Foundation

Groking the Linux SPI Subsystem

Linux Foundation via YouTube

Overview

Explore the intricacies of the Linux Serial Peripheral Interconnect (SPI) subsystem in this comprehensive conference talk by Matt Porter from Konsulko. Delve into the SPI bus's significance in embedded systems and its extensive support within the Linux kernel. Gain insights into the framework's abstractions for both kernel and userspace clients, and discover subtle features that can optimize hardware performance in embedded Linux systems. Learn about common SPI uses, signal types, timing diagrams, and various SPI modes. Understand the complexities of multiple SPI slaves and their timing. Examine Linux SPI drivers, communication methods, and practical use cases for adding SPI devices to a system. Analyze datasheets for SPI details using examples like ST7735 and MCP3008. Explore protocol drivers, kernel APIs, controller drivers, and userspace drivers using spidev. Discover performance considerations, tools, and slave support to enhance your understanding of the Linux SPI subsystem.

Syllabus

Intro
Common uses of SPI
SPI Signals
Basic SPI Timing Diagram
SPI Modes
SPI Mode Timing - CPOLO
SPI can be more complicated
Multiple SPI Slaves
SPI Mode Timing - Multiple Slaves
Linux SPI drivers
Linux SPl communication
Exploring via use cases
Adding a SPI device to a system
Reading datasheets for SPI details - ST7735
Reading datasheets for SPI details - MCP3008
Protocol Driver
Kernel APIs
Controller Driver
Userspace Driver - spidev
Userspace Help
Performance considerations
Performance tools
Slave Support

Taught by

Linux Foundation

Reviews

Start your review of Groking the Linux SPI Subsystem

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.