cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
songze
Visitor
Visitor
565 Views
Registered: ‎05-28-2018

Is There A Way for MIPI CSI-2 TX to Transmit RAW16 Data

Hello, 

It is clear that RAW16 is not supported by MIPI CSI-2 TX SS in my last post.

https://forums.xilinx.com/t5/Video/Can-MIPI-CSI-2-TX-Subsystem-support-RAW16-transmission/m-p/1046375#M29002

I am wondering if it is possible to transmit RAW16 data using User Defined Data Types or RAW8 data type as defined in MIPI CSI-2 SPEC v1.1 (like one 16bit pixel transmitted as two 8bit data)? Or is there any other way to transmit RAW16?

Thanks,

Song

Tags (2)
4 Replies
karnanl
Xilinx Employee
Xilinx Employee
489 Views
Registered: ‎03-30-2016

Hello @songze 

Hmm, that is possible to do....
MIPI CSI-2 TX Subsystem will pack 1 RAW16 pixel into 2 RAW8 pixels. (you needs to set Data Tyoe and word count (tuser[63:48]) to suitable number)

The problem is how to receive those data.
Are you using Xilinx MIPI CSI-2 RX Subsystem as the receiver ?

Thanks & regards
Leo

 


------------------------------------------------------------------------------------------------

Don’t forget to reply, kudo, and accept as solution.

If starting with Versal take a look at our Versal Design Process Hub and our
Versal Blogs

------------------------------------------------------------------------------------------------
songze
Visitor
Visitor
455 Views
Registered: ‎05-28-2018

Hello @karnanl ,

Yep, I am using Xilinx MIPI CSI-2 RX SS.

I noticed RX SS can be configured as RAW8...So would this method work? But I guess the horizontal pixel number would double since RAW16 was chopped into two RAW8?

Thank you,

Song

karnanl
Xilinx Employee
Xilinx Employee
445 Views
Registered: ‎03-30-2016

Hello Song

> So would this method work?

I believe this will work.  (But please note that we do not test it.)

>But I guess the horizontal pixel number would double since RAW16 was chopped into two RAW8?

Yes your understanding is correct.

Please note that MIPI CSI-2 TX only support spec v1.2.
So, even if Xilinx MIPI CSI-2 RX support RAW16, you must use CSI-2 RX with RAW8 setting for this usecase.
You may need to combine the 2 pixels into one RAW16 pixel on receiver side.

Thanks
Leo


------------------------------------------------------------------------------------------------

Don’t forget to reply, kudo, and accept as solution.

If starting with Versal take a look at our Versal Design Process Hub and our
Versal Blogs

------------------------------------------------------------------------------------------------
karnanl
Xilinx Employee
Xilinx Employee
332 Views
Registered: ‎03-30-2016

Hello Song @songze 

If your question is answered. Could you please kindly mark this post as solved ?
So other forum users can learn from the discussion here

Thanks & regards
Leo


------------------------------------------------------------------------------------------------

Don’t forget to reply, kudo, and accept as solution.

If starting with Versal take a look at our Versal Design Process Hub and our
Versal Blogs

------------------------------------------------------------------------------------------------
0 Kudos