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.

TDA2PXEVM: LVDS camera configuration

Part Number: TDA2PXEVM

Hi there,

I am working on TDA2PX custom board which has LVDS input camera and LVDS out. 

I want to configure this camera and test if it is working fine. which use case should I use and how to configure the camera?

Please note I have ISX019 sensor and Ser/Des pair MAX96705/MAX96706

  • Hi,

    Well, you could use capture and display usecase, but since this is new LVDS input and output, this would require changes. You would have to add/configure LVDS input/output modules in the usecase. Then you could configure VIP and DSS from the usecase.

    Regards,

    Brijesh

  • Hi,

    Thanks for your reply. As per your suggestion I will be referring to vip_single_cam_frame_copy use-case 

    Though I need further help to add/configure LVDS in the use-case. I have registers file with me for serializer and deserializer. How / where do I use this?

    Also for sensor, settings will be automatically loaded after power up, so my understanding is I don't have to do anything for that. Am I right?

  • Hi,

    You could do serializer and deserializer configuration from the usecase itself. Just before starting the usecase, you could add an APi in usecease to configure these modules. PDK driver provide i2c utility APIs, using which you could configure these modules.

    Regards,

    Brijesh

  • Hi,

    Please tell me where these APIs are also is there any reference document on how to use these

  • Hi,

    You could refer to Bsp_deviceRead8/Bsp_deviceWrite8 API for 8bit data read/write operation. Similar APIs are available for 16bit data/address.

    Regards,

    Brijesh

  • Hi,

    Sorry for delayed reply. Please tell me how to use these APIs. Is there any documentation available ?

  • Hi P B1,

    Please refer to PDK user guide. or any existing reference implementation in PDK. These APIs are pretty straight forward. 

    Regards,

    Brijesh

  • I am getting this error

    94.021472 s:  i2cMdSubmitChan: i2c transfer Timeout IRQ not receivd
    [IPU1-0]     94.022875 s: src/bsp_deviceI2c.c @ Line 580:                       
    [IPU1-0]     94.022967 s:  I2C4: DEV 0x90: WR 0x3f = 0x4f ... ERROR !!!         
    [IPU1-0]     94.023089 s: src/bsp_deviceI2c.c @ Line 602:                       
    [IPU1-0]     94.023180 s:  I2C4: Error timeout 5001 ms!!!                       

  • Hi,

    Which I2C Instance are you using? Could you please check if it is allocated to IPU and initialized in PDK drivers? 

    You could refer to the file ti_components\drivers\pdk_\packages\ti\drv\vps\src\boards\src\bsp_boardTda2xx.c to understand if the I2C instance is allocated and configured for this IPU.

    Regards,

    Brijesh