Page 1 of 1

ESP32-C3-MINI-1-H4 SPI/ I2C

Posted: Mon Aug 19, 2024 7:18 pm
by Sophi9999
Hello!
I wondered if there are specific pins to use for I2C and SPI for the ESP32-C3-MINI?
I haven't been able to find this in a datasheet/ anywhere else.

Is there room for both I2C and SPI ? Thanks in advance!

Re: ESP32-C3-MINI-1-H4 SPI/ I2C

Posted: Tue Aug 20, 2024 6:19 pm
by MicroController
There aren't really specific pins for either I2C or SPI. You can route the signals to (almost?) any pin you like, and use I2C and SPI at the same time (on seperate pins, of course).
When using the IDF drivers, you'll notice that they need you to specify upon setup which pins you want them to use.

Re: ESP32-C3-MINI-1-H4 SPI/ I2C

Posted: Tue Aug 20, 2024 6:30 pm
by Sophi9999
Many thanks!

I'm planing on using the Arduino framework, looks like you can change pin numbers for I2C and SPI there too.