AnsweredAssumed Answered

iMX8QM RAW12 Camera (AR0231)

Question asked by Lorenzo Giraudi on Dec 3, 2019
Latest reply on Dec 24, 2019 by Xu Ji

Hello everyone,

I have a custom board with an iMX8 Quad Max and a max9286 deserializer. The OS is built with yocto starting from the release L4.14.98_2.0.0_ga.

Using a sensor (AR0231) that outputs RAW12 pixels, I managed to get an image but with a very strange colors using gstreamer. I discovered that probably gstreamer does not support bayer/raw format on 12bits. But also capturing a single frame with v4l2-ctl gets a really strange.


I was wondering:

  1. If the CSI has to be told which pixel format is used. I saw that there is a register called CSI2SS_DATA_TYPE inside the file mxc-mipi-csi2.c, but if I modify it it stops working.
  2. If anyone of you did a similar task which steps you followed.

Thank everyone!