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 frame sync

Dear TI:

I have a urgency problem, My board deserializer is DS90UB960, serializer is DS90UB935, Sensor is AR0234, 1920*1080, FPS is 30fps, the SOC just have one camera(have one DS90UB953);
I want to generate a frame synchronization signal (FrameSync), so it can make camera generate picture, I see your DS90UB960 datasheet about FrameSync Operation, So I configure the register about 960 and 953, But I found that my configure failed.
then I print the register about deserializer and serializer, and I add my configure of deserializer and serializer, so can TI help me solve this problem?

#deserializer 960 configure, 0x30 represent deserializer 960
i2cset -y 3 0x30 0x01 0x01
i2cset -y 3 0x30 0x02 0x3e
i2cset -y 3 0x30 0x0c 0xab
i2cset -y 3 0x30 0x4c 0x01
i2cset -y 3 0x30 0x58 0x5e
i2cset -y 3 0x30 0x5c 0x84
i2cset -y 3 0x30 0x5d 0x84
i2cset -y 3 0x30 0x65 0x84
i2cset -y 3 0x30 0x6d 0x7c
i2cset -y 3 0x30 0x70 0x1e
i2cset -y 3 0x30 0x32 0x01
i2cset -y 3 0x30 0x21 0x83
i2cset -y 3 0x30 0x33 0x23
i2cset -y 3 0x30 0x1f 0x02
i2cset -y 3 0x30 0xb9 0x1f
# deserializer 960 frame sync
i2cset -y 3 0x30 0x4c 0x01
i2cset -y 3 0x30 0x6e 0x8a
i2cset -y 3 0x30 0x10 0x91
i2cset -y 3 0x30 0x58 0x5e
i2cset -y 3 0x30 0x19 0x15
i2cset -y 3 0x30 0x1a 0xb3
i2cset -y 3 0x30 0x1b 0xc3
i2cset -y 3 0x30 0x1c 0x50
i2cset -y 3 0x30 0x18 0x01

#serializer 953 configure, 0x42 represent serializer 953
i2cset -y 3 0x42 0x02 0x13
i2cset -y 3 0x42 0x0E 0x10
i2cset -y 3 0x42 0x0D 0x10

  • Hello,

    Are you able to probe the GPIO pin to verify whether you are getting anything on the output?  I think it would be good to start by doing one thing at a time, so try setting 0x18[1] to 1 just to get a pulse with a 50% duty cycle and lets verify that we see a signal on the output of the serializer.  If not then try outputting it on one of the local GPIOs to verify that the signal is being generated properly in the deserialzier by setting register 0x10 or the respective register of a GPIO that can be probed.

    So start by generating the signal locally, then once you verify it works try sending it using the backchannel GPIOs to the serializer. 

    Regards,

    Nick

  • Hi Nick
    The camera is our customer's camera, He won't allow us to open camera, So I want to know how to mapp GPIO_0 between DS90UB960 and DS90UB953,
    I read the datasheet "7.4.11.3 Forward Channel GPIO", I try to configure deserializer regirster, But I found I failed agagin, so can you tell me that how to mapp GPIO_0 between DS90UB960 and DS90UB953, It's one serializer to one deserializer.

    Best Regards

  • Hi Nick
    I have probe the GPIO_0 pin in serializer_935, I found the gpio value is always 0, I don't the reason, can you help me?

  • Hello,

    I am a bit confused here, aren't you trying to generate the framesync signal with the 960 to be sent to the serializers?  Shouldn't you be using the backchannel GPIOs to transmit the signal to the serializer?  Thats why I was suggesting to output the framesync signal generated in the 960 to a local GPIO to see that the signal is actually being generated.  Follow the setup procedure shown in 7.4.24.

    Regards,

    Nick

  • Hi Nick:
    1.I try generate the framesync signal with the 960 to be sent to 935
    2.In my understanding, there are two ways to generate framesync, one can follow the setup procedure shown in 7.4.24 and the other one can follow the setup procedure shown in 7.4.4, Did I get that right?
    3.I have folloed the setup procedure shown in 7.4.24. next is my configure:
    i2cset -y 3 0x30 0x01 0x01
    i2cset -y 3 0x30 0x02 0x3e
    i2cset -y 3 0x30 0x0c 0xab
    i2cset -y 3 0x30 0x4c 0x01
    i2cset -y 3 0x30 0x58 0x5e
    i2cset -y 3 0x30 0x6e 0xaa
    i2cset -y 3 0x30 0x10 0x91
    i2cset -y 3 0x30 0x19 0x15
    i2cset -y 3 0x30 0x1a 0xb3
    i2cset -y 3 0x30 0x1b 0xc3
    i2cset -y 3 0x30 0x1c 0x50
    i2cset -y 3 0x30 0x18 0x01
    i2cset -y 3 0x30 0x5c 0x84
    i2cset -y 3 0x30 0x5d 0x84
    i2cset -y 3 0x30 0x65 0x84
    i2cset -y 3 0x30 0x6d 0x7c
    i2cset -y 3 0x30 0x70 0x1e
    i2cset -y 3 0x30 0x32 0x01
    i2cset -y 3 0x30 0x21 0x83
    i2cset -y 3 0x30 0x33 0x23
    i2cset -y 3 0x30 0x1f 0x02
    i2cset -y 3 0x30 0xb9 0x1f
    # frame sync
    i2cset -y 3 0x30 0x4c 0x01
    i2cset -y 3 0x30 0x6e 0xaa
    i2cset -y 3 0x30 0x10 0x91
    i2cset -y 3 0x30 0x58 0x5e
    i2cset -y 3 0x30 0x19 0x15
    i2cset -y 3 0x30 0x1a 0xb3
    i2cset -y 3 0x30 0x1b 0xc3
    i2cset -y 3 0x30 0x1c 0x50
    i2cset -y 3 0x30 0x18 0x01

    but I probe the gpio_0 of 935, I found it's always 0, can you help me again?

  • Hi Nick:
    1.I try generate the framesync signal with the 960 to be sent to 935
    2.In my understanding, there are two ways to generate framesync, one can follow the setup procedure shown in 7.4.24 and the other one can follow the setup procedure shown in 7.4.4, Did I get that right?
    3.I have folloed the setup procedure shown in 7.4.24. next is my configure:
    i2cset -y 3 0x30 0x01 0x01
    i2cset -y 3 0x30 0x02 0x3e
    i2cset -y 3 0x30 0x0c 0xab
    i2cset -y 3 0x30 0x4c 0x01
    i2cset -y 3 0x30 0x58 0x5e
    i2cset -y 3 0x30 0x6e 0xaa
    i2cset -y 3 0x30 0x10 0x91
    i2cset -y 3 0x30 0x19 0x15
    i2cset -y 3 0x30 0x1a 0xb3
    i2cset -y 3 0x30 0x1b 0xc3
    i2cset -y 3 0x30 0x1c 0x50
    i2cset -y 3 0x30 0x18 0x01
    i2cset -y 3 0x30 0x5c 0x84
    i2cset -y 3 0x30 0x5d 0x84
    i2cset -y 3 0x30 0x65 0x84
    i2cset -y 3 0x30 0x6d 0x7c
    i2cset -y 3 0x30 0x70 0x1e
    i2cset -y 3 0x30 0x32 0x01
    i2cset -y 3 0x30 0x21 0x83
    i2cset -y 3 0x30 0x33 0x23
    i2cset -y 3 0x30 0x1f 0x02
    i2cset -y 3 0x30 0xb9 0x1f
    # frame sync
    i2cset -y 3 0x30 0x4c 0x01
    i2cset -y 3 0x30 0x6e 0xaa
    i2cset -y 3 0x30 0x10 0x91
    i2cset -y 3 0x30 0x58 0x5e
    i2cset -y 3 0x30 0x19 0x15
    i2cset -y 3 0x30 0x1a 0xb3
    i2cset -y 3 0x30 0x1b 0xc3
    i2cset -y 3 0x30 0x1c 0x50
    i2cset -y 3 0x30 0x18 0x01

    but I probe the gpio_0 of 935, I found it's always 0, can you help me again?

  • Hello,

    I don't see here where you set the GPIO registers on the 935.  Also change GPIO0 on the 960 to output mode by changing bit 0 in 0x0F and probe that GPIO to see if you can see the signal.

    Regards,

    Nick