# 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.
bd5b257ccdd5d9bbe46fa65367b84f14ee5ab3b5
idf.py add-dependency "espp/spi^1.1.4"