MAG3110 can't be calibrated

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

MAG3110 can't be calibrated

跳至解决方案
1,915 次查看
zhangjive
Contributor I

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!

标签 (1)
0 项奖励
回复
1 解答
1,202 次查看
michaelestanley
NXP Employee
NXP Employee

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

在原帖中查看解决方案

0 项奖励
回复
5 回复数
1,202 次查看
michaelestanley
NXP Employee
NXP Employee

Have you reviewed the fix in this posting? https://community.nxp.com/ideas/1675

0 项奖励
回复
1,202 次查看
zhangjive
Contributor I

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?

0 项奖励
回复
1,203 次查看
michaelestanley
NXP Employee
NXP Employee

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

0 项奖励
回复
1,202 次查看
zhangjive
Contributor I

I redesign the PCB, and the problem has been solved. Thanks a lot!

0 项奖励
回复
1,202 次查看
michaelestanley
NXP Employee
NXP Employee

Glad to hear you are progressing.

Regards,

Mike

0 项奖励
回复