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?