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: H3A statistics issue of TDA4VM

Part Number: TDA4VM

Hi,

  Now  we are tuning OX08b40 sensor using ISP of TDA4VM.

The problem is when we calibrate wb and ccm in the light box, the brightness  has reached over 2000lux, and the exposure value(sensor a gain and shutter) have reached maximum, but the current Y after AE is still very low.

We doubt  inaccurate H3A statistics lead to this problem. H3A module can get statistic of 10bit data, but OX08b40 ouput 24bit after decompanding.

The log and capatured raw data have been uploaded. Please help to check this problem.

Thanks.Alog.txt

  • At 2000lux and maximum sensor exposure, what is Y you get?

    You may also print out the H3A output sum values to confirm.

    Of course, the Y value depends on which 10-bit out of the 24-bit linear bits you take as H3A input.

  • //

    [MCU2_0] 9493.385481 s: (0)AE debug: TI_AE_do() 中 ry , gy , by 数值: 77 , 150 , 29
    [MCU2_0] 9493.385604 s: (0)AE debug: rMax=63, gMax=35, bMax=20, rsum=12050, gsum=6285, bsum=4008, wsum=512
    [MCU2_0] 9493.385731 s: (1)AE debug: TI_AE_do(),first calculate sum of all R, G, B values,计算结果。
    [MCU2_0] 9493.385804 s: (1)AE debug: R = 23, G = 12, B = 7
    [MCU2_0] 9493.385841 s: (3)AE debug: curY=15
    [MCU2_0] 9493.385900 s: (3)AE debug: TI_AE_do(),update the history brightnesss, check if current brightness is within range of the history average,计算结果。
    [MCU2_0] 9493.386014 s: (3)AE debug: curY=15, avgY=4, locked=0, lockcnt=0
    [MCU2_0] 9493.386072 s: (3)AE debug: new: avgY=15, tgtY=30, tgtYmin=28, tgtYmax=32, h->num_history=10

    //

    At 2500lux(A light) and maximum exposure parameter (11ms+11x again+1x dgain),Y we get is 15。We think that the pixel size of OX03C is 3 um so that  Y should reach the target Y (30) on this condition.

  • Do you know which 10b out of 24b is sent to H3A?

    The information is typically in the LUT included in the H3A Mux LUT xml file (e.g., "sensor_drv\src\imx390\dcc_xmls\wdr\IMX390_viss_h3a_mux_luts_cfg.xml").

    If you are able to capture raw input image and H3A output bin file, please share those as well.

  • The LSB we set in the H3A plugin is 5, so  I think 5b-14b is sent to H3A. The attachment are the raw image, log file and H3A output bin files. 

     E2E bug feedback.rar

  • "LSB #5" on the GUI is relative to 20-bit WDR.

    In your case of 24-bit WDR, "LSB #5" on the GUI is effectively "LSB #9" for 24-bit WDR.

    If your intention is "LSB #5 out of 24 linear bits", you will need to change it from 5 to 1.

  • The issue is settled. Now we are testing the effect. If there is other issues, we will create a new E2E. Thanks!