Hi,
First time posting to this forum and hopefully some folks including Jeff are still reading this. I wrote an app for the Nodemcu esp8266 using the MPU6050 and the i2cdevlib libraries and it works great. I thought I would port to the ESP32 since it has more pins available. Got the code compiled and running but having some issues with the interrupt reset. I have set the ODR to 200Hz so expect ~5ms interrupts. With the code I have based on Jeff's mpu6050_dmp example, I wasn't getting that. I honed the problem down to the following. After the initial interrupt occurs at 5ms, the interrupts are cleared using the mpu.getIntStatus() method. On the esp8266 this works well. However on the esp32, the bits are not cleared but are set to all 1's,. ie. the status returned form this method is integer value 255. This cause the code I have not to work.
So finally the question, has anybody got the mpu6050 library to work with esp32 platform yet? if not, any idea why the i2cdev library is returning this value?
The sketch I have is attached. along with the output showing the int status value returned.
Cheers
Iain
esp32output.txt
testmpu6050esp32.ino