I recently bought an MPU9250 sensor, but I’m facing an issue where the magnetometer is not working. The accelerometer and gyroscope are working fine, but I’m unable to get any data from the magnetometer. Has anyone faced this issue or can suggest possible reasons?
Sounds like a defective board.
Is it being it detected over i2c? If not:
Was it purchased from us? If so head over to Return Policy - SparkFun Electronics (contact vendor if purchased elsewhere) and we’ll get ya squared away
Is this also your post?
If so, perhaps you are not aware that the accel/gyro and the magnetometer inside the MPU-9250 IC package are separate devices. Post the code and the output, using code tags.