PDA

View Full Version : Help! HMC6253 compass MSP430 interface


Tom Harper
Feb 26, 2008, 05:53 PM
I have a TI MSP430f169 that I am interfacing with a HMC6253 compass. The I2C seems to work because I get 'Acknowledge' bits to the commands. But, the data line stays high (open) when I should be clocking out data bits.

The command sequence is:

Cmnd1: 042h 00h ; Standby mode

Loop: (8ms delay)

Read: 043h,-------,--------

Cmnd2: 042h 041h ; 'A' command

Go to Loop

Clock rate is 30 KHz

Any suggestions?