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.
Watch video Lets code a Linux Driver - 10: Accessing SPI with a LKM (BMP280) online without registration, duration hours minute second in high quality. This video was added by user Johannes 4GNU_Linux 25 January 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 9,279 once and liked it 142 people.