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.

DS90UB953-Q1EVM: Missing script files, e.g ovt_1920_1080_REMOTE.py, ALP

Part Number: DS90UB953-Q1EVM
Other Parts Discussed in Thread: ALP

Hi, I'm using DS90UB853EVM,But I cannot find the ovt_1280_1080_30fps_REMOTE.py file. Any one can help me?

  • Please refer to below link on the same issue, thanks.

    e2e.ti.com/.../638383



    best regards,
    Steven
  • Thank you Steven. I saw the 954_953_sensor_setup.txt file.  I initialized 953-954 and camera with this script(coax RX1).  The camera register is initialized successfully( can see the signal). But no signal is output from 954 mipi interface. What may be the possible reason?

  • please check:
    1. reg. 0x73/74/75/76? are they correct to match the sensor video format setting (line number and line length)?
    if yes, forwarding 2., if NOT, please check UB953 and its sensor setting correct or not? and the link status such as Lock indication.
    2. check whether the CSI2 forwarding is correct or not?

    Steven
  • My camera sensor resolution is 1920*1080, I checked register 0x73/0x74,its value is 1080(dec) and 0x75/76 is 2880(dec). Line number is correct and line length is not correct. Sensor setting is correct( I use another tool tested it, the image and resolution can be displayed on PC). LOCK led is off. What is the CSI2 forwarding ?
    Additionly. I have an OVT10460 Camera module(bought with 953EVM), I want to try this first and figure out what registers should I set for 953 and 954. I find no detailed imformation about this sensor. Just like the link below:
    e2e.ti.com/.../673258

    Could you provide some scripts to get this working? Thank you very much?
  • From the reg. 0x75/76, the setting of sensor video output format is 12bits? (2880/1920 x8 =12)
    please check your setting of sensor, is it correct?

    regards,
    Steven
  • Sorry to reply you too late. Yes, the setting of sensor video output format is 12bits. Any problem?

  • What's the difference between CSI-2 mode and RAW mode?  My sensor data format is 12bit, should I choose RAW 12 mode? The defalult mode is CSI-2,when I try to change it to RAW 12 LF/HF mode. The link is broken. What should I do?

  • the raw mode is used when paired with UB933/913A.


    Steven
  • Thank you for your reply.  Two more questions.

    1. I use 953 to generate 1920*1080 30fps RGB888 pattern, the 954 shows line length is 5760(1920*3), It regards RGB888 as three pixel, not one pixel. Its this normal?

    2.When I use 953 to generate pattern, there is no mipi signal in CSI TX port. When I use 954 generate pattern, I can measure the mipi signal.  I2C signal between 953 and 954 is OK. It seems the video cannot transmit from 953 to 954. What should I check?

    Any help would be much appreciated !

  • Bruce,
    1. yes, it record the Byte number.
    2. do you set the forwarding mode in the UB954? this must be set. if yes, please check reg. 0x73~0x76 of UB954?

    regards,
    Steven
  • Yes, I already set the forwarding mode in the UB954. The reg. 0x73~0x76 of UB954 is correct. Now I can see the mipi signal in CSI TX port with oscilloscope(using color bar or camera sensor). But I found that the signal from camera sensor is different from UB954. Is this normal? Which tools can I use to see the color bar or camera image?

    data lane signal from sensor:

    data lane signal from UB954:

  • the csi2 output is dependent on the video format, not relied on sensor or internal pattern gen. basically the output is correct. I don't see any issues here.

    regards,
    Steven
  • OK,Thank you very much.
    Now I want to change Coax mode to STP mode. After changed the hardware to support STP, the LOCK and PASS led can light. But ALP software shows link speed is 20M(Coax is 100M). Is this normal?
  • yes, you should configure the bc rate reg. (please check d/s) in your case if you want to get higher bc rate.

    reagrds,
    Steven
  • I use a tool box attached to UB954 to see the color bar or camera image. It can't display. The manufactory technical support says the wave signal from 954 is not correct. I don't know what to do next. Could you please give me a correct script to get 953/954 working?
  • I can't understand your issue. can you have one block diagram here? and what is the issue?
    in TI's ALP tool, we have some refer. script for diff. setting in the link of UB953 and UB954.


    regards,
    Steven
  • The block diagram is as below. I want to display the color bar (yuv422 1280*960) generated from 954.

    The 954 reg config is as below:

    [REGISTERS]
    Device = ALP Nano 1 - DS90UB954, Connector 1
    Comments = ""
    Date = 08/08/2018
    Time = 18:09:38
    Reg = 0,0x0000,0x60
    Reg = 0,0x0001,0x00
    Reg = 0,0x0002,0x1E
    Reg = 0,0x0003,0x20
    Reg = 0,0x0004,0xDF
    Reg = 0,0x0005,0x01
    Reg = 0,0x0006,0x00
    Reg = 0,0x0007,0xFE
    Reg = 0,0x0008,0x1C
    Reg = 0,0x0009,0x10
    Reg = 0,0x000A,0x7A
    Reg = 0,0x000B,0x7A
    Reg = 0,0x000C,0x83
    Reg = 0,0x000D,0xB9
    Reg = 0,0x000E,0x08
    Reg = 0,0x000F,0x7F
    Reg = 0,0x0010,0x00
    Reg = 0,0x0011,0x00
    Reg = 0,0x0012,0x00
    Reg = 0,0x0013,0x00
    Reg = 0,0x0014,0x00
    Reg = 0,0x0015,0x00
    Reg = 0,0x0016,0x00
    Reg = 0,0x0017,0x00
    Reg = 0,0x0018,0x00
    Reg = 0,0x0019,0x00
    Reg = 0,0x001A,0x00
    Reg = 0,0x001B,0x00
    Reg = 0,0x001C,0x00
    Reg = 0,0x001D,0x00
    Reg = 0,0x001E,0x04
    Reg = 0,0x001F,0x02
    Reg = 0,0x0020,0x30
    Reg = 0,0x0021,0x00
    Reg = 0,0x0022,0x00
    Reg = 0,0x0023,0x00
    Reg = 0,0x0024,0x00
    Reg = 0,0x0025,0x00
    Reg = 0,0x0026,0x00
    Reg = 0,0x0027,0x00
    Reg = 0,0x0028,0x00
    Reg = 0,0x0029,0x00
    Reg = 0,0x002A,0x00
    Reg = 0,0x002B,0x00
    Reg = 0,0x002C,0x00
    Reg = 0,0x002D,0x00
    Reg = 0,0x002E,0x00
    Reg = 0,0x002F,0x00
    Reg = 0,0x0030,0x00
    Reg = 0,0x0031,0x00
    Reg = 0,0x0032,0x00
    Reg = 0,0x0033,0x01
    Reg = 0,0x0034,0x40
    Reg = 0,0x0035,0x00
    Reg = 0,0x0036,0x00
    Reg = 0,0x0037,0x00
    Reg = 0,0x0038,0x00
    Reg = 0,0x0039,0x00
    Reg = 0,0x003A,0x00
    Reg = 0,0x003B,0x01
    Reg = 0,0x003C,0x14
    Reg = 0,0x003D,0x6F
    Reg = 0,0x003E,0x00
    Reg = 0,0x003F,0x40
    Reg = 0,0x0040,0x00
    Reg = 0,0x0041,0xA7
    Reg = 0,0x0042,0x71
    Reg = 0,0x0043,0x01
    Reg = 0,0x0044,0x00
    Reg = 0,0x0045,0x00
    Reg = 0,0x0046,0x00
    Reg = 0,0x0047,0x00
    Reg = 0,0x0048,0x00
    Reg = 0,0x0049,0x00
    Reg = 0,0x004A,0x00
    Reg = 0,0x004B,0x12
    Reg = 0,0x004C,0x01
    Reg = 0,0x004D,0x03
    Reg = 0,0x004E,0x0C
    Reg = 0,0x004F,0x14
    Reg = 0,0x0050,0x00
    Reg = 0,0x0051,0x00
    Reg = 0,0x0052,0x00
    Reg = 0,0x0053,0x03
    Reg = 0,0x0054,0x00
    Reg = 0,0x0055,0x00
    Reg = 0,0x0056,0x00
    Reg = 0,0x0057,0x00
    Reg = 0,0x0058,0x5A
    Reg = 0,0x0059,0x00
    Reg = 0,0x005A,0x00
    Reg = 0,0x005B,0x30
    Reg = 0,0x005C,0x18
    Reg = 0,0x005D,0x00
    Reg = 0,0x005E,0x00
    Reg = 0,0x005F,0x00
    Reg = 0,0x0060,0x00
    Reg = 0,0x0061,0x00
    Reg = 0,0x0062,0x00
    Reg = 0,0x0063,0x00
    Reg = 0,0x0064,0x00
    Reg = 0,0x0065,0x00
    Reg = 0,0x0066,0x00
    Reg = 0,0x0067,0x00
    Reg = 0,0x0068,0x00
    Reg = 0,0x0069,0x00
    Reg = 0,0x006A,0x00
    Reg = 0,0x006B,0x00
    Reg = 0,0x006C,0x00
    Reg = 0,0x006D,0x78
    Reg = 0,0x006E,0x88
    Reg = 0,0x006F,0x88
    Reg = 0,0x0070,0x2B
    Reg = 0,0x0071,0x2C
    Reg = 0,0x0072,0xE4
    Reg = 0,0x0073,0x00
    Reg = 0,0x0074,0x00
    Reg = 0,0x0075,0x00
    Reg = 0,0x0076,0x00
    Reg = 0,0x0077,0xC5
    Reg = 0,0x0078,0x00
    Reg = 0,0x0079,0x01
    Reg = 0,0x007A,0x02
    Reg = 0,0x007B,0x01
    Reg = 0,0x007C,0x20
    Reg = 0,0x007D,0x00
    Reg = 0,0x007E,0x00
    Reg = 0,0x007F,0x00
    Reg = 0,0x00A0,0x02
    Reg = 0,0x00A1,0x0F
    Reg = 0,0x00A2,0x00
    Reg = 0,0x00A3,0x00
    Reg = 0,0x00A4,0x08
    Reg = 0,0x00A5,0x18
    Reg = 0,0x00A7,0x00
    Reg = 0,0x00A8,0x00
    Reg = 0,0x00A9,0x00
    Reg = 0,0x00AA,0x00
    Reg = 0,0x00AB,0x00
    Reg = 0,0x00AC,0x00
    Reg = 0,0x00AD,0x00
    Reg = 0,0x00AE,0x00
    Reg = 0,0x00AF,0x00
    Reg = 0,0x00B0,0x00
    Reg = 0,0x00B1,0x03
    Reg = 0,0x00B2,0x24
    Reg = 0,0x00B3,0x08
    Reg = 0,0x00B4,0x25
    Reg = 0,0x00B5,0x00
    Reg = 0,0x00B6,0x18
    Reg = 0,0x00B7,0x00
    Reg = 0,0x00B8,0x88
    Reg = 0,0x00B9,0x33
    Reg = 0,0x00BA,0x83
    Reg = 0,0x00BB,0x74
    Reg = 0,0x00BC,0x80
    Reg = 0,0x00BD,0x00
    Reg = 0,0x00BE,0x00
    Reg = 0,0x00BF,0x00
    Reg = 0,0x00D0,0x00
    Reg = 0,0x00D2,0x94
    Reg = 0,0x00D3,0x02
    Reg = 0,0x00D4,0x60
    Reg = 0,0x00D5,0xF2
    Reg = 0,0x00D6,0x00
    Reg = 0,0x00D7,0x00
    Reg = 0,0x00D8,0x00
    Reg = 0,0x00D9,0x00
    Reg = 0,0x00DA,0x00
    Reg = 0,0x00DB,0x00
    Reg = 0,0x00DC,0x00
    Reg = 0,0x00DD,0x00
    Reg = 0,0x00DE,0x00
    Reg = 0,0x00DF,0x00
    Reg = 0,0x00F0,0x5F
    Reg = 0,0x00F1,0x55
    Reg = 0,0x00F2,0x42
    Reg = 0,0x00F3,0x39
    Reg = 0,0x00F4,0x35
    Reg = 0,0x00F5,0x34
    Reg = 0,0x00F8,0x00
    Reg = 0,0x00F9,0x00
    Reg = 0,0x00FA,0x00
    Reg = 0,0x00FB,0x00

    CSI registers:

    [REGISTERS]
    Device = ALP Nano 1 - DS90UB954, Connector 1
    Comments = ""
    Date = 08/08/2018
    Time = 18:36:37
    Reg = 0,0x0000,0x00
    Reg = 0,0x0001,0x01
    Reg = 0,0x0002,0x32
    Reg = 0,0x0003,0x1E
    Reg = 0,0x0004,0x05
    Reg = 0,0x0005,0x00
    Reg = 0,0x0006,0x01
    Reg = 0,0x0007,0x40
    Reg = 0,0x0008,0x03
    Reg = 0,0x0009,0xC0
    Reg = 0,0x000A,0x04
    Reg = 0,0x000B,0x65
    Reg = 0,0x000C,0x0B
    Reg = 0,0x000D,0x93
    Reg = 0,0x000E,0x21
    Reg = 0,0x000F,0x0A
    Reg = 0,0x0010,0xAA
    Reg = 0,0x0011,0x33
    Reg = 0,0x0012,0xF0
    Reg = 0,0x0013,0x7F
    Reg = 0,0x0014,0x55
    Reg = 0,0x0015,0xCC
    Reg = 0,0x0016,0x0F
    Reg = 0,0x0017,0x80
    Reg = 0,0x0018,0x00
    Reg = 0,0x0019,0x00
    Reg = 0,0x001A,0x00
    Reg = 0,0x001B,0x00
    Reg = 0,0x001C,0x00
    Reg = 0,0x001D,0x00
    Reg = 0,0x001E,0x00
    Reg = 0,0x001F,0x00
    Reg = 0,0x0040,0x05
    Reg = 0,0x0041,0x1B
    Reg = 0,0x0042,0x0B
    Reg = 0,0x0043,0x0A
    Reg = 0,0x0044,0x06
    Reg = 0,0x0045,0x0C
    Reg = 0,0x0046,0x08
    Reg = 0,0x0047,0x0B
    Reg = 0,0x0048,0x06

    The clk signal and data signal from 954 CSI TX is as below:

    Is the signal correct? Why the volt is negative?

  • 1. it could test issue, please make sure that your scope is set correctly. it sounds the ch1 is set as AC coupling also bandwidth is not good enough. please refer to TI's test plot in d/s.
    2. please refer to UB954 d/s on the CSI2 forwarding, or you can refer to TI's pattern gen. script in the installed ALP file (last version).


    best regards,
    Steven
  • Yes, you are right. Now, the 953-954 and camera is working well(Coax with synchronous mode and STP with asynchronous mode). I can see the image from display. Thank you very much!

    One last question. STP with asynchronous mode can work well now. How can I use STP with synchronous mode?

  • well done.

    you can check reg. 0x58[2:0] to set the correct back channel data rate (change the default 'b100 in STP strap mode to 'b110). then UB953 is set as sync. mode as well (same as the default coax sync. mode).

    best regards,

    Steven