CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

Honeywell HMC5843 via I2C to PIC4550

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
trauma



Joined: 27 Nov 2008
Posts: 2

View user's profile Send private message

Honeywell HMC5843 via I2C to PIC4550
PostPosted: Tue Apr 28, 2009 11:35 am     Reply with quote

Hi,

we got problems connecting the HMC5843 Magnetometer to the PIC.
It seems to have data ready (Testpoint Pin19 is high), but it does not acknowledge the i2c_write(0x3D).

The only reason I can think of, is that the HMC5843 does not handle the 3.3V on the i2c lines, which is not clear from the datasheets.

One weird behavior is that the PIC pulls up the lines by itself (apparently no pull-up resistors needed for SCL and SDA).



Any ideas?
Thanks,
Ulf
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Tue Apr 28, 2009 10:07 pm     Reply with quote

You need to post your driver routines and a test program.

See the following post for an example of a test program for an
HMC compass product.
http://www.ccsinfo.com/forum/viewtopic.php?t=35914

Your posted code should be about the same length, and in the
same style. It should be compilable without errors.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group