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)
Thanks everyone
ESP32-S2-Solo custom board i2c problems
-
- Posts: 364
- Joined: Mon Jan 04, 2021 2:06 pm
Re: ESP32-S2-Solo custom board i2c problems
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.
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
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?
-
- Posts: 9591
- Joined: Thu Nov 26, 2015 4:08 am
Re: ESP32-S2-Solo custom board i2c problems
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.
-
- Posts: 364
- Joined: Mon Jan 04, 2021 2:06 pm
Re: ESP32-S2-Solo custom board i2c problems
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
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: No registered users and 127 guests