Arduino - Second SPI port for ESP32 S3
Posted: Sat Oct 22, 2022 2:42 pm
I have an ESP32 S3 Wroom 1 Dev Module and the 2.0.5 core whuch has support for the S3.
I can run a SPI device on the standard, default SPI port which you use with SPI.begin()
However, I am trying to get the second SPI port running (pins GPIO35, GPIO36, GPIO37) which the code for the example 'SPI_Multiple_Buses.ino' implies with these lines that it supports the S3;
But this produces a repeating error;
E (2115) gpio: gpio_set_level(226): GPIO output gpio_num error
The standard SPI port is working, SCK is active etc, but the second is not.
What is the correct naming or code for the second SPI avaialble SPI port on the S3.
I can run a SPI device on the standard, default SPI port which you use with SPI.begin()
However, I am trying to get the second SPI port running (pins GPIO35, GPIO36, GPIO37) which the code for the example 'SPI_Multiple_Buses.ino' implies with these lines that it supports the S3;
Code: Select all
#if CONFIG_IDF_TARGET_ESP32S2 || CONFIG_IDF_TARGET_ESP32S3
#define VSPI FSPI
#endif
E (2115) gpio: gpio_set_level(226): GPIO output gpio_num error
The standard SPI port is working, SCK is active etc, but the second is not.
What is the correct naming or code for the second SPI avaialble SPI port on the S3.