I have an issue of reading MPU9250 Compass data.
Host CPU is DM368. The interface is SPI.
The device can work smoothly at the beginning. After a while, the compass data did not change anymore sometimes.
The register54(I2C Master Status) output is 0x1. That means slave 0 receives a nack(Using Slave0 to access Compass).
If happened, the issue could not be fixed by reset the MPU9250. It need to cut down the power of MPU9250 to fix it.
The issue happened on our several devices.
I don't know how to debug it, can someone give me any advice?
Thanks