cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
jiaohuang2004
Adventurer
Adventurer
479 Views
Registered: ‎09-22-2020

Does MIPI CSI-2 TX Subsystem support RAW16 data format transmission?

Jump to solution

 I need to use mipi tx ip core to send raw16 data, and found that this ip core does not seem to support RAW16, as shown below. Are there other solutions that can be done?

Tags (2)
新建位图图像.bmp
0 Kudos
1 Solution

Accepted Solutions
karnanl
Xilinx Employee
Xilinx Employee
397 Views
Registered: ‎03-30-2016

Hello @jiaohuang2004 

Input pixel interface of MIPI CSI-2 TX Subsystem is following UG934.
So, please check UG934 Chapter1 for more detailed explanation.
UG934_pix_IF.png
If you set "Maximum Bits per Component=16" and you want to feed RAW16 DataType then ...
     s_axis_tdata[15:0] = RAW16 pixel0
     s_axis_tdata[31:16] = RAW16 pixel1 ... etc

Kind 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
Versal Example Designs : LINK
>>------------------------------------------------------------------------------------------------

View solution in original post

6 Replies
karnanl
Xilinx Employee
Xilinx Employee
448 Views
Registered: ‎03-30-2016

Hello @jiaohuang2004 

>Does MIPI CSI-2 TX Subsystem support RAW16 data format transmission?

The latest version of MIPI CSI-2 TX Subsystem supports RAW16 data type.
RAW16_is_supported_by_MIPI_CSI2_TX.png

RAW16_support_changelog.png
What is your Vivado version ?

Kind 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
Versal Example Designs : LINK
>>------------------------------------------------------------------------------------------------
jiaohuang2004
Adventurer
Adventurer
439 Views
Registered: ‎09-22-2020

My vivado version  is 2019.1 .If 2020.2 supports it, I will update it. Thanks!

0 Kudos
karnanl
Xilinx Employee
Xilinx Employee
427 Views
Registered: ‎03-30-2016

Hello @jiaohuang2004 

MIPI CSI-2 TX IP generated by Vivado 2020.1/2020.2 supports RAW16.

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
Versal Example Designs : LINK
>>------------------------------------------------------------------------------------------------
0 Kudos
jiaohuang2004
Adventurer
Adventurer
422 Views
Registered: ‎09-22-2020

  Hello

Another problem is that the definition of raw16 is not found in the pixel encoding section of pg260 V2.2, so I don't know the data layout of raw16.Please give me some advice.

Thanks!

截图00.png
0 Kudos
karnanl
Xilinx Employee
Xilinx Employee
398 Views
Registered: ‎03-30-2016

Hello @jiaohuang2004 

Input pixel interface of MIPI CSI-2 TX Subsystem is following UG934.
So, please check UG934 Chapter1 for more detailed explanation.
UG934_pix_IF.png
If you set "Maximum Bits per Component=16" and you want to feed RAW16 DataType then ...
     s_axis_tdata[15:0] = RAW16 pixel0
     s_axis_tdata[31:16] = RAW16 pixel1 ... etc

Kind 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
Versal Example Designs : LINK
>>------------------------------------------------------------------------------------------------

View solution in original post

jiaohuang2004
Adventurer
Adventurer
329 Views
Registered: ‎09-22-2020

Thank you  verymuch!It works well