Summary
In this chapter we learnt about the I2C bus and how we can use specific Linux device drivers to access I2C devices of different kinds. We discovered how to enable them by using a proper DTS file or directly form the user-space. We also explored how we could write our own I2C driver as a user-space application in both C or Python languages.
However, even if the I2C bus is widely used in every embedded computer and a large variety of I2C peripherals exist, another on-board bus can be found on most systems, that is the SPI bus and its devices, so it's time to go to the next chapter.