Open chriskhoury01 opened 7 months ago
What is this the SPI device interface for?
What is this SPI device interface for?
This is to have a usable SPI interface stub for posterity.
A working understanding of interfaces should be available as part of future documentation, together with a generic interface stub for future interface development.
Our first goal is to initialize the SPI pins between the ESP32C3-devkitc and the CC1200.
The ESP32C3 DeviceTree gets compiled to a C header that defines the hardware connections (i.e. GPIOS) made in the SPUR-SBR.
DeviceTree Guide:
Bindings for ESP32-SPI and CC1200: -https://docs.zephyrproject.org/3.0.0/reference/devicetree/bindings/spi/espressif%2Cesp32-spi.html#dtbinding-espressif-esp32-spi
https://docs.zephyrproject.org/latest/build/dts/api/bindings/ieee802154/ti,cc1200.html
Examples: https://github.com/aaron-mohtar-co/Lemon-IoT-LTE-nRF9160/blob/main/Examples/spi_sensor/boards/lemon_iot_lte_nrf9160_ns.overlay
https://www.zephyrproject.org/how-to-set-up-esp32-gpio-pins-in-zephyr-rtos/