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.

  • TI Thinks Resolved

TDA2P-ACD: Capture and Display 6 Sensors simultaneously (two CSI2 Ports)

Intellectual 870 points

Replies: 27

Views: 2063

Part Number: TDA2P-ACD

Hello Experts,

I found the following thread and was wondering if the functionality to run more than 4 sensors at the same time has been added to the PSDK since then.

e2e.ti.com/.../703535

Currently I try to run and display six sensors (IMX390) simultaneously on the TDA2Px + Fusion Board. Four sensors are connected to CSI2-PHY1 and two to CSI2-PHY2. Unfortunately the PSDK crashes when it reaches the function IssM2mIspLink_drvAllocFrames(). So I just want to make sure if it is possible at all to run these six sensors at the same time.

Regards,

Tobias

  • Hi Tobias,

    We dont have usecase demonstrating 6 channel capture.
    But we have added additional driver, which can help in processing more than 4 channels.
    We plan to add this feature in the upcoming release.

    Regards,
    Brijesh
  • In reply to Brijesh Jadav:

    Hi Brijesh,

    is it possible to get these drivers before the next release?

    And could please you tell me, what changes you had to make to get this working? I guess they were pretty complicated, right? I'm asking because I found some defines like ISSM2MISP_LINK_MAX_CH or ISS_SENSORS_MAX_CHANNEL and was wondering if those are related to those changes.

    Regards,
    Tobias
  • In reply to Tobias Schulze:

    Hi Tobias,

    Drivers are already part of the 3.5 release. But there is no usecase demonstrating use of it.
    No it isn't just increasing the number of channels/handles. there are other changes required.

    Btw, why do you require more than 4 channels? What is the usecase? can you please provide some details?

    Rgds,
    Brijesh
  • In reply to Brijesh Jadav:

    Hi Brijesh,

    Oh, I see. I will take a look at the PSDK 3.5 then. Do the drivers handle this automatically or do I have to activate them somehow?

    A customer of ours wants a test system for sensors. Essentially they want to run as many of their selfmade sensors at the same time and check them under different environments (temperature, humidity etc.). We thought six sensors would be the optimal amount because of the six CSI2 data lanes we can use on PHY1 and PHY2.

    Regards,
    Tobias
  • In reply to Tobias Schulze:

    Hi Tobias,

    Drivers does not handle it automatically, we need to pass additional channels (the ones which are more than 4) through one more memory to memory pass. 

    Rgds,

    Brijesh

  • In reply to Brijesh Jadav:

    Hey Brijesh,

    could you explain this a little more? Where do we have to set the channel passing? In ISP link init?
    Do we also have to adjust some defines (ISS_SENSORS_MAX_CHANNEL etc) then? Otherwise the PSDK would throw a assertion during sensor creation.

    Just to be clear: The last two channels are then processed by another device?
    Thanks for your help!

    Regards,
    Tobias

  • In reply to Tobias Schulze:

    Hi Tobias,

    Not by another device, but by other module.
    Essentially, Capture can convert only 4 channels from MIPI format to Linear format, so for the rest 2 channels, we need to use another module to convert from MIPI format to linear format.

    Regards,
    Brijesh
  • In reply to Brijesh Jadav:

    Hi Brijesh,

    Ok, I understand that. But where exactly in the source code do we need to insert the changes to process the remaining two channels?
    You said, you iadjusted the driver for that, so the needed functions should be there already?

    Regards,
    Tobias
  • In reply to Tobias Schulze:

    Hi Tobias,

    Driver is not adjusted, it is new driver that has been added. But still it is not supported in VSDK.

    Rgds,
    Brijesh
  • In reply to Brijesh Jadav:

    Hi Brijesh,

    thats unfortunate. Do you know where you have to enable/setup the new driver yet? Because earlier I managed to run a usecase where 2 sensors each ran on both PHYs. I was wondering if we could use that usecase and somehow expand it so that it uses the 6 sensors in total.

    Also do you plan to add a dedicated 4+CH usecase for the next PSDK release?

    Regards,
    Tobias

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.