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: TDA2PXEVM

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

  • 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

  • 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

  • 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

  • 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

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

  • 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

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

  • Hi Mayank,

    We checked the hardware with the help of our hardware team and didn't find any hardware related issue, We probed the i2c line in  between
    i. Soc(TDA2PX) -> deserializer
    ii. Deserializer -> serializer

    it seems I2C' lines( SCL and SDA) are working fine.

    We have checked the IMX390 module with USB devices, the camera module is working fine with the usb device, But still we are not able to bring up the camera(IMX390) module with TDA2PX Board.

    We debugged Few more things such as

    i. Back channel configuration at serializer (0X32) and  deserializer(0x58) level.
    ii. I2C clock at 100KHZ and 400KHZ.
    iii. Power sequence steps between serializer and sensor.
    But these things doesn't help us to proceed further...

    Currently we are kind of stuck and unable to proceed further, Need your help.

    Regards
    Mausam Sinha

  • You mentioned these are random failures - does it mean that sometimes the camera works? Can you please provide a diff between working and failing scenarios?

  • I haven't heard back from you, I'm assuming you were able to resolve your issue.

    If not, just post a reply below (or create a new thread if the thread has locked due to time-out).

     

  • Hi Mayank,

    The issue is resolved, Please close the ticket.

    Many many thanks for your support here.

    Regards

    Mausam Sinha

  • Hi Maynak,

    Issue is resolved, thanks for your support.

    Regards

    Mausam Sinha