Page 1 of 1

ESP32-S2-Solo custom board i2c problems

Posted: Tue Feb 08, 2022 9:53 am
by guillez4
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 3647 times
1C222B50-D0A1-427A-BCE3-5F45EBC02689.png
1C222B50-D0A1-427A-BCE3-5F45EBC02689.png (78.38 KiB) Viewed 3647 times
Thanks everyone

Re: ESP32-S2-Solo custom board i2c problems

Posted: Tue Feb 08, 2022 11:48 am
by ESP_Minatel
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.

Re: ESP32-S2-Solo custom board i2c problems

Posted: Tue Feb 08, 2022 2:37 pm
by guillez4
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?

Re: ESP32-S2-Solo custom board i2c problems

Posted: Wed Feb 09, 2022 1:33 am
by ESP_Sprite
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.

Re: ESP32-S2-Solo custom board i2c problems

Posted: Wed Feb 09, 2022 8:36 am
by ESP_Minatel
BTW, you forgot to add on the USB connector the 5k1 pull-down resistors on CC1 and CC2.

Re: ESP32-S2-Solo custom board i2c problems

Posted: Thu Feb 10, 2022 3:28 am
by ESP_LJH
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.