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: Add sensor driver but failed to output image

Part Number: TDA4VM

Hi TI experts, 

On TDA4 sdk7.03, I have added a new sensor driver (ov2312) by following the reference 8.12. Adding new image sensor to PSDK RTOS — Processor SDK RTOS J721E (ti.com)

Before adding this dirver, I have successfully added drivers of ov3C10 and ov8B40. But this time, I failed to bring up the sensor by taking the same methods to add the driver of ov2312. 

I have some questions about adding a sensor driver:

1) Is it supported to set resolution to 1600x1300? 

2) Does the xml files generated by default_DCC_profile_gen tool support all different sensors?

3) How to bypass VISS in code? This may help to do some debug. 

4) Attached is the log file, no errors occured, could you please help to analyze the cause of the failure?

 log-1017.txt

best regards, 

Jianxiog Hua

  • Hi ,

    There is no such change in the imaging component, so same method should work fine for the other sensors also, as long as sensor parameters, number of lanes, lane speed etc are configured correctly. 

    1) Is it supported to set resolution to 1600x1300? 

    yes, it is possible to support this resolution.

    2) Does the xml files generated by default_DCC_profile_gen tool support all different sensors?

    Yes, as long as you have correct resolution.

    3) How to bypass VISS in code? This may help to do some debug. 

    You could connect CSIRX directly to display and display raw image as grey scale image. But for this, need to use vx_image, instead of raw_image.. 

    4) Attached is the log file, no errors occured, could you please help to analyze the cause of the failure?

    Can you press 'p' on the console and share the output? 

    Regards,

    Brijesh

  • Hi, Brijesh, 

    for question 3), is there any Macro Definitions that enable/disable VISS, so that the image without ISP process can be displayed through DP.  

    for question 4), attached file is the log with presssing 'p'. 

    log1019.txt

    regards, 

    Jianxiong

  • Hi Jianxiong,

    Well for YUV sensors, VISS is bypassed, but then there is LDC or MSC in the path, which does not support raw_image. 

    Looking at the stats, seems capture is not yet working. fps for the entire graph is 0. Are you sure capture is working fine?

    Regards,

    Brijesh