mag3110 temperature readin

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

mag3110 temperature readin

跳至解决方案
2,113 次查看
muratakpinar
Contributor I

     Hi ,

Im using mag3110 .Im readin die_temp register succesfully .But when Im heating sensor up , the "continously reading data " is not updating .When I switch off sensor -shut down- and run it again then it is updating ?

How can I update it while it is running?

Thanks

标签 (1)
标记 (2)
0 项奖励
回复
1 解答
1,597 次查看
Joshevelle
Senior Contributor I

Hello Murat,

As per your description it looks like the sensor is in “STANDBY” mode. Please take a look at note #2 in page 13 of the datasheet:

http://cache.freescale.com/files/sensors/doc/data_sheet/MAG3110.pdf

"Register contents are preserved when transitioning from “ACTIVE” to “STANDBY” mode."

Please make sure that the sensor is in "ACTIVE" mode otherwise you'd be always reading the same value.

Once you have a valid value in the temperature register, remember that the die temperature sensor is not factory trimmed (as stated by the datasheet). This should be included in the errata soon. You can get around this by trimming the output by software.

Hope it helps =)

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,598 次查看
Joshevelle
Senior Contributor I

Hello Murat,

As per your description it looks like the sensor is in “STANDBY” mode. Please take a look at note #2 in page 13 of the datasheet:

http://cache.freescale.com/files/sensors/doc/data_sheet/MAG3110.pdf

"Register contents are preserved when transitioning from “ACTIVE” to “STANDBY” mode."

Please make sure that the sensor is in "ACTIVE" mode otherwise you'd be always reading the same value.

Once you have a valid value in the temperature register, remember that the die temperature sensor is not factory trimmed (as stated by the datasheet). This should be included in the errata soon. You can get around this by trimming the output by software.

Hope it helps =)

0 项奖励
回复