i.mx 8 mini support camera raw10 format?

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

i.mx 8 mini support camera raw10 format?

991 Views
ming_liao
Contributor I

Hi ,

I have brought up camera use raw8 format in i.mx 8 mini,i want to bring up raw10,

i change the code below:

sensor driver:

1. use the same camera sensor register but only change raw8 to raw10,

2. change colour_fmts from MEDIA_BUS_FMT_SBGGR8_1X8 to MEDIA_BUS_FMT_SBGGR10_1X10

CSI driver:

3.add support forV4L2_PIX_FMT_SBGGR10 in mx6s_configure_csi(mx6s_capture.c)

+ case V4L2_PIX_FMT_SBGGR10:
+ width = pix->width * 2;

+ case V4L2_PIX_FMT_SBGGR10:
+ cr18 |= BIT_MIPI_DATA_FORMAT_RAW10;
+ break;

i use v4l2 App to capture frame,but get error code "base address switching Change Err."

is there any other place should i change to support raw10 ?

BR,

Labels (1)
0 Kudos
Reply
1 Reply

618 Views
igorpadykov
NXP Employee
NXP Employee

Hi ming

 

seems it is supported as described in Table 13-5. CSI input Bridge data format, sect.13.3.4.1.1 Bayer Data,

sect.13.4.6.5 RAW format (Bayer RGB) i.MX8MMini Reference Manual

In general one can check data format in CSI_CSICR18, ISP Configuration Register (MIPI_CSI_ISP_CONFIGn).

https://www.nxp.com/docs/en/reference-manual/IMX8MMRM.pdf

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply