Post Go back to editing

AD7405-1 no ack on second Byte..

Hi All,

 

I'm using a AD7415-1 (I2C interface) and the timing it at 5usec or 200KHz clock.

After power up (aprox 1second) I'm not able to setup the AD7415-1 correctly.

 

Following the datasheet information I'm starting by seting up the Configuration Register using the message type shown on Figure11 of the datasheet.

 

I first Write the Serial Bus Address Byte(0xFA), followed by the Address Pointer Register (0x00) followed by the Cofiguration Register Address (0x42).

Is the above setting correct? especially the second byte..

 

The AD7415-1 acknoledges only the first byte (0xFA) but NOT the second one (0x00)..

 

Assuming the order 0xFA,0x00,0x42 is correct.. Am I missing something fundamental..?

 

Any help would be much appreciated.

 

Thanks

 

Leoad

  • Hi Leoad,

    For every write operation, after the device address byte, the register address pointer needs to be loaded into the device. This address pointer register represents the address of the register you want to read or write data. If you use the 0x00 value for the address pointer, the temperature register will be selected which is a read only register. To configure the device, please use the 0x01 value for the register pointer followed by the value you want to write to it. In this case, the sequence would be 0xFA, 0x01, 0x42.

    Regards,

    FEB

  • Hi FEB,

    Many thanks for the reply, yes you are wright..0xFA, 0x01, 0x42 are the correct values.

    P1=0 and P0=0 is for the Temperature Value Register (Read Only) and

    P1=0 and P0=1 is for the Configuration Register (read/Write)

    I mistyped it as I was trying the other configurations, but none of them seemed to work either.  For some reason only the fisrt byte is acknoledged.  I've attached a screenshot of the first 2 bytes.

    I've ordered another part to try but it'll be a while until I get chance to spend time on it unless its a quick fix.

    Many thanks

    Leoan

  • Hi Lead,

    Would it be possible to describe what are you trying to do with the sensor and the exact I2C transactions performed since power up, or at least the two transactions preceding the writing operation to the configuration register. This will help me have a better understanding of your problem.

    Regards,

    FEB

  • This question has been assumed as answered either offline via email or with a multi-part answer. This question has now been closed out. If you have an inquiry related to this topic please post a new question in the applicable product forum.

    Thank you,
    EZ Admin