Lets code a Linux Driver - 10: Accessing SPI with a LKM (BMP280)

Опубликовано: 06 Октябрь 2024
на канале: Johannes 4GNU_Linux
9,279
142

Let's leave userspace and head towards Kernelspace!


In this series of videos I will show you how to write your own Linux Driver. In this video, we will read and write some registers over SPI in a Linux Kernel Module. Enjoy!

Here is the link to my git-repo:
https://github.com/Johannes4Linux/Lin...


Here are some of my sources:
https://www.raspberrypi.org/forums/vi...
http://linux-sunxi.org/SPIdev

Mike Netz. Eigener linux-gpio-treiber für raspberry pi 3 model b. http://mike-netz.biz/?p=138, 2018
Jürgen Platte. Linux Hardware Hackz. Carl Hanser Verlag, 2007.
Martin Züger Usr Graf, Andreas Kalberer. Einführung in die Linux Treiberentwicklung. FHO Hochschule Ostschweiz, 2015.