O'Reilly logo

Programming the BeagleBone by Yogesh Chavan

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

Appendix C. Pinmux and the Device Tree

We covered BeagleBone Capes in the previous appendix. Configuring capes requires pin mux configuration. Here, we will explore what pin mux is and how it can be changed using device tree overlay. We will also see why the device tree is used in the BeagleBone kernel and how the device tree overlay changes it dynamically.

What is Pinmux?

Different embedded projects deal with different components. Some embedded projects conduct communication with analog sensors. Some projects apply the ON/OFF logic on LEDs/buttons. Some interface with devices on I2C / SPI / UART. These different components have different types of voltage, current, and protocol requirement. We cannot attach an I2C device to a pin that follows the ...

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