# 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.
8590a22a458faf07f8cfcd9bc1710e9a7397065d
idf.py add-dependency "espp/spi^1.1.3"