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?
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)
Any suggestion is greatly appreciated. Thanks!
Hello,
Yes the data form is operated directly by the CSI, and ISP, that both are confidential module.
Regards