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

Kuralmozhi
Posts: 1
Joined: Thu Apr 11, 2024 12:03 pm

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

Postby Kuralmozhi » Mon Apr 29, 2024 12:02 pm

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

ESP_Sprite
Posts: 9725
Joined: Thu Nov 26, 2015 4:08 am

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

Postby ESP_Sprite » Mon Apr 29, 2024 1:46 pm

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.)

Who is online

Users browsing this forum: No registered users and 84 guests