This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

ICM20948 magnetometer issue

Hi,

I am develloping product witch ICM20948 and need to use magnetometer. I tried to move some existing and working code for arduino. I was able to get data from magnetometer. But next day when i tried the same thing, magnetometer wasnt responding. Just sometimes it ran for a while. In datasheet I founded that reseting i2c master is possible, but after this reset it was working 50/50. Sometimes yes, sometimes not. Now it isnt working at all. I know that it has not much in common with Nordic but I completely ran out of ideas. Please, could someone help me? I thing the problem is in the i2c master, but now also resseting it doesnt work. I could try post this issue to Stackoverflow, but they immediatelly mark this question as non related to programming, so I am asking you. 

Regards

Parents Reply
  • That inertial i2c master connection magnetometr --- i2c master (in icm20948 there is a module which offers to connect more external sensors and read their data form icm's registers) is not correct, because I am not able to read valuable data from it. From magnetometers registers I am reading from icm's external slave 0 registers I am always getting 0 for all of them.

Children
Related