Shop OBEX P1 Docs P2 Docs Learn Events
About HMC5883L's default value — Parallax Forums

About HMC5883L's default value

caskazcaskaz Posts: 957
edited 2013-08-18 20:11 in Accessories
Hi.

I have question about HMC5883L's default values.

I read all registers;
ConfigurationA 0x10 default:0xF0
ConfigurationB 0x20 default:0x20
Mode 0x03 default:0x81
DataX MSB 0xFF default:0x00
DataX LSB 0xA8 default:0x00
DataZ MSB 0xFE default:0x00
DataZ LSB 0xC3 default:0x00
DataY MSB 0x01 default:0x00
DataY LSB 0x19 default:0x00
Status 0x03   default:0x00
RegisterA 0x48 default:0x48
RegisterB 0x34 default:0x34
RegisterC 0x33 default:0x33

Its value are different from manual's default value except for ConfigurationB/RegisterA/RegisterB/RegisterC.

This is abnormal?
How does your chip?

When [ConfigurationA =0xF0 Mode=0x80], it seems data is measured.
Sign In or Register to comment.