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.

ADS1015: I2C data sometimes becomes garbled

Guru 10090 points
Part Number: ADS1015

Tool/software:

Hi,

ADS1015 I2C data sometimes becomes garbled. The lowest 4 bits of the conversion register should be 0.

However, when the register value is read, it sometimes becomes a value other than 0.

The minimum SCL frequency for I2C is 0.01MHz (10kHz), but my current system is running at 1kHz. Could this be causing timeout problems or similar? I'd appreciate any comments.

Thanks,

Conor

  • Hi Conor,

    Yes, 1kHz is too slow for the SCL clock frequency.

    From the data sheet:

    Some other I2C timing requirements may be violated as well by using such a slow SCL clock speed, which is why probably why data sometimes becomes garbled.

    I would recommend simply increasing the I2C SCL clock frequency to be within the values stated in the data sheet. 

    It's also always a good idea to probe your digital communication lines with a logic analyzer or an oscilloscope to ensure that the communication looks good.

    Best Regards,

    Angel