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

espiando
Posts: 14
Joined: Tue Oct 05, 2021 2:31 pm

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

Postby espiando » Thu Oct 07, 2021 8:50 pm

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.

chegewara
Posts: 2378
Joined: Wed Jun 14, 2017 9:00 pm

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

Postby chegewara » Thu Oct 07, 2021 11:33 pm

Pins GPIO8 and GPIO9

Image

espiando
Posts: 14
Joined: Tue Oct 05, 2021 2:31 pm

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

Postby espiando » 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:

chegewara
Posts: 2378
Joined: Wed Jun 14, 2017 9:00 pm

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

Postby chegewara » Fri Oct 08, 2021 4:49 am

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.

espiando
Posts: 14
Joined: Tue Oct 05, 2021 2:31 pm

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

Postby espiando » Fri Oct 08, 2021 4:57 am

thanks again!

User avatar
rudi ;-)
Posts: 1729
Joined: Fri Nov 13, 2015 3:25 pm

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

Postby rudi ;-) » 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
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪

espiando
Posts: 14
Joined: Tue Oct 05, 2021 2:31 pm

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

Postby espiando » Sat Oct 09, 2021 1:57 pm

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

User avatar
rudi ;-)
Posts: 1729
Joined: Fri Nov 13, 2015 3:25 pm

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

Postby rudi ;-) » Sat Oct 09, 2021 3:48 pm

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 12169 times
so a trick tip is, too, whats done in arduino sometime in the variants :)

best wishes
rudi ;-)
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪

chegewara
Posts: 2378
Joined: Wed Jun 14, 2017 9:00 pm

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

Postby chegewara » Sat Oct 09, 2021 4:33 pm

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.

Who is online

Users browsing this forum: Baidu [Spider], Bing [Bot] and 117 guests