question about AR0144 driver

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

question about AR0144 driver

ソリューションへジャンプ
2,549件の閲覧回数
xu_ji1
Contributor V

Hello,

From doc AR0144 and ov9284 drivers for I.MX8QM/QXP. on community,about On imx8qm/qxp the data will be recieved as raw 16bit and the valid data bit start from bit[13] to LSB.

That means i.MX8 only can received 16 bit raw data? 12bit data can not support?

and when AR0144 gives 12bit data the other 4bit is filled by i.MX8 ISI or max96705?

0bxxdd_dddd_dddd_ddxx the 'x' means the filled data?

And about the tool  vulkan-v4l2,when run it happened error:

error: XDG_RUNTIME_DIR not set in the environment.
vulkan-v4l2: /home/nxf47746/data/project/glfw/src/window.c:955: glfwSetWindowUserPointer: Assertion `window != NULL' failed.
Aborted (core dumped)

How to fixed it?

Thanks

ラベル(1)
0 件の賞賛
1 解決策
2,309件の閲覧回数
nxf47746
NXP Employee
NXP Employee

V4L2_PIX_FMT_SBGGR16  should be modified to V4L2_PIX_FMT_Y12, I will update the patch later.

元の投稿で解決策を見る

0 件の賞賛
8 返答(返信)
2,309件の閲覧回数
nxf47746
NXP Employee
NXP Employee

 i.MX8qm/qxp raw data type only support 16bit, 'x' will be zero filled by isi.
The tool depends on wayland, it is only used to preview the mono raw image, you can also write your own capturing program to preview the image.

0 件の賞賛
2,309件の閲覧回数
xu_ji1
Contributor V

Thanks for reply,and from ov9284 patch that isi:

+ .name = "Y10",
+ .fourcc = V4L2_PIX_FMT_Y10,
+ .depth = { 16 },
+ .color = MXC_ISI_OUT_FMT_RAW16,
+ .memplanes = 1,
+ .colplanes = 1,
+ .mbus_code = MEDIA_BUS_FMT_Y10_1X10,

and driver is + max9286_data->format.code = MEDIA_BUS_FMT_Y10_1X10;

from ar0144 patch isi:

+ .name = "BYR2",
+ .fourcc = V4L2_PIX_FMT_SBGGR16,
+ .depth = { 16 },
+ .color = MXC_ISI_OUT_FMT_RAW16,
+ .memplanes = 1,
+ .colplanes = 1,
+ .mbus_code = MEDIA_BUS_FMT_SBGGR16_1X16,

and driver is + max9286_data->format.code = MEDIA_BUS_FMT_Y12_1X12;

why ar0144 is V4L2_PIX_FMT_SBGGR16 not V4L2_PIX_FMT_Y10 ?

Thanks

0 件の賞賛
2,310件の閲覧回数
nxf47746
NXP Employee
NXP Employee

V4L2_PIX_FMT_SBGGR16  should be modified to V4L2_PIX_FMT_Y12, I will update the patch later.

0 件の賞賛
2,309件の閲覧回数
xu_ji1
Contributor V

hello,

does 96705 cross bar set must need?what is the function?

If want to get correct data all the 9286 and 96705 register config need from the patch driver?

Thanks

0 件の賞賛
2,309件の閲覧回数
nxf47746
NXP Employee
NXP Employee

cross bar is not mandatory, as the document mentioned, it is only needed when the data bit is reversed.

The register config in the patch driver is just for reference, it's working on my platform, the register should be configured according to the "dbl bws PXL_CRC/edc hven hibw lccen him" on your platform.

0 件の賞賛
2,309件の閲覧回数
xu_ji1
Contributor V

hello,

The platform means i.MX8QXP or i.MX8QM or sensor module?

How to make clear about "dbl bws PXL_CRC/edc hven hibw lccen him"?

thanks

0 件の賞賛
2,309件の閲覧回数
nxf47746
NXP Employee
NXP Employee

platform means 8qxp/qm and sensor module.

for the dbl bws... please see the doc of max9286 and max96705.

0 件の賞賛
2,309件の閲覧回数
xu_ji1
Contributor V

Which AR0144  sensor module of producer that you used?

0 件の賞賛