bypass Color Space Conversion for mono mipi CSI camera sensor on i.MX8MP

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

bypass Color Space Conversion for mono mipi CSI camera sensor on i.MX8MP

287 Views
BHC
Contributor I

I'm porting a mono (black and white ) mipi CSI camera sensor to i.MX8MP. The basic setting is 320(W)*240(H),  one data lane, 30fps.  Ideally the Color Space Conversion(CSC) should be bypassed and the raw data from camera senor will be retrived for later image processing.  The CSC of ISI can be bypassed by setting CHNL_IMG_CTRL(0x04)  bit CSC_BYP(bit 0) to 1.  However, I have troubling in bypass CSC in ISP. 

1. The chapter for ISP in IMX8RM Rev 2 has no register defition. Is ISP configured by register in MIPI CSI memory mapped register  MIPI_CSIx_ISP_CONFIGn at 0x32E4_0040?

2. If yes,  is the DATAFORMAT[5:0] the input format or output format of ISP?  How is the input/output format determined by CSI module?

isp.png

The current preview image looks as beblow(gst-launch-1.0 v4l2src device=/dev/video0 ! "video/x-raw, width=320, Height=240, framerate=(fraction)30/1" ! queue ! glimagesink) 

sc.jpg

Any suggestion is greatly appreciated. Thanks!

 

0 Kudos
Reply
1 Reply

241 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

Yes the data form is operated directly by the CSI, and ISP, that both are confidential module.

Regards

 

0 Kudos
Reply