• TI Thinks Resolved

TDA2PXEVM: TDA2PXEVM

Prodigy 150 points

Replies: 8

Views: 274

Part Number: TDA2PXEVM

Hi Mayank,

Many thanks for your reply.

It is valued to understand the sensor register. I updated the few things as per your reference and  modified  the setting base on datasheet.

Currently i2c read and write operation is happening, but after few operation its' giving the "GIO_submit:retVal = 0xffffffeb " error

Here is the log snippet.

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

[IPU1-0]     30.168730 s:  
[IPU1-0]     30.169005 s:  i2cMdSubmitChan: i2c4 transfer to slave address 0x36 failed
[IPU1-0]     30.169157 s: GIO_submit:retVal = 0xffffffeb
[IPU1-0]     30.169218 s: src/bsp_deviceI2c.c @ Line 351:  
[IPU1-0]     30.169310 s:  I2C4: DEV 0x36: RD 0x19 ... ERROR !!!
[IPU1-0]     30.169401 s: src/bsp_deviceI2c.c @ Line 418:  
[IPU1-0]     30.169493 s:  I2C4: Error timeout 1 ms!!!
[IPU1-0]     30.169584 s: BspOsal_semPost enabled
[IPU1-0]     30.169645 s: GIO_submit3:retVal = 0xffffffeb

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

Pls help to check.

Thanks

Mausam Sinha

  • Hello Mausam,

    Since the failures are happening at low level I2C driver, I have assigned this to Pratap who is our I2C expert.

    Regards,

    Mayank

  • In reply to Mayank Mangla:

    Hi Mausam

    Sorry for delay.

    Are you seeing random failures or all the transfers to a particular slave address are failing?. Can you add few msecs of delay between each I2C transfer and check if you still see failures?

    - Pratap

  • In reply to M V Pratap Reddy:

    Hi Pratap,

    Thanks for your reply,

    Yeah i am seeing the some random failures to a particular slave address(0x36) and the register which are passing, those return value are always 0x00.
    so my concern is, return value 0x00 is correct or still we are not able to communicate with sensor?

    snippet of configured register in linear mode
    ------------------------------------------
    {0x000C, 0xF2, 0x100},                                                      \
    {0x000D, 0x02, 0x100},                                                      \
    {0x000E, 0x00, 0x100},                                                      \
    {0x0010, 0xF2, 0x100},
    -----------------------------------------

    here is the log snippet of Register value which passed  

    ---------------------------------------------------------------------------------------
    [IPU1-0]     28.038980 s: AfterRead_Mausam: Register Address: 0x0 and Register Value = 0x0
    [IPU1-0]     32.548099 s: AfterRead_Mausam: Register Address: 0xc and Register Value = 0x0
    [IPU1-0]     37.055206 s: AfterRead_Mausam: Register Address: 0xd and Register Value = 0x0
    [IPU1-0]     41.590343 s: AfterRead_Mausam: Register Address: 0xe and Register Value = 0x0
    [IPU1-0]     46.093546 s: AfterRead_Mausam: Register Address: 0x10 and Register Value = 0x0
    [IPU1-0]     50.595559 s: AfterRead_Mausam: Register Address: 0x3000 and Register Value = 0x0
    [IPU1-0]     55.094705 s: AfterRead_Mausam: Register Address: 0x3001 and Register Value = 0x0
    [IPU1-0]     59.591807 s: AfterRead_Mausam: Register Address: 0x3002 and Register Value = 0x0
    [IPU1-0]     64.086927 s: AfterRead_Mausam: Register Address: 0x3003 and Register Value = 0x0
    [IPU1-0]     68.580064 s: AfterRead_Mausam: Register Address: 0x3004 and Register Value = 0x0
    [IPU1-0]     73.071188 s: AfterRead_Mausam: Register Address: 0x3005 and Register Value = 0x0
    [IPU1-0]     77.560300 s: AfterRead_Mausam: Register Address: 0x3006 and Register Value = 0x0
    [IPU1-0]     82.047428 s: AfterRead_Mausam: Register Address: 0x3007 and Register Value = 0x0
    [IPU1-0]     86.532544 s: AfterRead_Mausam: Register Address: 0x3008 and Register Value = 0x0
    [IPU1-0]     91.015677 s: AfterRead_Mausam: Register Address: 0x3009 and Register Value = 0x0
    [IPU1-0]     95.496797 s: AfterRead_Mausam: Register Address: 0x300a and Register Value = 0x0
    [IPU1-0]    100.004056 s: AfterRead_Mausam: Register Address: 0x300b and Register Value = 0x0
    ----------------------------------------------------------------------------------------------

     
    we added few msecs of delay between each I2C transfer and checked, still we are seeing the same failures.

    ---------------------------------------------------------------------------------------------------------
    [IPU1-0]    172.824010 s: AfterRead_Mausam: Register Address: 0xc and Register Value = 0x0
    [IPU1-0]    178.974196 s: AfterRead_Mausam: Register Address: 0xd and Register Value = 0x0
    [IPU1-0]    185.122369 s: AfterRead_Mausam: Register Address: 0xe and Register Value = 0x0
    [IPU1-0]    191.268437 s: AfterRead_Mausam: Register Address: 0x10 and Register Value = 0x0
    [IPU1-0]    197.411608 s: AfterRead_Mausam: Register Address: 0x11 and Register Value = 0x0
    [IPU1-0]    203.552888 s: AfterRead_Mausam: Register Address: 0x12 and Register Value = 0x0
    [IPU1-0]    209.693070 s: AfterRead_Mausam: Register Address: 0x18 and Register Value = 0x0
    [IPU1-0]    215.830567 s:
    [IPU1-0]    215.830872 s:  i2cMdSubmitChan: i2c4 transfer to slave address 0x36 failed
    [IPU1-0]    215.830964 s: src/bsp_deviceI2c.c @ Line 683:
    [IPU1-0]    215.831055 s:  I2C4: DEV 0x36: ERROR !!!
    [IPU1-0]    215.831147 s: src/bsp_deviceI2c.c @ Line 705:
    [IPU1-0]    215.831208 s:  I2C4: Error timeout 1 ms!!!
    [IPU1-0]    215.831299 s: AfterRead_Mausam: Register Address: 0x19 and Register Value = 0x80
    [IPU1-0]    218.899377 s:  IMX390: Sensor RegWrite Failed for regAddr 19
    ---------------------------------------------------------------------------------------------------------

    Regards
    Mausam Sinha

  • In reply to Mausam Sinha:

    hi,

    Are you still facing the issue?

    Which sensor are you using? and what is the interface you have used to connect it?

    How many sensors are connected in your usecase?

    Regards,

    Prasad

  • In reply to Prasad Konnur:

    Hi Prasad,

    Thanks for your reply.

    I am trying to bring-up LI IMX390 FPDIII camera module (Bayer sensor) on TDA2PX-EVM with PSDK version 3.7.

    We are connected the single sensor and we are using  the single channel (1CH ISS capture + ISS ISP + ISS LDC+VTNF + Display) usecase.

    Regards

    Mausam Sinha

  • In reply to Mausam Sinha:

    Are these "random failures" or are they occurring 100% of the time?

  • In reply to Mayank Mangla:

    Hi Mayank,

    These are the random failures.

    Here is the log snippet of error.

    ---------------------------------------------------------------------------------------------------------
    [IPU1-0]    172.824010 s: AfterRead_Mausam: Register Address: 0xc and Register Value = 0x0
    [IPU1-0]    178.974196 s: AfterRead_Mausam: Register Address: 0xd and Register Value = 0x0
    [IPU1-0]    185.122369 s: AfterRead_Mausam: Register Address: 0xe and Register Value = 0x0
    [IPU1-0]    191.268437 s: AfterRead_Mausam: Register Address: 0x10 and Register Value = 0x0
    [IPU1-0]    197.411608 s: AfterRead_Mausam: Register Address: 0x11 and Register Value = 0x0
    [IPU1-0]    203.552888 s: AfterRead_Mausam: Register Address: 0x12 and Register Value = 0x0
    [IPU1-0]    209.693070 s: AfterRead_Mausam: Register Address: 0x18 and Register Value = 0x0
    [IPU1-0]    215.830567 s:
    [IPU1-0]    215.830872 s:  i2cMdSubmitChan: i2c4 transfer to slave address 0x36 failed
    [IPU1-0]    215.830964 s: src/bsp_deviceI2c.c @ Line 683:
    [IPU1-0]    215.831055 s:  I2C4: DEV 0x36: ERROR !!!
    [IPU1-0]    215.831147 s: src/bsp_deviceI2c.c @ Line 705:
    [IPU1-0]    215.831208 s:  I2C4: Error timeout 1 ms!!!
    [IPU1-0]    215.831299 s: AfterRead_Mausam: Register Address: 0x19 and Register Value = 0x80
    [IPU1-0]    218.899377 s:  IMX390: Sensor RegWrite Failed for regAddr 19
    ---------------------------------------------------------------------------------------------------------

    Regards

    Mausam

  • In reply to Mausam Sinha:

    If the failures are random it means either a HW issue or an issue with analog signal integrity on the SerDes backchannel.