Page 1 of 1

ESP32-S2-DevKitM-1(U) USB , Default I2C Pins

Posted: Thu Oct 07, 2021 8:50 pm
by espiando
Hello, I would like to know where to find the default configuration for I2C?
Went through all chip/module and board documentation and was not able to find this.

Thanks for your help or hint in advance.

Re: ESP32-S2-DevKitM-1(U) USB , Default I2C Pins

Posted: Thu Oct 07, 2021 11:33 pm
by chegewara
Pins GPIO8 and GPIO9

Image

Re: ESP32-S2-DevKitM-1(U) USB , Default I2C Pins

Posted: Fri Oct 08, 2021 3:44 am
by espiando
thanks! Is this pinout the same for all S2 Modules ? Including S2 Mini 1 (U)?
I have this doubt, since number of PINs are not the same.
:roll:

Re: ESP32-S2-DevKitM-1(U) USB , Default I2C Pins

Posted: Fri Oct 08, 2021 4:49 am
by chegewara
All you should take care about is GPIO number. Pins on PCB silkscreen can be anything, but GPIO_NUM_X is representation of esp32 S2 chip or any esp32 chip and is always the same within family models.

Re: ESP32-S2-DevKitM-1(U) USB , Default I2C Pins

Posted: Fri Oct 08, 2021 4:57 am
by espiando
thanks again!

Re: ESP32-S2-DevKitM-1(U) USB , Default I2C Pins

Posted: Fri Oct 08, 2021 7:18 am
by rudi ;-)
espiando wrote:
Fri Oct 08, 2021 3:44 am
thanks! Is this pinout the same for all S2 Modules ? Including S2 Mini 1 (U)?
I have this doubt, since number of PINs are not the same.
:roll:
supplementing:

Espressif gives an Overview all SoC''s and Devkits/Boards and also Modules.
If there is a Document available, also over the selection which Chip you want have more Infos
also Product Selector is a good Base for Datasheet.

You asking for the DevKitM-1(U)
so this is the Kit wih Modules Mini Serie ( M ) and in your case ( U ) without PCB Antenna
You find Shematics, Pins, ect example also over ESP-IDF Documents direct.

The S2-DevKitM-1(U) ./. S2-DevKitM-1 is only the PCB Antenna.
The pin header names are shown in ESP32-S2-DevKitM-1 - front. The numbering is the same as in the ESP32-S2-DevKitM-1(U)
The S2-DevKitM Pinout looks like this
Image

Hope this helps.

best wishes
rudi

Re: ESP32-S2-DevKitM-1(U) USB , Default I2C Pins

Posted: Sat Oct 09, 2021 1:57 pm
by espiando
rudi ;-) wrote:
Fri Oct 08, 2021 7:18 am
espiando wrote:
Fri Oct 08, 2021 3:44 am
thanks! Is this pinout the same for all S2 Modules ? Including S2 Mini 1 (U)?
I have this doubt, since number of PINs are not the same.
:roll:
supplementing:

Espressif gives an Overview all SoC''s and Devkits/Boards and also Modules.
If there is a Document available, also over the selection which Chip you want have more Infos
also Product Selector is a good Base for Datasheet.

You asking for the DevKitM-1(U)
so this is the Kit wih Modules Mini Serie ( M ) and in your case ( U ) without PCB Antenna
You find Shematics, Pins, ect example also over ESP-IDF Documents direct.

The S2-DevKitM-1(U) ./. S2-DevKitM-1 is only the PCB Antenna.
The pin header names are shown in ESP32-S2-DevKitM-1 - front. The numbering is the same as in the ESP32-S2-DevKitM-1(U)
The S2-DevKitM Pinout looks like this
Image

Hope this helps.

best wishes
rudi
thanks for detailed explanation about document structure @ Espressif..this helps for sure. Actually I could find that pinout picture before, but I was not able to identify the I2C pins ( pins not mentioned ... or I am blind :)). I will get the dev kits tonight... let's start with GPIO8 and 9

Re: ESP32-S2-DevKitM-1(U) USB , Default I2C Pins

Posted: Sat Oct 09, 2021 3:48 pm
by rudi ;-)
espiando wrote:
Sat Oct 09, 2021 1:57 pm
thanks for detailed explanation about document structure @ Espressif..this helps for sure. Actually I could find that pinout picture before, but I was not able to identify the I2C pins ( pins not mentioned ... or I am blind :)). I will get the dev kits tonight... let's start with GPIO8 and 9
you are welcome.
yes, you're right, on this pin out no SDA, SCL on IO8, IO9 labeled, perhabs this will be updated.
It can also happen that not all pins are brought out on some modules / kits, this is sometimes the case with Flash pins, if they are embedded in the SoC (Flash inside, psRAM inside)

standard pins are "only pre set" in arduino, you can use any GPIO pin for I2C ( SDA, SCL ) - you find this info under "Peripheral Pin Configurations" in the ESP32-S2 Datasheet example
esp32-s2_datasheet_en_I2C.png
esp32-s2_datasheet_en_I2C.png (17.89 KiB) Viewed 12172 times
so a trick tip is, too, whats done in arduino sometime in the variants :)

best wishes
rudi ;-)

Re: ESP32-S2-DevKitM-1(U) USB , Default I2C Pins

Posted: Sat Oct 09, 2021 4:33 pm
by chegewara
If you compare pinout of saola and devkitM-1 you can see they are both the same. The only difference is module used which differs in size and soldering pads exposition. From functional point of view they are exactly the same. So, if there s something on saola pinout which is missing on devkitM-1 you can consider its there and the same in other way, anything on devkitM-1 pinout and missing on saola, assume it is there. Saola pinout seems to be more complex.