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.

SN65LVDS324 data format in Aptina 1-Channel 2-Lane 12-bit Mode

I'm using the SN65LVDS324 with an Aptina MT9F002 sensor (HiSPI version) in Aptina 1-Channel 2-Lane 12-bit Mode.

The MT9F002 register documentation states that the supported data formats are:

  • 0x00C2 data_format_descriptor_0 (0x0C0C): RAW10, uncompressed data format
  • 0x00C4 data_format_descriptor_1 (0x0A0A): RAW8 data format in which the two LSB of each 10-bit pixel data value are discarded
  • 0x00C6 data_format_descriptor_2 (0x0808): RAW8 data format in which each 10-bit pixel data value is compressed to an 8-bit value

According to the SN65LVDS324 datasheet there are no 8 or 10 bit modes available. Further, it doesn't state if the SN65LVDS324 understands the DPCM/PCM compressed RAW8 bit data format.

I'm not sure if the Aptina sensor always puts 12 bit data (with don't care bits) on the bus or streams the data in 8, 10 or 12 bit format according to the R0x0112 cpp_data_format settings.


There must be a "High-Speed Serial Pixel (HiSPi)™ Protocol Specification V1.00.00" somewhere, but I didn't found it.

Can anyone help?

  • Found this in the datasheet of the MT9F002:

    "The PHY will serialize a 10-, 12-, 14- or 16-bit data word and transmit each bit of data
    centered on a rising edge of the clock, the second on the falling edge of clock. Figure 12
    shows bit transmission. In this example, the word is transmitted in order of MSB to LSB.
    The receiver latches data at the rising and falling edge of the clock."


    It seems that 10 bits are sent  in each case of the MT9F002 data formats.

    Can anyone of TI confirm that the formats of the MT9f002 are understood by the SN65LVDS324?

  • Seems to be the same problem for the MT9J001/J003. The AR0331 seems to be able to output 12 bits.

  • OK. The MT9F002 and the SN65LVDS324 are not compatible.

    Same problem for the MT9F003 here:

    http://e2e.ti.com/support/interface/digital_interface/f/130/t/279943.aspx

    The MT9F003 isn't also listed as supported sensor here:

    http://www.ti.com/lit/an/slla331b/slla331b.pdf (Section 1)

    Finally, it doesn't matter if the SN65LVDS324 accepts RAW8/RAW10.
    The fact that the SN65LVDS324 only supports "Streaming-SP, Streaming-S" HiSPI mode (that is the one out of three possibilties that is not supported by the MT9F002/MT9J003) makes this discussion obsolete.