iMX8QM - Pixel data loss from camera capture

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

iMX8QM - Pixel data loss from camera capture

Jump to solution
362 Views
sig0912
Contributor III

Hello community,

I am working with cameras on iMX8QM with Android 12.

When I enable up to 3 cameras at once everything works fine and I am able to preview the camera image.

But when 4 cameras are enable I get the following error message from ISI
mxc-isi 58100000.isi: mxc_isi_irq_handler, IRQ Panic OFLW Error stat=0x40040200 from CHNL_STS register

It suggests to increase the AXI bus priority for the Y/RGB channel.
Can you please guide me to where I can change the AXI bus priority?

It also refers to "The threshold for this panic interrupt can be set in the CTRL2 register"
Where can I find the CTRL2 register? I could not identify it in the source code

sig0912_0-1723033984530.png

This issue cause some pixel data to be lost as can be seen on the picture below

sig0912_1-1723034437825.jpeg

Thank You

Best Regards

 

0 Kudos
Reply
1 Solution
163 Views
sig0912
Contributor III

Update: Using 2 data lanes instead of 4 solved the issue

View solution in original post

0 Kudos
Reply
3 Replies
345 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

Which exactly error are you seeing? if the pixel loss check your dtb.

regards

0 Kudos
Reply
324 Views
sig0912
Contributor III

Hello,

Thanks for your answer.

This is the error that I am seeing all the time as the camera preview is enabled. Looking at the datasheet it suggests that I increase the AXI bus priority for the Y/RGB channel.

But I don't know how to change that parameter.

sig0912_0-1723107946947.png

Thanks

Best Regards

0 Kudos
Reply
164 Views
sig0912
Contributor III

Update: Using 2 data lanes instead of 4 solved the issue

0 Kudos
Reply