O'Reilly logo

GNU/Linux Rapid Embedded Programming by Rodolfo Giometti

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required