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.

DS90UB960-Q1: FrameSync usage - 953 + 960 combination

Part Number: DS90UB960-Q1

Hi  teams

We plan to debug the  external framesync sensor which used the 953 Serializer.

the serializer 953 hardware design  as below:

TI_F_SYNC  source is coming from DS90UB960.

I want to know.if the gpios of 960 did not connect any external source.The 960 can be output clock from internal?

Our current design as below:

If it still can work for 953,if 960's gpio did not use external clk source,it only use 960 internal PLL clk.

or use a external clock source ,it should be What frequency

BRs

thanks

  • Hello Yingjin,

    There are two F-Sync options:

    1) You can use either Externally generated F-Sync signal, for example from SoC, and feed it to the 960 which forwards it to the 953, or

    2) Use the 960 internally generated F-Sync, which is also forwarded to the 953.

    For both cases, you need some register settings to make it working, which is discribed in the data sheet section "7.4.24 FrameSync Operation"

  • Hi  Hamzeh

    Thanks for your  reply.

    If I use the case 2,I still have a little confused ,

    In the 960 document,it shows as below:

    In Internal FrameSync mode, an internally generated FrameSync signal is sent to one or more of the attached
    FPD3 Serializers through a GPIO signal in the back channel.

    It shows the signal send from Back channel.

    1)  The GPIOx of HUB Deserializer ,it  means  gpio[0-7] of chip 960 ?   for now,we did not use it.

    in the up picture,the gpio0-7 did not connect anything.

    2)  the up picture,the 960 only connect a clock source of 2 (a 25Mhz clock).If I use Internal FrameSync,Is it OK to configure internal trigger related registers   without any hardware changes ? I am not sure if it needs anyone of the gpio0-7.

    BRs

    thanks

  • Hello Yingjin,

    when using the Internally generated Frame Sync you do not need to use any GPIO on the 960. Also there is no hardware change is required.

    All you need to do, is to configure the correct BC GPIO to send FrameSync to the correct RX Port you want, in reg 0x6E and/or 0x6F.

    For more details please check the 960 d/s section "7.4.24.2 Internally Generated FrameSync" . There you have also a code example showing how you can set this up.

  • Hi  Hamzeh

    I have implemented this part of the function.

    But the picture has some problem.

    When we use internal framesync of sensor,the picture is right.

    When use the framesync signal,no matter,internal framesync or external signal.The picture is not right.

    Could this be a PoC circuit effect  ?  Our current  poc hardware design compatible with 933 and 953,when use framesync signal,there is some control from 960. to 953.

    BRs

    thanks

  • Hello Yingjin,

    I do not know how it is possible for you to use an External Frame Sync signal since all of your Deserializer GPIOs are NC.

    Can you give more details; such as

    - How many Cameras are connected to the DES

    - To which RX ports are the cameras connected

    - Which Clocking Mode are you using in your system

    - How are you configuring your Frame Sync signal in the software and in the Hardware.

    - What do you mean by Frame Sync signal from the image sensor? 

  • Hi  Hamzeh

    The details as below:

    1) How many Cameras are connected to the DES

         we plan use 4 camera, for now there is 1 camera of 953 ser (1920*1080) connected.

    2)  To which RX ports are the cameras connected

          I connected 1 sensor to RX0

    3)  Which Clocking Mode are you using in your system

         We plan use External FrameSync Control

         The original design of the board didn't connect to GPIO, and then we welded the wire to 960 gpio4, it as below:

         

    we can measure a 30Hz clock in the ser gpio0 of 953,it as below:

    scope as below:

    4 )  How are you configuring your Frame Sync signal in the software and in the Hardware.

           my code as below:

          

    one_sensor.txt
    #960 reg config
    
    i2cset -f -y 8 0x3d 0x4c 0x01  
    i2cset -f -y 8 0x3d 0x58 0x96 
    i2cset -f -y 8 0x3d 0x5b 0x30 
    i2cset -f -y 8 0x3d 0x5c 0xda 
    i2cset -f -y 8 0x3d 0x65 0xba 
    i2cset -f -y 8 0x3d 0x72 0x00 
    i2cset -f -y 8 0x3d 0x6e 0xAA  
    
    sleep 0.2
    
    i2cset -f -y 8 0x3d 0x10 0x91 
    i2cset -f -y 8 0x3d 0x18 0x01 
    i2cset -f -y 8 0x3d 0x1f 0x00 
    i2cset -f -y 8 0x3d 0x32 0x01 
    i2cset -f -y 8 0x3d 0x33 0x03 
    i2cset -f -y 8 0x3d 0x32 0x13 
    i2cset -f -y 8 0x3d 0x33 0x03 
    #i2cset -f -y 8 0x3d 0x20 0xFC 
    #i2cset -f -y 8 0x3d 0x21 0x03
    #i2cset -f -y 8 0x3d 0x20 0x0C 
    #i2cset -f -y 8 0x3d 0x21 0x17 
    
    
    # 953 reg config
    i2cset -f -y 8 0x18 0x02 0x73 
    i2cset -f -y 8 0x18 0x0e 0xf0  
    i2cset -f -y 8 0x18 0x0d 0xb9
    i2cset -f -y 8 0x18 0x0f 0x10 
    i2cset -f -y 8 0x18 0x18 0xc0 

    BRs

    thanks

  • Thanks for the details.

    So, if you turn on the GPIO you can see the 30Hz Sync signal coming out of the 953 going into the Sensor, correct?

    At this time your picture starts flickering on the display, is that truth?

    Can you confirm that your Sensor is running at 30FPS ?

  • Hi Hamzeh

    Thanks for your reply.

    1 )  if you turn on the GPIO you can see the 30Hz Sync signal coming out of the 953 going into the Sensor, correct?

          Yes,it is right,the 30Hz signal  was pass to the Senor by 953 gpio0.

    2 )  At this time your picture starts flickering on the display, is that truth?

          Yes, it starts flickering on the display,I did not know why.

          If I use another type sensor which also use 953,it did not need trigger signal like internal or external signal,it work ok,there is no flicking.

          I want to consult with you that all the sensor output a frame data need the clock from 960 ?  or it just Only for sensors that need a trigger signal, the trigger signal will be sent from 960.I did not know the difference of two type sensor.

    3 ) Can you confirm that your Sensor is running at 30FPS ?

          I can measure the clock output from  953'gpio0  is 30 Hz,but how to check it works at 30fps.

          We have confirmed with the camera sensor supplier that every time a trigger signal comes, the sensor will output a frame of image data. If the trigger signal is always at a high level, the firmware of the sensor will fix a 30 frame image data.

    BRs

    thanks

  • Hi  Hamzeh

    The another type sensor which also use 953 ser.But it did not need the trigger signal.(internal or external)

    it as below:

    I did know the difference of this two type sensor.

    The one which need trigger signal from 960 is abnormal ,the other which did not need trigger signal from 960 is ok.

    BRs

    thanks

  • Hello Yingjin,

    As I said, it looks like the sensor is not running exactly at 30FPS but you are sending a 30Hz Sync signal which makes the Sensor out of Sunc.

    So you need to check the settings of the sensor. The problem has nothing to do with the SER or DES.