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.

DS90UB913A-Q1: Unable to grab data frames using DS90UB913A-Q1(Serializer) and DS90UB936-Q1(De-serializer)

Part Number: DS90UB913A-Q1
Other Parts Discussed in Thread: DS90UB936-Q1

Hi,

We are using OV9732 camera sensor (Parallel interface) + DS90UB913A-Q1 Serializer + DS90UB936-Q1 De-Serializer.

The camera operates in 10-bit mode at a resolution of 1280x720 at 30fps. We are getting PCLK signal of 36 MHz and proper HSYNC + VSYNC for our resolution. Upon powering up, we observe activity on Data Pins of the camera module.

The Serializer's REFCLK pin is connected to the Camera sensor's PCLK pin. Mode settings are appropriately done in hardware and additionally, Reg=0x05 is given a value of 0x21 (for 10-bit mode).

Correspondingly the Deserializer is configured to accept a 10-bit input. Register 0x6D is given a value of 0x7B (for 10-bit mode + STP mode). But I am not getting any data on my host processor.

> Is it possible to hook up an image sensor, operating in 10-bit mode at a PCLK of 36 MHz, to DS90UB913A-Q1 Serializer's REFCLK? Will the serializer operate?

> Could you tell me any probable reasons ?

Regards,

Khilav

  • Hi Khilav,

    There is no REFCLK pin on the 913a, can you clarify exactly which pin name/pin # you are discussing here. The reg settings on the 913a/936 look okay, in addition to reg 0x7b on the 936, what is the value of reg 0x58?

    Regards,

    Mandeep Singh

  • Hi Mandeep,

    My apologies. By REFCLK I meant PCLK pin (pin number : 3) of the serializer 913a. This pin is connected with PCLK pin of the camera sensor i.e. the serializer is receiving PCLK from the camera module itself and not from an external oscillator.

    Below is the value of the registers:
    Reg 0x58 = 0x58 (written)

    Reg 0x7B = 0x00 (read before camera application is started)

    Reg 0x7B = 0x00 (read after camera application is started)

    Reiterating my queries again.

    > Is it possible to hook up an image sensor, operating in 10-bit mode at a PCLK of 36 MHz, to DS90UB913A-Q1 Serializer's PCLK? Will the serializer operate?

    > Could you tell me any probable reasons?

    Regards,
    Khilav Soni

  • Hi Mandeep,

    Could you please give me a reply on the above post ?

    Regards,

    Khilav Soni

  • Hi Khilav,

    Yes, this means you are in PCLK Mode and that is a valid mode. This is basically when the sensor gets it's clock from an external source such as an osc but drives the serializer PLL with a PCLK output into the serializer PCLK input pin (Figure 17 of the 913a datasheet). 

    Reg 0x58 on 936 looks good.

    In terms of register 0x7b, I meant to say 0x6d which was a register you were writing to.

    It is too early to pinpoint what is happening. I think what we should do is enable patgen on the 936 to ensure that you can capture the CSI output from the 936 with your processor. Enabling patgen is explained in the DS90UB936-Q1 datasheet. You can also follow the register writes below. Can you please try this and share the results.

    0xb0 = 0x00

    0xb1 = 0x01

    0xb2 = 0x01 (To disable patgen, please set this to 0x00)

    Regards,

    Mandeep Singh

  • Hi Mandeep,

    We have already tried to generate a pattern with UB936 deserializer. We are getting MIPI data but there is no output on the screen.

    Reg 0x6D = 0x7B (STP mode, RAW10 mode)

    Below are the queries that I have.

    1.) The reason why I am asking you for PCLK is we are getting RAW-10 data from the camera sensor and a 36 MHz PCLK. Now the UB913A-Q1 serializer datasheet states that we can only give the serializer a PCLK of 50-100 MHz when the input is 10-bit. Is this a HARD requirement ?? Or can we do without this ??

    2.) Can we give the serializer 10-bit data @ 36 MHz PCLK while configuring the 913A serializer to operate in RAW-12 LF mode ? (since RAW-12 LF mode accepts PCLK between 25-75 MHz).

    Regards,

    Khilav Soni

  • Hi Khilav,

    1) Ahh I get what you mean. Unfortunately, in 10 bit mode, the range is 50-100MHz and this is a requirement.

    2) This should work because 913a is a parallel interface and you just wouldn't use two of the pins.

    Regards,

    Mandeep Singh