You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Purchased several https://www.sparkfun.com/products/15805, tested two chips on example1, both emit "Device failed to setup"... however if I comment out the infinite loop they appear to work fine. I did check the device ID and it is reporting 0x117 so the issue is in this code:
if (_i2cPort->endTransmission() != 0)
{
return false;
}
If I check the status code coming from endTransmission it's 7 == I2C_ERROR_CONTINUE
Your workbench
What development board or microcontroller are you using?
ESP32S2
What version of hardware or breakout board are you using?
How is the breakout board wired to your microcontroller?
Qwiic
How is everything being powered?
USB-C
Are there any additional details that may help us help you?
Steps to reproduce
Load example 1.
Press Upload
Expected behavior
It should work
Actual behavior
It doesn't.
The text was updated successfully, but these errors were encountered:
I've tested on ESP32 and works fine. I'll get setup with the S2 shortly. I suspect it's core related since the S2 is so new (19 hours old at the time of writing).
I'm pretty positive it's just due to the changes in the Espressif libraries required for the ESP32S2, they implemented I2C_ERROR_CONTINUE which is somehow related to I2C pending write. I was able to get the library working by commenting out some of the I2C return code checking. I had to do the same on the MS5637 to get it going.
Subject of the issue
Purchased several https://www.sparkfun.com/products/15805, tested two chips on example1, both emit "Device failed to setup"... however if I comment out the infinite loop they appear to work fine. I did check the device ID and it is reporting 0x117 so the issue is in this code:
If I check the status code coming from endTransmission it's 7 == I2C_ERROR_CONTINUE
Your workbench
ESP32S2
Qwiic
USB-C
Steps to reproduce
Expected behavior
It should work
Actual behavior
It doesn't.
The text was updated successfully, but these errors were encountered: