ADS7138-Q1: Not able to read ADC data

Part Number: ADS7138-Q1
Other Parts Discussed in Thread: AM623, , SYSCONFIG

Tool/software:

Hi 

I have interfaced the ADS7138-Q1 with AM623 R5 core.

But while doing the ADC_Read, The I2C_Transfer API is getting blocked and control is not reaching past this API.

Sysconfig details:


Code:




Output on UART console:

I did not do any initialization as manual mode and pin_cfg is analog by default as per datasheet.

At Init I just check the I2C_probe API  and it  return Success.

Kindly check the details above and let me know if made any mistake

Regards

Mayank

  • Hi TI Team , Can you look into the thread?

    Regards

    Mayank

  • Hi Mayank,

    I was out of office, so thank you for being patient. 

    Let me know if I am correct in that the I2C transfers are not being sent at all from the AM623. If that is the case, I can connect you to the appropriate team for the SoC.

    If you are able to send and receive I2C data, can you share a logic capture of the I2C transactions?

    Regards,
    Joel

  • Hi Joel,

    Thanks for the reply.

    After changing the bit rate from 1MHz to 400KHz in sysconfig. The I2C_Transfer API is no more blocking  and I am able to read the ADC values.
    Although it is strange that the Transfer is not happening on 1Mhz properly as the datasheet mention that it support this clock frequency.

    Regards

    Mayank