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.

RTOS/TDA3MV: Connect two different sensors using TDA3 + ub964

Part Number: TDA3MV

Tool/software: TI-RTOS

Hi,

From the question: https://e2e.ti.com/support/arm/automotive_processors/f/1021/t/686059

We have successfully turned on the color and monochrome sensors at same usecase on SDK v3.03 now.

We using ISP mode "ISSM2MISP_LINK_OPMODE_1PASS_WDR" for color sensor and "ISSM2MISP_LINK_OPMODE_12BIT_MONOCHROME" for monochrome sensor.

Could you let us know how to merge codes and turn on two sensors at same time ?

Thank you.

Mars

  • Hi Mars,

    What is the sensor input interface that you are using? Are they being captured over CSI interface?
    Since the processing is different for both the channels, you need to create two paths in the usecase, one for each channel. You could select appropriate channels using select link.
    Since both of these paths use same isp link, it might require some changes in isp link for context save/restore.

    Regards,
    Brijesh
  • Hi Brijesh,

    The input interfaces of both sensors are CSI interface through ub964.
    The data format of sensor as below ,

    For color sensor (with ub913A):
    Single exposure HDR 12bit compressed combined RAW (B Gb Gr R),
    1280x960, 30fps, Pixel clock = 72MHz

    For monochrome sensor (with ub913A) :
    12bit RAW , 1280x720, 60fps, Pixel clock = 72MHz

    From the previous question, Sujith said you can help to merge these usecases (sub-chains) with single capture link and select link to feed required sensor output to sub-chains.

    Could you help it ?
    Thanks a lot.

    Mars
  • Hi Mars,

    Your usecase will something like this

    IssCapture -> Dup0 -> Select0 -> ISP ->
    Dup0 -> Select1 -> ISP ->

    For Select0, you could select channel on which you want to run 1pass WDR and for select1, you could select the other channel.

    Please current ISP link does not do any context save/restore, so it requires some changes to interleave processing for 1pass wdr and for monochrome mode.

    Regads,
    Brijesh
  • Hi Brijesh,

    Is there any example codes for this ?

    Thanks,
    Mars
  • Hi Mars,

    We used to have an similar example for monochrome sensor before 3.0 release. But we no longer have in 3.x release.. You could probably refer to 2.12 release.  This example captures from AR0132 monochrome sensor and processes it in the ISP. It also does some dup and select..

    Rgds,

    Brijesh

  • Hi Brijesh,

    We have already turned on the monochrome sensor and processes it in the ISP.
    Is there any other example codes for merging two different sensors ?

    Thank you.
    Mars
  • Hi Mars,

    Unfortunately, we dont an example showing processing for two different sensors in a single usecase..

    Rgds,
    Brijesh