Page 1 of 1

Which Pins are used for I2C and SPI Communication in ESP32 - S3?

Posted: Mon Apr 29, 2024 12:02 pm
by Kuralmozhi
Hi,

I am using ESP32-S3-WROOM-1-N16R2 in my design. I want to use one sensor which has both I2C and SPI Communication. I want give provision for both. I gone through the datasheet of this microcontroller. I don't find which specific pins are used for I2C(SDA, SCL) and SPI (MOSI, MISO, CS, SCK) Communication. I am new to this. Can anyone guide me?

Thanks,
Kuralmozhi

Re: Which Pins are used for I2C and SPI Communication in ESP32 - S3?

Posted: Mon Apr 29, 2024 1:46 pm
by ESP_Sprite
Any of them. The ESP32-S3 has a GPIO matrix that allows you to route those peripherals to any (not otherwise used) GPIO pin.

(Technically, the ESP32-S3 also has some dedicated pins that you can route SPI to via a different mechanism; if you need the absolutely 100% fastest SPI speed possible, you could use that. But for general purpose, any pin works.)