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.

TDA2PXEVM: RTOS: Camera driver not working with LI's IMX390 FPDIII module

Part Number: TDA2PXEVM
Other Parts Discussed in Thread: INA226

Hello,

I am trying to bring-up LI IMX390 FPDIII camera module (Bayer sensor) on TDA2PX-EVM with PSDK version 3.7. I observed issue related to Seralizer probing.
For integration of the LI Camera module , I am using existing IMX390 sensor driver source code with same serializer (UB953) and modifying the slave address in 7-bit addressing mode of Ser (0x18) and sensor module(0x21).


Below is code snippet for our changes in source file (iss_sensor_imx390.c) in register array (gUB960DesCfg_D3IMX390[]) to program the Des(UB960) for Camera port 0, so that Serializer can be configured.

-----------------------
{0x58, 0x5E, 0x10},
{0x5B, (0x18 << 1), 0x10},
{0x5C, (0x18 << 1), 0x10},
{0x5D, 0x30, 0x10}, /*Serializer I2C Address*/
{0x5E, 0x42, 0x10}, /*Sensor I2C Address*/
{0x65, (PORT_0_SER_ADDR << 1U), 0x10},
{0x66, (PORT_0_SENSOR_ADDR << 1U), 0x10},
{0x32, 0x01, 0x10}, /*Enable TX port 0*/
-----------------------

I have also programmed the Seralizer(UB953) for enabling camera sensor module path (GPIO) as below.
gAppIssUtilsUB953SerCfg_D3IMX390[IMX390_D3_SER_CFG_SIZE] = {
          {0x0D, 0x0F, 0x10},
          {0x0E, 0xF0, 0x10},    /* Enable GPIOs as output */
};

As per logs, it appears that Serlizer is not probed and below error captured through logs.

[IPU1-0]     22.247971 s: Serilaizer # 0 has I2CAddr 74 !!!
[IPU1-0]     24.614408 s:  
[IPU1-0]     24.614683 s:  i2cMdSubmitChan: i2c4 transfer to slave address 0x40 failed
[IPU1-0]     24.614805 s: src/bsp_deviceI2c.c @ Line 667:  
[IPU1-0]     24.614896 s:  I2C4: DEV 0x40: ERROR !!!  
[IPU1-0]     24.614957 s: src/bsp_deviceI2c.c @ Line 689:  
[IPU1-0]     24.615079 s:  I2C4: Error timeout 1 ms!!!
[IPU1-0]     24.615140 s:  IMX390: Sensor RegWrite Failed for regAddr c



For making above changes, we have refereed following e2e links (http://e2e.ti.com/support/arm/automotive_processors/f/1021/t/684294) . Please let me know if any changes are missing or if you need more information.


  • Hi Mausam,

    We have not really enabled/supported LI camera, we have supported D3 camera module. 

    You need to go through the schematic and understand what all features are required and need to configure serialzer and deserializers accordingly..

    Rgds,

    Brijesh

  • Hi Brijesh,

    Thanks for your reply.

    I will go through the schematic but in meanwhile if you give some idea what are the files need to change that will help me to proceed further.

    Rgds,

    Mausam

  • Hi Mausam,

    sorry for the delayed response, Brijesh is currently out of office and will continue support when he is back. Meanwhile you can check ti_components\drivers\pdk\packages\ti\drv\vps\examples\utility\src\bsputils_ub95x.c for UB953 configuration.

    Regards,

    Yordan

  • Hi Yordan,

    Thanks for your reply,

    Serializer is up and serializer is able to communicate with sensor

    but now problem is that i am getting black screen.

    Here is console log

    --------------------------

    [IPU1-0]     69.141066 s:  CPU [IPU1-0 ] Statistics,  
    [IPU1-0]     69.141127 s:  *************************  
    [IPU1-0]     69.141188 s:   
    [IPU1-0]     69.141218 s:  LOAD: CPU: 9.1% HWI: 0.6%, SWI:0.4%, Low Power: 87.8%  
    [IPU1-0]     69.141371 s:   
    [IPU1-0]     69.141584 s:  LOAD: TSK: GrpxSrc0            : 4.2%  
    [IPU1-0]     69.141676 s:  LOAD: TSK: STAT_COLL           : 2.8%  
    [IPU1-0]     69.141767 s:  LOAD: TSK: MISC                : 1.1%  
    [IPU1-0]     69.141828 s:   
    [IPU1-0]     69.141889 s:  SYSTEM: SW Message Box Msg Pool, Free Msg Count = 1022  
    [IPU1-0]     69.141981 s:   
    [IPU1-0]     69.142042 s:  SYSTEM: Sempahores Objects,   43 of 1050 free  
    [IPU1-0]     69.142133 s:  SYSTEM: Task Objects      ,    6 of  100 free  
    [IPU1-0]     69.142225 s:  SYSTEM: Clock Objects     ,   97 of  100 free  
    [IPU1-0]     69.142286 s:  SYSTEM: Hwi Objects       ,   87 of  100 free  
    [IPU1-0]     69.142377 s:   
    [IPU1-0]     69.142438 s:  SYSTEM: Heap = LOCAL_DDR            @ 0x00000000, Total size = 262144 B (256 KB), Free size = 243936 B (238 KB)
    [IPU1-0]     69.142591 s:  SYSTEM: Heap = SR_OCMC              @ 0x00000000, Total size = 0 B (0 KB), Free size = 0 B (0 KB)
    [IPU1-0]     69.142713 s:  SYSTEM: Heap = SR_DDR_CACHED        @ 0x88583000, Total size = 368037888 B (350 MB), Free size = 317575168 B (302 MB)
    [IPU1-0]     69.142896 s:  SYSTEM: Heap = SR_DDR_NON_CACHED    @ 0xbfc00000, Total size = 127872 B (0 MB), Free size = 106368 B (0 MB)
    [IPU1-0]     69.143079 s:   
    [IPU1-0]     69.143109 s:   
    [IPU1-0]     69.143170 s:  CPU [IPU1-1 ] Statistics,  
    [IPU1-0]     69.143231 s:  *************************  
    [IPU1-0]     69.143262 s:   
    [IPU1-0]     69.143323 s:  LOAD: CPU: 1.1% HWI: 0.5%, SWI:0.4%, Low Power: 88.9%  
    [IPU1-0]     69.143475 s:   
    [IPU1-0]     69.143567 s:  LOAD: TSK: MISC                : 0.2%  
    [IPU1-0]     69.143658 s:   
    [IPU1-0]     69.143689 s:  SYSTEM: SW Message Box Msg Pool, Free Msg Count = 1022  
    [IPU1-0]     69.143780 s:   
    [IPU1-0]     69.143811 s:  SYSTEM: Sempahores Objects,  440 of 1050 free  
    [IPU1-0]     69.143902 s:  SYSTEM: Task Objects      ,   38 of  100 free  
    [IPU1-0]     69.143994 s:  SYSTEM: Clock Objects     ,   99 of  100 free  
    [IPU1-0]     69.144116 s:  SYSTEM: Hwi Objects       ,   99 of  100 free  
    [IPU1-0]     69.144177 s:   
    [IPU1-0]     69.144238 s:  SYSTEM: Heap = LOCAL_DDR            @ 0x00000000, Total size = 655360 B (640 KB), Free size = 645280 B (630 KB)
    [IPU1-0]     69.144390 s:   
    [IPU1-0]     69.144421 s:   
    [IPU1-0]     69.144482 s:  CPU [HOST   ] Statistics,  
    [IPU1-0]     69.144543 s:  *************************  
    [IPU1-0]     69.144604 s:   
    [IPU1-0]     69.144634 s:  LOAD: CPU: 1.4% HWI: 0.1%, SWI:0.1%, Low Power: 97.4%  
    [IPU1-0]     69.144787 s:   
    [IPU1-0]     69.144909 s:  LOAD: TSK: MISC                : 1.2%  
    [IPU1-0]     69.145153 s:   
    [IPU1-0]     69.145183 s:  SYSTEM: SW Message Box Msg Pool, Free Msg Count = 1022  
    [IPU1-0]     69.145275 s:   
    [IPU1-0]     69.145305 s:  SYSTEM: Sempahores Objects,  440 of 1050 free  
    [IPU1-0]     69.145397 s:  SYSTEM: Task Objects      ,   37 of  100 free  
    [IPU1-0]     69.145488 s:  SYSTEM: Clock Objects     ,   99 of  100 free  
    [IPU1-0]     69.145580 s:  SYSTEM: Hwi Objects       ,   99 of  100 free  
    [IPU1-0]     69.145671 s:   
    [IPU1-0]     69.145702 s:  SYSTEM: Heap = LOCAL_DDR            @ 0x00000000, Total size = 6291456 B (6144 KB), Free size = 6247792 B (6101 KB)
    [IPU1-0]     69.145854 s:   
    [IPU1-0]     69.145885 s:   
    [IPU1-0]     69.145946 s:  CPU [DSP1   ] Statistics,  
    [IPU1-0]     69.146007 s:  *************************  
    [IPU1-0]     69.146098 s:   
    [IPU1-0]     69.146129 s:  LOAD: CPU: 0.2% HWI: 0.1%, SWI:0.0%, Low Power: 99.1%  
    [IPU1-0]     69.146281 s:   
    [IPU1-0]     69.146342 s:  LOAD: TSK: MISC                : 0.1%  
    [IPU1-0]     69.146403 s:   
    [IPU1-0]     69.146464 s:  SYSTEM: SW Message Box Msg Pool, Free Msg Count = 1022  
    [IPU1-0]     69.146525 s:   
    [IPU1-0]     69.146586 s:  SYSTEM: Sempahores Objects,  454 of 1050 free  
    [IPU1-0]     69.146678 s:  SYSTEM: Task Objects      ,   91 of  100 free  
    [IPU1-0]     69.146739 s:  SYSTEM: Clock Objects     ,   99 of  100 free  
    [IPU1-0]     69.146830 s:  SYSTEM: Hwi Objects       ,  100 of  100 free  
    [IPU1-0]     69.146922 s:   
    [IPU1-0]     69.146983 s:  SYSTEM: Heap = LOCAL_L2             @ 0x00800000, Total size = 227264 B (221 KB), Free size = 227264 B (221 KB)
    [IPU1-0]     69.147135 s:  SYSTEM: Heap = LOCAL_DDR            @ 0x00000000, Total size = 524288 B (512 KB), Free size = 516416 B (504 KB)
    [IPU1-0]     69.147288 s:   
    [IPU1-0]     69.147349 s:   
    [IPU1-0]     69.147379 s:  CPU [DSP2   ] Statistics,  
    [IPU1-0]     69.147440 s:  *************************  
    [IPU1-0]     69.147501 s:   
    [IPU1-0]     69.147532 s:  LOAD: CPU: 0.2% HWI: 0.1%, SWI:0.0%, Low Power: 99.1%  
    [IPU1-0]     69.147684 s:   
    [IPU1-0]     69.147745 s:  LOAD: TSK: MISC                : 0.1%  
    [IPU1-0]     69.147806 s:   
    [IPU1-0]     69.147867 s:  SYSTEM: SW Message Box Msg Pool, Free Msg Count = 1022  
    [IPU1-0]     69.147928 s:   
    [IPU1-0]     69.147989 s:  SYSTEM: Sempahores Objects,  454 of 1050 free  
    [IPU1-0]     69.148111 s:  SYSTEM: Task Objects      ,   91 of  100 free  
    [IPU1-0]     69.148173 s:  SYSTEM: Clock Objects     ,   99 of  100 free  
    [IPU1-0]     69.148264 s:  SYSTEM: Hwi Objects       ,  100 of  100 free  
    [IPU1-0]     69.148356 s:   
    [IPU1-0]     69.148386 s:  SYSTEM: Heap = LOCAL_L2             @ 0x00800000, Total size = 227264 B (221 KB), Free size = 227264 B (221 KB)
    [IPU1-0]     69.148539 s:  SYSTEM: Heap = LOCAL_DDR            @ 0x00000000, Total size = 524288 B (512 KB), Free size = 516416 B (504 KB)
    [IPU1-0]     69.148722 s:   
    [IPU1-0]     69.148752 s:   
    [IPU1-0]     69.148783 s:  CPU [EVE1   ] Statistics,  
    [IPU1-0]     69.148844 s:  *************************  
    [IPU1-0]     69.148905 s:   
    [IPU1-0]     69.148966 s:  LOAD: CPU: 0.5% HWI: 0.2%, SWI:0.1%, Low Power: 94.3%  
    [IPU1-0]     69.149118 s:   
    [IPU1-0]     69.149179 s:  LOAD: TSK: MISC                : 0.2%  
    [IPU1-0]     69.149271 s:   
    [IPU1-0]     69.149301 s:  SYSTEM: SW Message Box Msg Pool, Free Msg Count = 1022  
    [IPU1-0]     69.149393 s:   
    [IPU1-0]     69.149423 s:  SYSTEM: Sempahores Objects,  455 of 1050 free  
    [IPU1-0]     69.149515 s:  SYSTEM: Task Objects      ,   92 of  100 free  
    [IPU1-0]     69.149576 s:  SYSTEM: Clock Objects     ,   99 of  100 free  
    [IPU1-0]     69.149667 s:  SYSTEM: Hwi Objects       ,   99 of  100 free  
    [IPU1-0]     69.149759 s:   
    [IPU1-0]     69.149789 s:  SYSTEM: Heap = LOCAL_L2             @ 0x40020000, Total size = 22528 B (22 KB), Free size = 22528 B (22 KB)
    [IPU1-0]     69.149942 s:  SYSTEM: Heap = LOCAL_DDR            @ 0x00000000, Total size = 262144 B (256 KB), Free size = 254248 B (248 KB)
    [IPU1-0]     69.150277 s:   
    [IPU1-0]     69.150308 s:   
    [IPU1-0]     69.150338 s:  CPU [EVE2   ] Statistics,  
    [IPU1-0]     69.150399 s:  *************************  
    [IPU1-0]     69.150460 s:   
    [IPU1-0]     69.150521 s:  LOAD: CPU: 0.5% HWI: 0.2%, SWI:0.1%, Low Power: 94.3%  
    [IPU1-0]     69.150643 s:   
    [IPU1-0]     69.150704 s:  LOAD: TSK: MISC                : 0.2%  
    [IPU1-0]     69.150796 s:   
    [IPU1-0]     69.150826 s:  SYSTEM: SW Message Box Msg Pool, Free Msg Count = 1022  
    [IPU1-0]     69.150918 s:   
    [IPU1-0]     69.150948 s:  SYSTEM: Sempahores Objects,  455 of 1050 free  
    [IPU1-0]     69.151070 s:  SYSTEM: Task Objects      ,   92 of  100 free  
    [IPU1-0]     69.151162 s:  SYSTEM: Clock Objects     ,   99 of  100 free  
    [IPU1-0]     69.151253 s:  SYSTEM: Hwi Objects       ,   99 of  100 free  
    [IPU1-0]     69.151345 s:   
    [IPU1-0]     69.151375 s:  SYSTEM: Heap = LOCAL_L2             @ 0x40020000, Total size = 22528 B (22 KB), Free size = 22528 B (22 KB)
    [IPU1-0]     69.151528 s:  SYSTEM: Heap = LOCAL_DDR            @ 0x00000000, Total size = 262144 B (256 KB), Free size = 254248 B (248 KB)
    [IPU1-0]     69.151680 s:   
    [IPU1-0]     69.151741 s:   
    [IPU1-0]     69.151772 s:  CPU [IPU2   ] Statistics,  
    [IPU1-0]     69.151833 s:  *************************  
    [IPU1-0]     69.151894 s:   
    [IPU1-0]     69.151924 s:  LOAD: CPU: 1.1% HWI: 0.6%, SWI:0.3%, Low Power: 96.1%  
    [IPU1-0]     69.152107 s:   
    [IPU1-0]     69.152199 s:  LOAD: TSK: MISC                : 0.2%  
    [IPU1-0]     69.152290 s:   
    [IPU1-0]     69.152321 s:  SYSTEM: SW Message Box Msg Pool, Free Msg Count = 1022  
    [IPU1-0]     69.152412 s:   
    [IPU1-0]     69.152443 s:  SYSTEM: Sempahores Objects,  440 of 1050 free  
    [IPU1-0]     69.152534 s:  SYSTEM: Task Objects      ,   38 of  100 free  
    [IPU1-0]     69.152626 s:  SYSTEM: Clock Objects     ,   99 of  100 free  
    [IPU1-0]     69.152717 s:  SYSTEM: Hwi Objects       ,   99 of  100 free  
    [IPU1-0]     69.152809 s:   
    [IPU1-0]     69.152839 s:  SYSTEM: Heap = LOCAL_DDR            @ 0x00000000, Total size = 262144 B (256 KB), Free size = 252016 B (246 KB)
    [IPU1-0]     69.153022 s:   
    [IPU1-0]     69.153327 s:   
    [IPU1-0]     69.153388 s:  UTILS_PRCM_STATS:  Current Temperature,
    [IPU1-0]     69.153449 s:   
    [IPU1-0]     69.153480 s:   Voltage Rail         ||   Curr Temp Min - Max    
    [IPU1-0]     69.153571 s:  ---------------------------------------------------------  
    [IPU1-0]     69.153663 s:      PMHAL_PRCM_VD_MPU ||     [31.600 , 32.200]     
    [IPU1-0]     69.153754 s:     PMHAL_PRCM_VD_CORE ||     [31.600 , 32.200]     
    [IPU1-0]     69.153876 s:    PMHAL_PRCM_VD_IVAHD ||     [32.800 , 33.200]     
    [IPU1-0]     69.153998 s:   PMHAL_PRCM_VD_DSPEVE ||     [30.400 , 30.800]     
    [IPU1-0]     69.154120 s:      PMHAL_PRCM_VD_GPU ||     [33.600 , 34.  0]     
    [IPU1-0]     69.154212 s:  
    [IPU1-0]     69.154242 s: ============================================================================
    [IPU1-0]     69.154364 s: Name      | Bus (mV)    | Res (mOhm) | Shunt (uV)  | Current (mA) | Power (mW)
    [IPU1-0]     69.154456 s: ----------------------------------------------------------------------------
    [IPU1-0]     69.156042 s:  UTILS_PRCM_STATS: Reading the regulator data failed
    [IPU1-0]     69.156133 s:  UTILS_PRCM_STATS: PM INA226 Power Read Failed !!
    [IPU1-0]     70.153114 s:   
    [IPU1-0]     70.153205 s:  Statistics Collector,
    [IPU1-0]     70.153236 s:   
    [IPU1-0]     70.153297 s:        STATISTIC          Avg Data        Peak Data  
    [IPU1-0]     70.153358 s:        COLLECTOR          MB/s            MB/s       
    [IPU1-0]     70.153449 s:  --------------------------------------------------  
    [IPU1-0]     70.153510 s:  SCI_EMIF1 RD+WR      |    132.943425    266.606957
    [IPU1-0]     70.153632 s:  SCI_EMIF2 RD+WR      |      0.000000      0.000000
    [IPU1-0]     70.153724 s:  SCI_EMIF1 RD ONLY    |    124.642915    227.083566
    [IPU1-0]     70.153846 s:  SCI_EMIF1 WR ONLY    |      8.334967     44.375849
    [IPU1-0]     70.153937 s:  SCI_EMIF2 RD ONLY    |      0.000000      0.000000
    [IPU1-0]     70.154059 s:  SCI_EMIF2 WR ONLY    |      0.000000      0.000000
    [IPU1-0]     70.154181 s:  SCI_MA_MPU_P1        |      0.006828      2.188694
    [IPU1-0]     70.154273 s:  SCI_MA_MPU_P2        |      0.000000      0.000000
    [IPU1-0]     70.154395 s:  SCI_DSS              |    110.245900    115.691812
    [IPU1-0]     70.154486 s:  SCI_IPU1             |      4.857194     35.855257
    [IPU1-0]     70.154608 s:  SCI_VIP1_P1          |      0.000000      0.000000
    [IPU1-0]     70.154700 s:  SCI_VIP1_P2          |      0.000000      0.000000
    [IPU1-0]     70.154791 s:  SCI_VPE_P1           |      0.000000      0.000000
    [IPU1-0]     70.154913 s:  SCI_VPE_P2           |      0.000000      0.000000
    [IPU1-0]     70.155157 s:  SCI_DSP1_MDMA        |      0.099765     13.430627
    [IPU1-0]     70.155279 s:  SCI_DSP1_EDMA        |      0.000000      0.000000
    [IPU1-0]     70.155371 s:  SCI_DSP2_MDMA        |      0.099760     13.427429
    [IPU1-0]     70.155493 s:  SCI_DSP2_EDMA        |      0.000000      0.000000
    [IPU1-0]     70.155584 s:  SCI_EVE1_TC0         |      2.643389     18.604558
    [IPU1-0]     70.155676 s:  SCI_EVE1_TC1         |      0.000000      0.000000
    [IPU1-0]     70.155798 s:  SCI_EVE2_TC0         |      2.644606     18.688524
    [IPU1-0]     70.155889 s:  SCI_EVE2_TC1         |      0.000000      0.000000
    [IPU1-0]     70.156011 s:  SCI_EDMA_TC0_RD      |      0.000000      0.000000
    [IPU1-0]     70.156133 s:  SCI_EDMA_TC0_WR      |      0.000000      0.000000
    [IPU1-0]     70.156225 s:  SCI_EDMA_TC1_RD      |      0.000000      0.000000
    [IPU1-0]     70.156316 s:  SCI_EDMA_TC1_WR      |      0.000000      0.000000
    [IPU1-0]     70.156438 s:  SCI_VIP2_P1          |      0.000000      0.000000
    [IPU1-0]     70.156530 s:  SCI_VIP2_P2          |      0.000000      0.000000
    [IPU1-0]     70.156621 s:  SCI_IVA              |      0.000000      0.000000
    [IPU1-0]     70.156713 s:  SCI_GPU_P1           |      0.000000      0.000000
    [IPU1-0]     70.156835 s:  SCI_GPU_P2           |      0.000000      0.000000
    [IPU1-0]     70.156926 s:  SCI_GMAC_SW          |      0.000000      0.000000
    [IPU1-0]     70.157048 s:  SCI_OCMC_RAM1        |      0.000000      0.000000
    [IPU1-0]     70.157140 s:  SCI_OCMC_RAM2        |      0.000000      0.000000
    [IPU1-0]     70.157231 s:  SCI_OCMC_RAM3        |      0.000000      0.000000
    [IPU1-0]     70.157353 s:  SCI_ISS_RT           |      0.000000      0.000000
    [IPU1-0]     70.157445 s:  SCI_ISS_NRT1         |      0.000000      0.000000
    [IPU1-0]     70.157536 s:  SCI_ISS_NRT2         |      0.000000      0.000000
    [IPU1-0]     70.157628 s:  SCI_CAL              |      0.000000      0.000000
    [IPU1-0]     70.320136 s:   
    [IPU1-0]     70.320197 s:   
    [IPU1-0]     70.320319 s:   
    [IPU1-0]     70.320350 s:  ### CPU [IPU1-0], LinkID [ 87],
    [IPU1-0]     70.320441 s:   
    [IPU1-0]     70.320472 s:  [ ISSCAPTURE ] Link Statistics,
    [IPU1-0]     70.320533 s:  ******************************
    [IPU1-0]     70.320594 s:   
    [IPU1-0]     70.320624 s:  Elapsed time       = 50492 msec
    [IPU1-0]     70.320716 s:   
    [IPU1-0]     70.320746 s:   
    [IPU1-0]     70.320777 s:  Input Statistics,
    [IPU1-0]     70.320838 s:   
    [IPU1-0]     70.320868 s:  CH | In Recv | In Drop | In User Drop | In Process  
    [IPU1-0]     70.320960 s:     | FPS     | FPS     | FPS          | FPS         
    [IPU1-0]     70.321051 s:  --------------------------------------------------  
    [IPU1-0]     70.321143 s:   
    [IPU1-0]     70.321173 s:  Output Statistics,
    [IPU1-0]     70.321234 s:   
    [IPU1-0]     70.321265 s:  CH | Out | Out     | Out Drop | Out User Drop  
    [IPU1-0]     70.321326 s:     | ID  | FPS     | FPS      | FPS            
    [IPU1-0]     70.321417 s:  ---------------------------------------------  
    [IPU1-0]     70.321478 s:   
    [IPU1-0]     70.321539 s:  [ ISSCAPTURE ] LATENCY,
    [IPU1-0]     70.321600 s:  ********************
    [IPU1-0]     70.321631 s:   
    [IPU1-0]     70.321753 s:   
    [IPU1-0]     70.321783 s:  ### CPU [IPU1-0], LinkID [ 88],
    [IPU1-0]     70.321844 s:   
    [IPU1-0]     70.321905 s:  [ ISSM2MISP ] Link Statistics,
    [IPU1-0]     70.321966 s:  ******************************
    [IPU1-0]     70.322027 s:   
    [IPU1-0]     70.322088 s:  Elapsed time       = 50487 msec
    [IPU1-0]     70.322149 s:   
    [IPU1-0]     70.322180 s:   
    [IPU1-0]     70.322241 s:  Input Statistics,
    [IPU1-0]     70.322271 s:   
    [IPU1-0]     70.322302 s:  CH | In Recv | In Drop | In User Drop | In Process  
    [IPU1-0]     70.322393 s:     | FPS     | FPS     | FPS          | FPS         
    [IPU1-0]     70.322454 s:  --------------------------------------------------  
    [IPU1-0]     70.322546 s:   
    [IPU1-0]     70.322576 s:  Output Statistics,
    [IPU1-0]     70.322637 s:   
    [IPU1-0]     70.322668 s:  CH | Out | Out     | Out Drop | Out User Drop  
    [IPU1-0]     70.322759 s:     | ID  | FPS     | FPS      | FPS            
    [IPU1-0]     70.322820 s:  ---------------------------------------------  
    [IPU1-0]     70.322881 s:   
    [IPU1-0]     70.322942 s:  [ ISSM2MISP ] LATENCY,
    [IPU1-0]     70.323003 s:  ********************
    [IPU1-0]     70.323064 s:   
    [IPU1-0]     70.323186 s:   
    [IPU1-0]     70.323217 s:  ### CPU [IPU1-0], LinkID [ 49],
    [IPU1-0]     70.323278 s:   
    [IPU1-0]     70.323308 s:  [ ALG_SCENE_OBSTRUCTION_DETECT ] Link Statistics,
    [IPU1-0]     70.323400 s:  ******************************
    [IPU1-0]     70.323461 s:   
    [IPU1-0]     70.323522 s:  Elapsed time       = 50488 msec
    [IPU1-0]     70.323583 s:   
    [IPU1-0]     70.323613 s:   
    [IPU1-0]     70.323644 s:  Input Statistics,
    [IPU1-0]     70.323705 s:   
    [IPU1-0]     70.323735 s:  CH | In Recv | In Drop | In User Drop | In Process  
    [IPU1-0]     70.323827 s:     | FPS     | FPS     | FPS          | FPS         
    [IPU1-0]     70.323888 s:  --------------------------------------------------  
    [IPU1-0]     70.323979 s:   
    [IPU1-0]     70.324040 s:  Output Statistics,
    [IPU1-0]     70.324101 s:   
    [IPU1-0]     70.324132 s:  CH | Out | Out     | Out Drop | Out User Drop  
    [IPU1-0]     70.324193 s:     | ID  | FPS     | FPS      | FPS            
    [IPU1-0]     70.324284 s:  ---------------------------------------------  
    [IPU1-0]     70.324406 s:   
    [IPU1-0]     70.324437 s:  [ ALG_SCENE_OBSTRUCTION_DETECT ] LATENCY,
    [IPU1-0]     70.324528 s:  ********************
    [IPU1-0]     70.324589 s:   
    [IPU1-0]     70.324681 s:   
    [IPU1-0]     70.324711 s:  ### CPU [IPU1-0], LinkID [ 20],
    [IPU1-0]     70.324803 s:   
    [IPU1-0]     70.324833 s:  [ NULL ] Link Statistics,
    [IPU1-0]     70.324894 s:  ******************************
    [IPU1-0]     70.324955 s:   
    [IPU1-0]     70.325138 s:  Elapsed time       = 50489 msec
    [IPU1-0]     70.325230 s:   
    [IPU1-0]     70.325260 s:   
    [IPU1-0]     70.325291 s:  Input Statistics,
    [IPU1-0]     70.325352 s:   
    [IPU1-0]     70.325382 s:  CH | In Recv | In Drop | In User Drop | In Process  
    [IPU1-0]     70.325443 s:     | FPS     | FPS     | FPS          | FPS         
    [IPU1-0]     70.325596 s:  --------------------------------------------------  
    [IPU1-0]     70.325687 s:   
    [IPU1-0]     70.325718 s:  Output Statistics,
    [IPU1-0]     70.325779 s:   
    [IPU1-0]     70.325809 s:  CH | Out | Out     | Out Drop | Out User Drop  
    [IPU1-0]     70.325870 s:     | ID  | FPS     | FPS      | FPS            
    [IPU1-0]     70.325931 s:  ---------------------------------------------  
    [IPU1-0]     70.326053 s:   
    [IPU1-0]     70.326084 s:  [ NULL ] LATENCY,
    [IPU1-0]     70.326145 s:  ********************
    [IPU1-0]     70.326206 s:   
    [IPU1-0]     70.326297 s:   
    [IPU1-0]     70.326358 s:  ### CPU [IPU1-0], LinkID [102],
    [IPU1-0]     70.326419 s:   
    [IPU1-0]     70.326450 s:  [ ISS Resizer ] Link Statistics,
    [IPU1-0]     70.326541 s:  ******************************
    [IPU1-0]     70.326602 s:   
    [IPU1-0]     70.326633 s:  Elapsed time       = 50486 msec
    [IPU1-0]     70.326694 s:   
    [IPU1-0]     70.326724 s:   
    [IPU1-0]     70.326785 s:  Input Statistics,
    [IPU1-0]     70.326816 s:   
    [IPU1-0]     70.326846 s:  CH | In Recv | In Drop | In User Drop | In Process  
    [IPU1-0]     70.326938 s:     | FPS     | FPS     | FPS          | FPS         
    [IPU1-0]     70.327029 s:  --------------------------------------------------  
    [IPU1-0]     70.327121 s:   
    [IPU1-0]     70.327151 s:  Output Statistics,
    [IPU1-0]     70.327212 s:   
    [IPU1-0]     70.327243 s:  CH | Out | Out     | Out Drop | Out User Drop  
    [IPU1-0]     70.327304 s:     | ID  | FPS     | FPS      | FPS            
    [IPU1-0]     70.327395 s:  ---------------------------------------------  
    [IPU1-0]     70.327456 s:   
    [IPU1-0]     70.327517 s:  [ ISS Resizer ] LATENCY,
    [IPU1-0]     70.327578 s:  ********************
    [IPU1-0]     70.327609 s:   
    [IPU1-0]     70.327731 s:   
    [IPU1-0]     70.327761 s:  ### CPU [IPU1-0], LinkID [ 77],
    [IPU1-0]     70.327822 s:   
    [IPU1-0]     70.327883 s:  [ DISPLAY ] Link Statistics,
    [IPU1-0]     70.327944 s:  ******************************
    [IPU1-0]     70.328005 s:   
    [IPU1-0]     70.328066 s:  Elapsed time       = 50486 msec
    [IPU1-0]     70.328127 s:   
    [IPU1-0]     70.328158 s:   
    [IPU1-0]     70.328188 s:  Input Statistics,
    [IPU1-0]     70.328249 s:   
    [IPU1-0]     70.328280 s:  CH | In Recv | In Drop | In User Drop | In Process  
    [IPU1-0]     70.328371 s:     | FPS     | FPS     | FPS          | FPS         
    [IPU1-0]     70.328432 s:  --------------------------------------------------  
    [IPU1-0]     70.328524 s:   
    [IPU1-0]     70.328554 s:  Output Statistics,
    [IPU1-0]     70.328615 s:   
    [IPU1-0]     70.328646 s:  CH | Out | Out     | Out Drop | Out User Drop  
    [IPU1-0]     70.328707 s:     | ID  | FPS     | FPS      | FPS            
    [IPU1-0]     70.328798 s:  ---------------------------------------------  
    [IPU1-0]     70.328859 s:   
    [IPU1-0]     70.328890 s:  [ DISPLAY ] LATENCY,
    [IPU1-0]     70.328951 s:  ********************
    [IPU1-0]     70.329042 s:   
    [IPU1-0]     70.329073 s:  Display UnderFlow Count = 0
    [IPU1-0]     70.329134 s:   
    [IPU1-0]     70.329256 s:   
    [IPU1-0]     70.329286 s:  ### CPU [IPU1-0], LinkID [ 50],
    [IPU1-0]     70.329347 s:   
    [IPU1-0]     70.329378 s:  [ ALG_ISS_AEWB ] Link Statistics,
    [IPU1-0]     70.329469 s:  ******************************
    [IPU1-0]     70.329530 s:   
    [IPU1-0]     70.329561 s:  Elapsed time       = 50470 msec
    [IPU1-0]     70.329622 s:   
    [IPU1-0]     70.329652 s:   
    [IPU1-0]     70.329713 s:  Input Statistics,
    [IPU1-0]     70.329744 s:   
    [IPU1-0]     70.329805 s:  CH | In Recv | In Drop | In User Drop | In Process  
    [IPU1-0]     70.329866 s:     | FPS     | FPS     | FPS          | FPS         
    [IPU1-0]     70.329927 s:  --------------------------------------------------  
    [IPU1-0]     70.330171 s:   
    [IPU1-0]     70.330232 s:  Output Statistics,
    [IPU1-0]     70.330293 s:   
    [IPU1-0]     70.330323 s:  CH | Out | Out     | Out Drop | Out User Drop  
    [IPU1-0]     70.330384 s:     | ID  | FPS     | FPS      | FPS            
    [IPU1-0]     70.330445 s:  ---------------------------------------------  
    [IPU1-0]     70.330537 s:   
    [IPU1-0]     70.330567 s:  [ ALG_ISS_AEWB ] LATENCY,
    [IPU1-0]     70.330628 s:  ********************
    [IPU1-0]     70.330689 s:   
    [IPU1-0]     70.330811 s:   
    [IPU1-0]     70.330842 s:  ### CPU [IPU1-0], LinkID [ 89],
    [IPU1-0]     70.330903 s:   
    [IPU1-0]     70.330933 s:  [ ISSM2MSIMCOP ] Link Statistics,
    [IPU1-0]     70.331025 s:  ******************************
    [IPU1-0]     70.331116 s:   
    [IPU1-0]     70.331147 s:  Elapsed time       = 50468 msec
    [IPU1-0]     70.331208 s:   
    [IPU1-0]     70.331238 s:   
    [IPU1-0]     70.331299 s:  Input Statistics,
    [IPU1-0]     70.331330 s:   
    [IPU1-0]     70.331391 s:  CH | In Recv | In Drop | In User Drop | In Process  
    [IPU1-0]     70.331452 s:     | FPS     | FPS     | FPS          | FPS         
    [IPU1-0]     70.331543 s:  --------------------------------------------------  
    [IPU1-0]     70.331604 s:   
    [IPU1-0]     70.331635 s:  Output Statistics,
    [IPU1-0]     70.331696 s:   
    [IPU1-0]     70.331726 s:  CH | Out | Out     | Out Drop | Out User Drop  
    [IPU1-0]     70.331818 s:     | ID  | FPS     | FPS      | FPS            
    [IPU1-0]     70.331879 s:  ---------------------------------------------  
    [IPU1-0]     70.331970 s:   
    [IPU1-0]     70.332001 s:  [ ISSM2MSIMCOP ] LATENCY,
    [IPU1-0]     70.332092 s:  ********************
    [IPU1-0]     70.332123 s:   
    [IPU1-0]     70.332245 s:   
    [IPU1-0]     70.332275 s:  ### CPU [IPU1-0], LinkID [ 78],
    [IPU1-0]     70.332367 s:   
    [IPU1-0]     70.332397 s:  [ DISPLAY ] Link Statistics,
    [IPU1-0]     70.332458 s:  ******************************
    [IPU1-0]     70.332519 s:   
    [IPU1-0]     70.332550 s:  Elapsed time       = 50469 msec
    [IPU1-0]     70.332611 s:   
    [IPU1-0]     70.332672 s:   
    [IPU1-0]     70.332702 s:  Input Statistics,
    [IPU1-0]     70.332733 s:   
    [IPU1-0]     70.332794 s:  CH | In Recv | In Drop | In User Drop | In Process  
    [IPU1-0]     70.332855 s:     | FPS     | FPS     | FPS          | FPS         
    [IPU1-0]     70.332946 s:  --------------------------------------------------  
    [IPU1-0]     70.333038 s:   
    [IPU1-0]     70.333068 s:  Output Statistics,
    [IPU1-0]     70.333129 s:   
    [IPU1-0]     70.333160 s:  CH | Out | Out     | Out Drop | Out User Drop  
    [IPU1-0]     70.333251 s:     | ID  | FPS     | FPS      | FPS            
    [IPU1-0]     70.333312 s:  ---------------------------------------------  
    [IPU1-0]     70.333374 s:   
    [IPU1-0]     70.333435 s:  [ DISPLAY ] LATENCY,
    [IPU1-0]     70.333496 s:  ********************
    [IPU1-0]     70.333526 s:   
    [IPU1-0]     70.333557 s:  Display UnderFlow Count = 0
    [IPU1-0]     70.333648 s:   
    [IPU1-0]     70.333679 s:  CPU [  IPU1-0], LinkID [ 23], Link Statistics not available !
    [IPU1-0]     70.333831 s:   
    [IPU1-0]     70.333892 s:  ### CPU [IPU1-0], LinkID [ 79],
    [IPU1-0]     70.333953 s:   
    [IPU1-0]     70.334014 s:  [ DISPLAY ] Link Statistics,
    [IPU1-0]     70.334075 s:  ******************************
    [IPU1-0]     70.334136 s:   
    [IPU1-0]     70.334167 s:  Elapsed time       = 40092 msec
    [IPU1-0]     70.334258 s:   
    [IPU1-0]     70.334289 s:  Driver/Notify Cb   =  59.96 fps
    [IPU1-0]     70.334350 s:   
    [IPU1-0]     70.334411 s:  Input Statistics,
    [IPU1-0]     70.334441 s:   
    [IPU1-0]     70.334472 s:  CH | In Recv | In Drop | In User Drop | In Process  
    [IPU1-0]     70.334563 s:     | FPS     | FPS     | FPS          | FPS         
    [IPU1-0]     70.334655 s:  --------------------------------------------------  
    [IPU1-0]     70.334716 s:   0 |   0. 2      0. 0      0. 0           0. 2  
    [IPU1-0]     70.334838 s:   
    [IPU1-0]     70.334899 s:  [ DISPLAY ] LATENCY,
    [IPU1-0]     70.334960 s:  ********************
    [IPU1-0]     70.335143 s:  Local Link Latency     : Avg =     30 us, Min =     30 us, Max =     30 us,  
    [IPU1-0]     70.335265 s:  Source to Link Latency : Avg = 9698011 us, Min = 9698011 us, Max = 9698011 us,  
    [IPU1-0]     70.335387 s:   
    [IPU1-0]     70.335417 s:  Display UnderFlow Count = 0
    [IPU1-0]     70.335478 s:   
    [IPU1-0]     70.835143 s:

    Best Regards

    Mausam Sinha

  • Hi Mausam,

    It seems that capture is not happening. Can you check the sensor configuration?

    Regards,

    Rishabh

  • Hi Rishabh,

    1. Is there any way or method by which we can get the configuration between sensor and serializer is ok or not?
    Beacuse as i am able to write data into the sensor using below method
    [iss_sensor_imx390.c]
    static Int32 IMX390_Start(UInt32 chId, IssSensor_CreateParams *pCreatePrms)
    {


        for (cnt = 0u; cnt < numRegs; cnt ++)
        {
            regAddr  = sensorCfg[cnt].regAddr;
            regValue = sensorCfg[cnt].regValue;

            /* Convert Registers address and value into 8bit array */
            status = IMX390_WriteReg(i2cInstId, i2cAddr, &regAddr,
                &regValue, 1u);


            if (SYSTEM_LINK_STATUS_SOK != status)
            {
                Vps_printf(" IMX390: Sensor RegWrite Failed for regAddr %x\n",
                    regAddr);
                break;
            }
        }

        return (status);
    }


    static Int32 IMX390_WriteReg(UInt8         i2cInstId,
                                 UInt8         i2cAddr,
                                 const UInt16 *regAddr,
                                 const UInt8  *regValue,
                                 UInt32        numRegs)
    {
        Int32 status = SYSTEM_LINK_STATUS_EFAIL;
        UInt32 cnt;
        UInt8 rawRegVal[3];
        UInt8 regVal;

        for (cnt = 0u; cnt < numRegs; cnt ++)
        {

            status = Bsp_deviceRawWrite8(i2cInstId, i2cAddr, rawRegVal, 3U);


            if (SYSTEM_LINK_STATUS_SOK != status)
            {
                Vps_printf("failed for i2cInstId %d, i2cAddr 0X%02X, rawRegVal[1U] 0X%02X\r\n",i2cInstId,i2cAddr,rawRegVal[1U]);
                break;
            }else
            {
                Vps_printf("Success for i2cInstId %d, i2cAddr 0X%02X, rawRegVal[1U] 0X%04X\r\n",i2cInstId,i2cAddr,rawRegVal[1U]);
                status = Bsp_deviceRawRead8(i2cInstId, i2cAddr, &regVal,1u);
            Vps_printf("regValue: 0x%02x \r\n", regVal);
            }
        }

        return (status);
    }

    i feel the configuration for sensor is ok.

    2. I changed the sensor configuration only  in iss_sensor_imx390.c file, is there any place which i missed, please suggest those file name.

    Regards

    Mausam Sinha

  • Hello Mausam,

    I would suggest the following:

    1. Confirm that the sensor registers are accessible. Please try to read back the registers you are writing and compare the read value to the written values.

    2. Please check if the sensor is getting the correct MCLK from the serializer. TI driver assumes 24MHz and based on that sensor PLLs are set

    3. Please probe UB960 status registers to check lock status, frame receive status etc.

    Regards,

    Mayank