Best CSI mode_type for custom raw data

Hi,

I have an FPGA which send me raw data over CSI (not camera video).
The CSI protocol sends the data it such format, for each pixel (for each data sample):

  • LSB 8 bit of I data
  • MSB 8 bit of I data
  • LSB 8 bit of Q data
  • MSB 8 bit of Q data

What should be the best mode_type that I should use, in order to get the raw data from GStreamer, without any conversion and data mismatch?

Thanks,
Ron

Please have a check TRM for detail information.

I did.
I don’t see any 32bits pixel format (for example RGBA).
I may need to use 2x16bit (1 for real and 1 for imaginary).

Is raw16 supported by GStreamer for VI capture only?

What should be the mode_type ? As I don’t see it in the documentation.

If need v4l2src support I would suggest for RGB888.

mode_type=rgb;
pixel_phase=rgb888;
csi_pixel_bit_depth=24;

But this is only 24bits, and I need 32 bits (or 2x16).

Below is the support list. You can check the TRM(Xavier Series SoC Technical Reference Manual). Jetson Download Center | NVIDIA Developer

Supported Data Types
RAW6/7/8/10/12/14/16/20
RGB888/666/565/555/444
YUV420-8bit (Legacy)
YUV420-8bit
YUV420-10bit
YUV422-8bit/10bit