# 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.
038eea4a63d3bc4c287b6c1420924a646abb5ee2
idf.py add-dependency "espp/spi^1.3.2"