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.

TDA4VM: CSI Data Lanes Swap

Part Number: TDA4VM

Hello,

We are currently using TDA4VM processor and would like to swap the data lanes arriving from the camera. 

1- Is it possible to do so? (For example, by changing iss_sensor.c's variable named: dataLanesMap?)

2- Suppose our camera Lane 1 is routed to TDA4VM's Lane 3, should our dataLanesMap variable be: {3, 2, 1, 4}?

3- Is there anything else we should do?

Best regards,

  • Hi David,

    Do you mean to map the data lanes differently? Yes, this is supported, but not verified, you could use DataLanesMap variable to map lane differently. 

    Regards,

    Brijesh

  • Hi Brijesh,

    in the TDA4 TRM (SPRUIL1B - DEC2020) there is a register named  CSI_RX_IF_VBUS2APB_STATIC_CFG (page 16530) with some fields that seems used for that purpose. 

    The fields are named DL0_MAP, DL1_MAP, DL2_MAP and DL3_MAP.

    What are the possible values of these fields?

    They can configure the physical pin connected to a particular data lane?

    Best Regards.

  • Hi ,

    Yes, but i would recommend using driver interface to change the lane ordering, instead of directly updating these register. PDK driver/OpenVX node provides the way to change lane order, in the variable array instCfg.dataLanesMap, you could provide the position of the lane0 (instCfg.dataLanesMap[0]), position of the lane1 (instCfg.dataLanesMap[1]) and so on..

    Regards,

    Brijesh