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.

Starterware/TDA3: VSDK UB964V3 Support

Part Number: TDA3

Tool/software: Starterware

Hello,

When we use D3 RVP to run user case, terminal print such error, "can not control serializer". Code can be run with UB964 V2 RVP, but failed on UB964 V3. 

IPU1-0] 16.089794 s: Detected 964 v3 DeSerializer and download initial config
[IPU1-0] 16.104465 s: src/bsp_deviceI2c.c @ Line 580:
[IPU1-0] 16.104556 s: I2C0: DEV 0x74: WR 0x03 = 0xc5 ... ERROR !!!
[IPU1-0] 16.104678 s: src/bsp_deviceI2c.c @ Line 602:
[IPU1-0] 16.104770 s: I2C0: Error timeout 0 ms!!!
[IPU1-0] 16.104861 s: src/bsputils_ub960.c @ Line 1009:
[IPU1-0] 16.104922 s: Could not configure UB913 Ser !!!
[IPU1-0] 16.107972 s: src/bsp_deviceI2c.c @ Line 580:
[IPU1-0] 16.108064 s: I2C0: DEV 0x76: WR 0x03 = 0xc5 ... ERROR !!!
[IPU1-0] 16.108155 s: src/bsp_deviceI2c.c @ Line 602:
[IPU1-0] 16.108247 s: I2C0: Error timeout 1 ms!!!
[IPU1-0] 16.108338 s: src/bsputils_ub960.c @ Line 1009:
[IPU1-0] 16.108399 s: Could not configure UB913 Ser !!!
[IPU1-0] 16.111419 s: src/bsp_deviceI2c.c @ Line 580:
[IPU1-0] 16.111541 s: I2C0: DEV 0x78: WR 0x03 = 0xc5 ... ERROR !!!
[IPU1-0] 16.111663 s: src/bsp_deviceI2c.c @ Line 602:
[IPU1-0] 16.111755 s: I2C0: Error timeout 0 ms!!!
[IPU1-0] 16.111816 s: src/bsputils_ub960.c @ Line 1009:
[IPU1-0] 16.111907 s: Could not configure UB913 Ser !!!
[IPU1-0] 16.115018 s: src/bsp_deviceI2c.c @ Line 580:
[IPU1-0] 16.115110 s: I2C0: DEV 0x7a: WR 0x03 = 0xc5 ... ERROR !!!
[IPU1-0] 16.115201 s: src/bsp_deviceI2c.c @ Line 602:
[IPU1-0] 16.115293 s: I2C0: Error timeout 1 ms!!!
[IPU1-0] 16.115354 s: src/bsputils_ub960.c @ Line 1009:
[IPU1-0] 16.115445 s: Could not configure UB913 Ser !!!
[IPU1-0] 16.115933 s: src/bsp_deviceI2c.c @ Line 667:
[IPU1-0] 16.116025 s: I2C0: DEV 0x40: ERROR !!!
[IPU1-0] 16.116116 s: src/bsp_deviceI2c.c @ Line 689:
[IPU1-0] 16.116177 s: I2C0: Error timeout 1 ms!!!

I checked VSDK source code, it do some configuration during initial deserializer when UB964 V2, but did nothing to UB964 V3, my question is,

Do I need to initial UB964 V3 with some I2C write in?

And what should I write to UB964 V3?

  • Hi,

    No you don't require additional configuration for V3 It seems like the serializer is not accessible, which camera module are you using?

    Regards, Sujith

  • Dear Sujith:

    Understood, and, very nice to get your replay, thank you!

    Currently, we use OV10640 +TI 913, and  let me make it clear.

    We have two version hardware D3 RVP.

    D3 RVP1

    D3 RVP2 

    For D3 RVP2:

    We can run user case by using image file supplied by D3 Engineering RVP, which is stored in SD card, when we received the board.

    But if we compiled image file from VSDK_3, this can not work.

    For D3 RVP1:

    We built image file from VSDK_3, it can work very well.

    Maybe D3 RVP1 and RVP2 have hardware difference?  Should I do some modification about board setting? 

  • Dear Sujith:

    Thank you for your reply! 

    Currently, we use OV10640 + TI 913 as video input. 

    I checked source code of D3 RVP Engineering V2.12(supplied by D3 when we bought the board), they did some different board setting, I am dig in now.

    If you have any clue about these two version RVP board, please let me know, thank you! 

  • Hi Sujith:

    I think I may solved this problem, I added code for RVP starter kit, something about board setting.

    The hardware is different.

    Thank you again, Sujith! 

  • Hi, KSS-SUZHOU

    I'm new user of RVP starter kit and also have encountered the same problem as described here for several weeks,
    Could you described more details about the added code? or where to find these added code. Thanks a lot!!

    Mark Gred

    [IPU1-0] 22.262490 s: I2C0: DEV 0x74: WR 0x03 = 0xc5 ... ERROR !!!
    [IPU1-0] 22.262581 s: src/bsp_deviceI2c.c @ Line 602:
    [IPU1-0] 22.262673 s: I2C0: Error timeout 1 ms!!!
    [IPU1-0] 22.262764 s: src/bsputils_ub960.c @ Line 767:
    [IPU1-0] 22.262825 s: Could not configure UB913 Ser !!!
    [IPU1-0] 22.264472 s: src/bsp_deviceI2c.c @ Line 580:
    [IPU1-0] 22.264594 s: I2C0: DEV 0x76: WR 0x03 = 0xc5 ... ERROR !!!
    [IPU1-0] 22.264686 s: src/bsp_deviceI2c.c @ Line 602:
    [IPU1-0] 22.264777 s: I2C0: Error timeout 1 ms!!!
    [IPU1-0] 22.264838 s: src/bsputils_ub960.c @ Line 767:
    [IPU1-0] 22.264899 s: Could not configure UB913 Ser !!!
    [IPU1-0] 22.266851 s: src/bsp_deviceI2c.c @ Line 580:
    [IPU1-0] 22.266943 s: I2C0: DEV 0x78: WR 0x03 = 0xc5 ... ERROR !!!
  • Hi Mark Gred,

    Please unzip the file " STARTKIT_02_12_00_00.tar.gz" located in SD card\source\.

    And compare with file "bsp_boardTda3xx.c" between VSDK(TI release) and STARTKIT_02_12_00_00(D3 RVP release), then, you will find RVP board setting is different. Mainly in function call "Bsp_boardTda3xxRvpInit".

    Hope this can help you!

    Good luck!