ESP32-S3 I2C not working with Arduino but with ESP-IDF

Using the espidf for an esp32-s3 based proejct.
Example from here I2C communication failures on ESP32-S3 (works on ESP32) (IDFGH-7138) · Issue #8741 · espressif/esp-idf · GitHub i2c works fine and shows me the device with the id 0x19.

If I am using the arduino core it doesn’t work and finds no device at all.

#include <Arduino.h>

#include <Wire.h>
#include <Adafruit_LIS3DH.h>
#include <Adafruit_Sensor.h>
#include <Adafruit_I2CDevice.h>

const int i2c_sda = 5;
const int i2c_scl = 6;

Adafruit_I2CDevice dev = Adafruit_I2CDevice(0x19, &Wire);
Adafruit_LIS3DH lis = Adafruit_LIS3DH();

void setup() {
Wire.setPins(i2c_sda, i2c_scl);
//Wire.begin(i2c_sda, i2c_scl);

if (!dev.begin(true)) {
Serial.println(“No I2C device found…”);
if (!lis.begin(0x19)) {
Serial.println(“LIS3DH not found…”);

void loop() {

Is this a known bug as it looks like (which currently only got fixed within esp-idf)?

Please ask that the maintainers auf Arduino-ESP32. I can only say that from the PlatformIO side, if you’re using the latest version of platform-espressif32, you get the Arduino-ESP32 2.0.6 release. Which is not the latest 2.0.7 that came out a week ago. So you might also find your answer by using the Arduino IDE + Arduino-ESP32 2.0.7 to check if the code still fails.