I2C interfacing MAX44009 with ADuC7122

Hi

I'm trying to interface MAX44009 with ADuC7122 using I2C protocol. I'm attaching the project code used for reading data from sensor but it is not working.Kindly let me know what need to be done to do single read  as well as burst read. Also i would like to know what need to be done if i need to write and read one after the other. I have attached the screen-shots of waveform observed at the output of Aduc7122 pin.

attachments.zip
Parents
  • Hi,

    The output of the ADuC7122 looks correct for a single read based on the data that you're requested to be issued.  0x96 followed by 0x03.  I'd a quick look at the MAX44009 D/S sheet as well.  There is a reference to a configuration register.  I believe this should precede the read command.  Best look at the example code for interfacing with the MAX44009 on the product website. 

    Regards,

    Michael

Reply
  • Hi,

    The output of the ADuC7122 looks correct for a single read based on the data that you're requested to be issued.  0x96 followed by 0x03.  I'd a quick look at the MAX44009 D/S sheet as well.  There is a reference to a configuration register.  I believe this should precede the read command.  Best look at the example code for interfacing with the MAX44009 on the product website. 

    Regards,

    Michael

Children
No Data