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.

I2c timeout error on OMAP-L1XX

Dear Sir/Madam ,

   I'm trying to interface a I2C based CMOS camera to OMAPL1xx.

I'm using the following settings

I2C Serial Clock 400Khz

I2C Slave address is 7 bit mode

I'm experiencing a time out error, when I try to write or read from the device.

  On the same I2C line , I could work with other sensorsbut they worked for 3 minutes or less only and not continuously with the same settings as mentioned for I2C based camera.

Thanks

Vaishak

  • Hi Vaishak,

    Welcome to the TI E2E forum. I hope you will find many good answers here and in the TI.com documents and in the TI Wiki Pages. Be sure to search those for helpful information and to browse for the questions others may have asked on similar topics.

    Please help us answering the following questions to help you.

    1. Which processor you use? is it a custom board or a TI EVM/LCDK Hardware board.Please specify.

    2. Whether the I2C driver is on the DSP side or the ARM side. In otherwords, Is it a linux I2c driver? Is the driver released by TI? or your own? Please mention the version of the TI software package (which includes the I2C driver) if applicable.

    3. Specify the camera details like brand, type e.t.c.,

    Regards,

    Shankari

  • Hi,

    1. I'm using Logic PD EVM hardware board

    2. I'm used DSP for the first trial and ARM side for the second.

    3. I'm not using linux, but only used basic board support libraries provided by Logic PD and Staterware as well

    4.  Omnivision cmos OV26xx series

    Thanks

    Vaishak

  • Hi Sir/Madam,

        Is there any means of accessing the register ICXSR and ICRSR in OMAP-L1XX.

  • Hi Vaishak,

    As per sections, 23.3.8 I2C Data Transmit Register (ICDXR) and 23.3.6 I2C Data Receive Register (ICDRR)

    of OMAP-L138 DSP+ARM ProcessorTechnical Reference Manual, The CPU and the EDMA controller cannot access ICXSR and ICRSR.

    The CPU/EDMA controller can read/write the data into I2C Data Transmit Register (ICDXR) which is copied into ICXSR and the CPU/EDMA controller can read only the data from ICDRR which was copied from ICRSR.

     

    Regards,

    Shankari

     

    -------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question.
    --------------------------------------------------------------------------------------------------------