Open JohannesNeu opened 2 months ago
No, you just need to specify which GPIO to use
int sck = Less than GPIO 33;
int miso = any_pin;
int mosi = Less than GPIO 33;
SPI.begin(sck,miso,mosi);
Thank you for the reply, but what you are describing is software SPI, right? I tried it with tasmota and if I want to use SSPI it works with every pin. But what if i want to use hardware SPI ?
This is hardware SPI
Hello everyone,
I bought a https://www.lilygo.cc/products/t-relay with 4 Relays and flashed tasmota, which works very well.
Next I would like to attach two to three MAX31865 via SPI and I am therefore looking for the correct PINs. According to this schematic: https://github.com/Xinyuan-LilyGO/LilyGo-T-Relay/blob/main/Schematic/T_Relay4_ESP32.pdf (page one upper right corner) The proper PINs on the header would be:
The schematics describe a "ESP32-WROVER-B". While the ESP on my board is labeled "ESP32-WROVER-E"
According to the ESP32-WROVER-E datasheet from Espressif: https://www.espressif.com/sites/default/files/documentation/esp32-wrover-e_esp32-wrover-ie_datasheet_en.pdf (page 5 - 7) the PINs would be different (table 4).
The IO15, which is used as MOSI in the lilygo schematics is the HSPICS0 chip select according to the Espressif documentation and IO2 is HSPIWP according to it.
I would appreciate your help to figure out which configuration is correct and if both are feasible an explanation where this difference comes from.
kind regards, Johannes