@dda Thanks, I had tried 34 in the other Library and it wouldn’t work. But when I inserted the writeByte lines just as you showed, it worked. But i’m still having issues running my IMU via interrupt vs just times (like a fixed 1KHz). The timed approach always works, but the interrupt approach will crash sometimes or lock up. So something still seems off with the m5stack and the MPU9250. Also the magnetometer doesn’t seem to function properly on the m5stack for me, even after the battery pack with magnets is removed.
Posts made by dkelly
RE: Mpu9250 interrupt pin
M5Stack Gray Magnetometer Fails To Calibrate
The M5Stack magnetometer fails to calibrate. It appears to me that there's just too much metal around it to calibrate. I removed the battery plug base, but that didn't seem to help. I don't have this issue with other MPU9250 boards, so am concluding it's the metal surrounding the MPU9250 on the Gray. So basically it appears that the M5Stack magnetometer is unable to be used in its current design. If others have had any success calibrating it or using it, please advise, otherwise my assumption is that it's not useable in the M5Stack Gray. (reposted from Products section).
Mpu9250 interrupt pin
What pin of the esp32 is the mpu9250 interrupt pin connected to? I’m using a different mpu9250 library and want to leverage interrupts.
Is there a m5stack gray pinout diagram somewhere? I only see a pinout for the core unit, and the mpu9250 is not shown on it.
M5Stack Gray Magnetometer Won't Calibrate
I'm not able to get the M5Stack magnetometer to calibrate. It appears to me that there's just too much metal around it to get a good calibration. I removed the battery plug base, but that didn't seem to help. I don't have this issue with other MPU9250 boards, so am concluding it's the metal surrounding the MPU9250 on the Gray. Anyone else having this issue?