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.

Linux: UB954 + UB913 can not lock the image

Tool/software: Linux

I used the ub913 & ub954 to display the sensor image, but the image is rolling, i test the ub954 lock pin, it is low.

so i enter the ub954 color bar mode, but i found the lock pin is low, the below is the init parameter for color bar in color bar mode.

 0x20 0xf0

 0x1F 0x02

 0x32 0x01
 0x33 0x01

 0xB0 0x00

 0xB1 0x01
 0xB2 0x01

 0xB1 0x02
 0xB2 0x33

 0xB1 0x03
 0xB2 0x1E

 0xB1 0x04
 0xB2 0x0A
 0xB1 0x05
 0xB2 0x00

 0xB1 0x06
 0xB2 0x01
 0xB1 0x07
 0xB2 0xE0

 0xB1 0x08
 0xB2 0x02
 0xB1 0x09
 0xB2 0xD0

 0xB1 0x0A
 0xB2 0x04
 0xB1 0x0B
 0xB2 0x1A

 0xB1 0x0C
 0xB2 0x0C
 0xB1 0x0D
 0xB2 0x67

 0xB1 0x0E
 0xB2 0x21

 0xB1 0x0F
 0xB2 0x0A

please give me some advices, thanks!

  • pls check the UB954's reg. 0x73~0x76, is it matched with sensor's video output resolution? if NOT, it is the FV/LV timing issue pls check reg. 0xbc (can be set as 0x00).

    regards,
    Steven
  • pls check the UB954's reg. 0x73~0x76, is it matched with sensor's video output resolution?
    -------- reg:
    0x73:0x03
    0x74:0x1f
    0x75:0x0a
    0x76:0x00

    it is the FV/LV timing issue pls check reg. 0xbc (can be set as 0x00)
    -------- i set the reg 0xbc as 0x00,but the image is rolling still
  • i dump the all reg,below is the all reg value:

         0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f    0123456789abcdef
    00: 7a 00 1e 20 d3 01 00 fe 1c 10 7a 7a bf 09 08 7f    z.? ??.???zz????
    10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 04 03    ..............??
    20: 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00    .?..............
    30: 00 00 00 01 40 01 00 01 00 00 00 01 14 6f 00 40    ...?@?.?...??o.@
    40: 00 a7 71 01 00 00 00 00 00 00 00 12 01 13 c5 24    .?q?.......????$
    50: 00 00 00 00 00 00 00 00 f8 00 00 b0 00 00 00 00    ........?..?....
    60: 00 00 00 00 00 00 00 00 00 00 00 00 00 7f 88 88    .............???
    70: 1e 2c e4 03 1f 0a 00 c5 00 01 00 00 c0 00 00 00    ?,????.?.?..?...
    80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
    90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
    a0: 02 0f 00 00 08 18 00 00 00 00 00 00 00 00 00 00    ??..??..........
    b0: 08 14 3f 08 25 00 18 00 ff 33 83 74 80 00 00 00    ????%.?..3?t?...
    c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
    d0: 00 43 94 02 60 f2 00 00 00 00 00 00 00 00 00 00    .C??`?..........
    e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
    f0: 5f 55 42 39 35 34 00 00 00 00 00 00 00 00 00 00    _UB954..........

  • Pls check two points:
    1. what is the PoC design of UB954? it must be same as UB913. this is important to resolve your "UNLOCK" issue in the UB954 side.
    2. the resolution in you case is 1280x800? from the reg. 0x73~0x76, it means the real video resolution is 1280x799. it sounds one line is lost. please make sure it is due the first line or the "UNLOCK" status in your case.

    regars,d
    Steven
  • pls set the reg. 0x4c of UB954 firstly to select the channel that is linked with the camera. or the reg. data is not accurate.

    regards,
    Steven
  • hi Junqiang Shi :
    how can i get the resolution by reg 73 74 75 76?

    i get the message what the ub954 does not support the pass pin, can you help me to check it? thanks.
  • the UB954 reg 0x03 of value is 0x20, ub960 reg 0x03 is 0x30, the Revision ID is 0x20 that it does not support pass pin .so the lock is not high never.
  • thank you for your help,i solved it,now the lock signal is output.