ICM20498 Required Power Reset?

Hello SparkFun Team,

I have used ICM-20498 with my application but some time my magnetometer data i got zero and this is some specific case in happen like, When i power on my sensor at a moment some time data didn’t come i have notice this scenario happen with me multiple times so when i am fail to read actual data ( but still i got zero in magnetometer) i am retry to initialize my magnetometer.

Detail Explain:

First Power on my ICM20498 and initialize then try to read Magnetometer, Gyro and Accelerate so i got data on Gyro and Accelerate. Magnetometer Register able to read but X, Y and Z co-ordinate value is zero so Magnetometer is not okay not when this scenario happen i try to reinitialize my Magnetometer and still i am fail to read so i do hard reset throw my Controller ( I have ESP32 ) still i am fail to read Magnetometer.

Somewhere in forum i have read when this kind of the problem happen we need to do power reset, this is right?

Without power reset is there any way to do this?

Thanks & Regards,

Fenil

It sounds like you may be powering the sensor differently than the MCU. Please post a schematic diagram of the wiring, with all pins and connections clearly labeled.

If I/O pins are connected between powered and unpowered devices, an MCU or a sensor will likely malfunction and can even be destroyed . Put unused devices to sleep, instead of trying to power them down.