The SPI bus component (Bus) is a set of application-layer code built on top of the ESP-IDF peripheral driver code, It is mainly used for bus communication between ESP chips and external devices. From the point of application development, this component has the following features:
This component abstracts the following concepts:
Each physical peripheral bus can mount one or more devices if the electrical condition allows, with the SPI bus addressing devices based on CS pins, thus achieving software independence between different devices on the same bus.
Please use the component manager command add-dependency
to add the spi_bus
to your project's dependency, during the CMake
step the component will be downloaded automatically
Plaintext
idf.py add-dependency "espressif/spi_bus=*"
8afb429589124b76280ed9b0201aac0773b3202a
idf.py add-dependency "espressif/spi_bus^1.0.0"