11
AVR and the SPI Bus
We can loosely define a bus as a connection between two devices that allows us to send data from one device to the other. For example, there are several types of data buses that can connect your AVR microcontroller to a sensor or display device. This chapter introduces the serial peripheral interface (SPI) bus, which we use to send bytes of data directly between a primary device and one or more secondary devices.
In this chapter, you will learn how to:
- • Implement the SPI bus with AVR microcontrollers.
- • Read SPI device data sheets in order to write matching code.
- • Add a reset button to your projects.
- • Use two different ...
Get AVR Workshop now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.