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.

814x I2C1 lines not working with TVP5158

Other Parts Discussed in Thread: TVP5158

I am facing issue with interfacing TVP5158 IC of TI with DM814x Centaurous  processor. I am interfacing it on i2C[1]_SCL(AF24)/ I2C[1]_SDA(AG24) lines of DM814x processor. I am not able to connect TVP5158 IC with DM814x processor. I am getting following error on console.

OMAP_I2C3; controller timed out

I have removed the TVP5158 from my board. I am still getting the same error and get following error. Now there is not any device on I2C1 lines of processor. Is this issue of the DM814x processor itself. Is there anything specific required to do for interfacing on DM814x processor I2C1 lines?

OMAP_I2C3; controller timed out

Can any one help me to solve this error? I kindly request if any one knows the reason for I2C lines not working.

My Circuit is as attached in below images.

  • Hello,

    Are you on EZSDK? If yes, what version?

    We can first check your pinmux. What is the value of your PINCNTL78 and PINCNTL79 register? It looks strange to me that you are interfacing external IC on I2C1, and the error reported is for I2C3!

    Regards,

    Pavel



  • Dear Pavel,

    Thanks for your reply.

    We are not on EXSDK. We are using DVR RDK. I have checked the values of PINCNTL78 and PINCNTL79 registers in our case.

    It is 0x000E 0001 for both the registers and it is for I2C configuration. We have removed all the devices on our board and connected them on I2C[0] lines and they are working.

    I have also added pull down register on I2C[1] line and voltage is dividing in our case. So I have little doubt about the hardware.

    Our firmware is considering the I2C[0] line as I2C1 and I2C[1] line as I2C3. So is the error

    OMAP_I2C3; controller timed out for I2C[1] interface for DM814x processor.

    Can you help me out for the case. I am not getting any activity at all on I2C[1] line of processor. I have also verified our layout and getting continuety from processor to our Device on I2C[1] lines.

    Thanks,

    Sunil Patel.

  • I do not have view on RDK, I am working on EZSDK, but I will try to give you some hints.

    You can check whether you can access (read/write) the I2C1 registers. If not, you should turn on the I2C1 clock from the PRCM registers.

    Other thing is to check if the Media Controller (M3 firmware is using the I2C1), and thus the TVP can not use it. Check these threads:

    http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/717/p/156452/623429.aspx

    http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/717/t/195023.aspx

    http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/717/t/194420.aspx

    Regards,

    Pavel

  • I agree with Pavel, it's very likely that your M3 is configured to use that i2c bus as well.

    You can check that pretty quickly by reading registers 0x48140934, 0x48140938  after your M3 firmware is loaded.