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.

Linux/TLA2024: TLA2024 : not detecting through I2C(NACK)

Part Number: TLA2024

Tool/software: Linux

HIi team,

The TLA2024  I2C is trying to detect or reading the value from the TLA2024 but its not detecting and I tried in uboot level using i2c commands if i gave i2c probe it is not showing the the address of the ADC.

and i tried in kerne level also we are getting the NACK. and we probe with CRO wr are getting the SCK 9th clock pluse is high(NACK).

Note: TLA2024 address pin is connected to GND pin.

I tied some i2c commands in the uboot level as below:

i2c probe
Valid chip addresses:

i2c probe 0x48 
Valid chip addresses:

i2c md 0x48 0x27 1
Error reading the chip.

and i tried in kernel level also 

i2cdetect -y -r 0
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- UU -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --

if i removed the TLA2024 kernel program 

i2cdetect -y -r 0
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --

here it not showing the null instead of 48th address.

can you please suggested if i did wrong?

 

  • Ujjapralli,


    I'm not sure we're able to help with debugging Linux issues, but we can at least check the I2C communication with the device. With the ADDR pin grounded, the device should respond to 1001 000 slave address. Can you check to see if this is what is being written to the device. You will need an oscilloscope or a logic analyzer to see if the SDA and SCL lines are properly sending the correct address to the device. You should also check to see that the timing for the device fits the requirements as shown on page 6 of the datasheet.

    Once you are able to capture the SDA and SCL lines going to the ADC, please get a scope shot and post it back to this thread.


    Joseph Wu

  • Ujjapralli,

    Have you been able to debug your problems with the I2C communications? As I mentioned previously, I may not be able to help with the Linux problems, but I may be able to help debug the communications, if you can look at the I2C signals on a scope or logic analyzer.

    I'll close this post for now, but if you haven't figured out the communication, or need further assistance, post back and we can discuss this again.

    Joseph Wu