Back to Browse

Tutorial: Access the SPI bus on GNU/Linux with a C programm

9.7K views
Oct 5, 2021
17:46

#FOSS #SPI #RaspberryPi #GNU #Linux #Programming Do you want to meet me? Check out my 1111th subscribers special on 16th of October! https://youtu.be/YRPFWYsnYAs In this video I show you how to access the SPI bus on GNU/Linux on a Raspberry Pi. I will write a small programm controlling a MCP23S08 8 Bit GPIO expander. We will only use some standard Linux function calls and no libraries! Enjoy! If you need the source code, just let me know and I will upload it to my github repository. Here is a link to the datasheet of the MCP23017 from Microchip: https://ww1.microchip.com/downloads/en/DeviceDoc/MCP23008-MCP23S08-Data-Sheet-20001919F.pdf

Download

1 formats

Video Formats

360pmp423.3 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Tutorial: Access the SPI bus on GNU/Linux with a C programm | NatokHD