This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DRV8830: DRV8830 I2C reference code

Part Number: DRV8830

Hi Team,

customer is evaluating DRV8830 device and they are asked if we have I2C reference code and the GUI software to verify the I2C control function? Please advise. Thanks.

Regards,

Arthur

  • Hi Arthur,

    There is no reference code or GUI. Most mcus have I2C code available. For example a search for "MSP430 I2C sample code" produced the following processors.wiki.ti.com/.../MSP430_I2C
  • We use DRV8830 in IP-Cam design, but have some I2C problem.

    We use the hardware setting of A1=1 and A0=0, and try to write the address of 0xCC. But I can’t get any response from the slave device. So I keep the same hardware setting, and try another address, 0xC0,0xC2…0xD0. I can find the 0xC0 have response, and can control the device. I don’t know why the 0xC0 have response?

    I would like to know you have reference source code or GUI to share. It would be good to check the problems. Thanks.

     

    Gary

     

  • Hi Gary,

    As previously mentioned, there is no GUI or reference code.

    There are a few items to try.
    First, make sure the A1 and A0 are set prior to power up. The address is latched on power up.
    If A1 and A0 are set prior to power up, check for voltage drops on VCC. If the voltage drops too low, this can possible reset the address and cause the device to stop responding.
    If neither of these appear to be a problem, please provide scope captures of the communication.