Hi, I'm using the sensor fusion library 7.0 with FRDM-KL25, but the MAG3110 can't be calibrated. And besides, I tested my mag3110 module with sensor fusion library v5.0, it works well.
In order to make the mag3110 works well, is there any parameter need to be modifid? My code is attached below.
Thanks a lot!
已解决! 转到解答。
The question is why is the field strength so high? Is the board of your own design, or an NXP board? If the former, I suggest you review my posting on magnetometer placement (http://blog.nxp.com/sensors/magnetometer-placement-where-and-why?fsrch=1&sr=1&pageNum=1) to see if you've inadvertently introduced hard/soft iron interference sources near your sensor. Do you have another board that can be used to independently measure the field strength for comparison purposes? And did you check the other posting I refered you to? You should definitely make that code change if you are having problems.
Mike
Have you reviewed the fix in this posting? https://community.nxp.com/ideas/1675
Hi, Mike. I found that the ftrB value (ftrB > 300) is larger than MAXBFITUT in my board , so the MAG3110 can't be calibrated.
If the ftrB value is too large, is there any method to fix this with sensor fusion library v7.0, or should I design a new MAG3110 module?
The question is why is the field strength so high? Is the board of your own design, or an NXP board? If the former, I suggest you review my posting on magnetometer placement (http://blog.nxp.com/sensors/magnetometer-placement-where-and-why?fsrch=1&sr=1&pageNum=1) to see if you've inadvertently introduced hard/soft iron interference sources near your sensor. Do you have another board that can be used to independently measure the field strength for comparison purposes? And did you check the other posting I refered you to? You should definitely make that code change if you are having problems.
Mike