IPU2_CSI_DATA[19..0] mapping for 16-bit YUV data

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IPU2_CSI_DATA[19..0] mapping for 16-bit YUV data

572 Views
jeromebolduc
Contributor III

Hello,

We are trying to develop 1080p60 16-bit SDR YUV422 input using the IPU2_CSI1 interface and we came up with a chroma issue where video captured missed some bits, first two MSbs.

We are configured in GENERIC_16 mode YUV and we followed the scheme presented here under the note (7). However, we should have followed the note (6). Our mistake. Our video bus is now connected to DATA[19:12] for luma and DATA[9:2] for chroma. We should have routed the chroma to DATA[11:4].

jeromebolduc_1-1608755494297.png

Do you know if it is possible to shift these two bits inside kernel or any other trick so we can capture video correctly without doing any PCB rework?

Our sensor does not support BT.1120.

Thanks,

Jerome

 

0 Kudos
Reply
1 Reply

560 Views
igorpadykov
NXP Employee
NXP Employee

Hi Jerome

 

I am afraid there is no simple way to perform csi remapping. In general, one

can try with color conversion matrix described in sect.37.4.5.6 IC Task Parameter Memory

i.MX 6Dual/6Quad Applications Processor Reference Manual

color conversion examples :

https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/ipu-examples-release-notes-v0-1/ta-p/112...

https://devhub.io/repos/rogeriorps-ipu-examples

 

Best regards
igor

0 Kudos
Reply