# SPI Component [](https://components.espressif.com/components/espp/spi) The `Spi` class provides a simple C++ wrapper around the ESP-IDF SPI master driver. It manages SPI bus initialization, per-device registration, blocking transfers, queued transactions, and bus acquisition. ## Example The [example](./example) shows how to create an SPI bus, attach a device, and perform a simple addressed read transaction, with the address phase driven on MOSI and the response read back on MISO.
e8442f8bda331c24515d9a2f23d2749b6400eb4f
idf.py add-dependency "espp/spi^1.1.0"