Closed purohitprachi72 closed 6 months ago
Just for my interest: could you solve the issue?
Hello! The problem was with the MPU9250 module itself, which was not working correctly. Once I replaced it with a new one, the wake-on-motion interrupt started working fine.
Regarding the "MPU9250 does not respond" message, it still appears initially, but the readings are correctly obtained afterward. I'm not entirely sure why this happens, but it doesn't seem to affect the functionality once the initial message is bypassed.
Thanks for following up!
Hi, if you get "MPU9250 does not respond" although you get measured values it is an indication that you have an MPU6500 instead of a MPU9250. The init procedure checks whether the value of the "Who am I" register matches the value for an MPU9250. If you have an MPU6500 the missing magnetometer is the only difference. You can check what you have with the "Who am I" sketch. All the best for your project!
Hi, the sensor has the labeling of MPU9250/6500, so that must be the case. However, I'm still able to get magnetometer readings with this sensor. Thank you so much for the wishes. Kind regards!
Hello, I tried running the wom interrupt example code but i'm not getting the expected output. The loop is printing the readings correctly but whenever there is a motion the "Interrupt type: motion" is not detected for some reason. The if loop is not being executed, i think.
Also, I'm trying the low-pwr accel mode which will start taking readings when an interrupt is generated...board used is xiao nrf52840 by seeed studio
o/p: MPU9250 does not respond Position your MPU9250 flat and don't move it - calibrating... Done! Turn your MPU9250 and see what happens...