ESP32-S2-Solo custom board i2c problems

guillez4
Posts: 2
Joined: Tue Oct 26, 2021 9:15 am

ESP32-S2-Solo custom board i2c problems

Postby guillez4 » Tue Feb 08, 2022 9:53 am

Hi everyone

I did develop a custom ESP32-S2-Solo board conencted through i2c to an inertial sensor. However when I upload wireScan code from arduino ide, I get error 5 in all the addresses, which corresponds to I2C_ERROR_BUSY. For pull up resistors I did use 2koms.
I don’t know where is the source of the problem, can anyone give me some advice.

Here I upload my sketches and layout(in the sketch I used ESP32-S3 but I placed S2-SOLO due to stock limitations, but the pins are the same)
19593BF8-20F8-415C-9A15-8DC4D8E617DD.png
19593BF8-20F8-415C-9A15-8DC4D8E617DD.png (35.91 KiB) Viewed 3651 times
1C222B50-D0A1-427A-BCE3-5F45EBC02689.png
1C222B50-D0A1-427A-BCE3-5F45EBC02689.png (78.38 KiB) Viewed 3651 times
Thanks everyone

ESP_Minatel
Posts: 364
Joined: Mon Jan 04, 2021 2:06 pm

Re: ESP32-S2-Solo custom board i2c problems

Postby ESP_Minatel » Tue Feb 08, 2022 11:48 am

Hi,

Have you tried to see the signals using an oscilloscope or a logic analyzer? This might help you to find out the issue.

You can also check to solder.

guillez4
Posts: 2
Joined: Tue Oct 26, 2021 9:15 am

Re: ESP32-S2-Solo custom board i2c problems

Postby guillez4 » Tue Feb 08, 2022 2:37 pm

Thanks for your comment but I currently dont have an osciloscope I have to wait one week. And when I have it what I am supposed to see?

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

Re: ESP32-S2-Solo custom board i2c problems

Postby ESP_Sprite » Wed Feb 09, 2022 1:33 am

Simply probe the I2C signals, see if they make sense. If they do not (e.g. a line is pulled low constantly) you know where to look.

ESP_Minatel
Posts: 364
Joined: Mon Jan 04, 2021 2:06 pm

Re: ESP32-S2-Solo custom board i2c problems

Postby ESP_Minatel » Wed Feb 09, 2022 8:36 am

BTW, you forgot to add on the USB connector the 5k1 pull-down resistors on CC1 and CC2.

ESP_LJH
Posts: 387
Joined: Tue May 18, 2021 9:21 am

Re: ESP32-S2-Solo custom board i2c problems

Postby ESP_LJH » Thu Feb 10, 2022 3:28 am

Could you make sure the IOs you configure are IO47 IO48 or IO33 IO34? There are some differences in the pin definitions for two modules.

Who is online

Users browsing this forum: zilizii and 169 guests