i.MX93 using MIPI-CSI-2 with a Bayer Pattern camera (RAW10)

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

i.MX93 using MIPI-CSI-2 with a Bayer Pattern camera (RAW10)

2,584 Views
steina
Contributor II

Hi,

I have a custom i.MX93 based board. Using the provided CSI-2 interface I want to use a bayer pattern camera (IMX327) transferring RAW10 data.

My device tree setup and media-ctl configuration is correct so far, but once I start the pipeline I get an IRQ storm from dwc-mipi-csi2 increasing "IPI Interface Fatal Error events" counter. The register value of INT_ST_IPI_FATAL is 0x2a indicating a IPI FIFO overflow. I suspect IPI is not pushing data to ISI at all, having not a single IRQ.

Reading https://community.nxp.com/t5/i-MX-Processors/About-settings-to-operate-ov5640camera-on-i-MX93EVK/m-p... there seems to some kind of special configuration. I tried to adapt these values to RAW10, but I was wondering about CAMERA_MUX[DATA_TYPE] value 0x31 (user define16). Why is this not 0x2b for CSI-2 data type RAW10 but user define?

What could be the cause for IPI errors? How I could I firther debug this issue?

Thank and best regards,
Alexander

0 Kudos
Reply
5 Replies

456 Views
IXM
Contributor I

Any Update I am facing same issue with Omnivision 9732

0 Kudos
Reply

2,335 Views
wooosaiiii
Contributor IV

Hi @brian14 ,

we are facing the same problem with i.MX93 and camera sensor that outputs RAW10/12 Bayer data.

Any ideas / suggestions?

Thanks

 

0 Kudos
Reply

2,456 Views
steina
Contributor II

Hi,

any news on this topic?

Thanks and best regards,
Alexander

0 Kudos
Reply

2,551 Views
brian14
NXP TechSupport
NXP TechSupport

Hi @steina

Thank you for contacting NXP Support.

I will review this case with the internal team, and I will contact you as soon as possible.

Have a great day!

0 Kudos
Reply

2,412 Views
steina
Contributor II
Hello,

any news? Another month has passed.

Thanks, Alexander
0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-1772341%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3Ei.MX93%20using%20MIPI-CSI-2%20with%20a%20Bayer%20Pattern%20camera%20(RAW10)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1772341%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3EI%20have%20a%20custom%20i.MX93%20based%20board.%20Using%20the%20provided%20CSI-2%20interface%20I%20want%20to%20use%20a%20bayer%20pattern%20camera%20(IMX327)%20transferring%20RAW10%20data.%3C%2FP%3E%3CP%3EMy%20device%20tree%20setup%20and%20media-ctl%20configuration%20is%20correct%20so%20far%2C%20but%20once%20I%20start%20the%20pipeline%20I%20get%20an%20IRQ%20storm%20from%20dwc-mipi-csi2%20increasing%20%22%3CSPAN%3EIPI%20Interface%20Fatal%20Error%20events%22%20counter.%20The%20register%20value%20of%20INT_ST_IPI_FATAL%20is%200x2a%20indicating%20a%20IPI%20FIFO%20overflow.%20I%20suspect%20IPI%20is%20not%20pushing%20data%20to%20ISI%20at%20all%2C%20having%20not%20a%20single%20IRQ.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EReading%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fi-MX-Processors%2FAbout-settings-to-operate-ov5640camera-on-i-MX93EVK%2Fm-p%2F1716885%2Fhighlight%2Ftrue%23M212016%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fi-MX-Processors%2FAbout-settings-to-operate-ov5640camera-on-i-MX93EVK%2Fm-p%2F1716885%2Fhighlight%2Ftrue%23M212016%3C%2FA%3E%26nbsp%3Bthere%20seems%20to%20some%20kind%20of%20special%20configuration.%20I%20tried%20to%20adapt%20these%20values%20to%20RAW10%2C%20but%20I%20was%20wondering%20about%20CAMERA_MUX%5BDATA_TYPE%5D%20value%200x31%20(user%20define16).%20Why%20is%20this%20not%200x2b%20for%20CSI-2%20data%20type%20RAW10%20but%20user%20define%3F%3C%2FP%3E%3CP%3EWhat%20could%20be%20the%20cause%20for%20IPI%20errors%3F%20How%20I%20could%20I%20firther%20debug%20this%20issue%3F%3C%2FP%3E%3CP%3EThank%20and%20best%20regards%2C%3CBR%20%2F%3EAlexander%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2179828%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20i.MX93%20using%20MIPI-CSI-2%20with%20a%20Bayer%20Pattern%20camera%20(RAW10)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2179828%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EAny%20Update%20I%20am%20facing%20same%20issue%20with%20Omnivision%209732%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1840778%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20i.MX93%20using%20MIPI-CSI-2%20with%20a%20Bayer%20Pattern%20camera%20(RAW10)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1840778%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F207096%22%20target%3D%22_blank%22%3E%40brian14%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%3CP%3Ewe%20are%20facing%20the%20same%20problem%20with%20i.MX93%20and%20camera%20sensor%20that%20outputs%20RAW10%2F12%20Bayer%20data.%3C%2FP%3E%3CP%3EAny%20ideas%20%2F%20suggestions%3F%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1818839%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20i.MX93%20using%20MIPI-CSI-2%20with%20a%20Bayer%20Pattern%20camera%20(RAW10)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1818839%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EHello%2C%3CBR%20%2F%3E%3CBR%20%2F%3Eany%20news%3F%20Another%20month%20has%20passed.%3CBR%20%2F%3E%3CBR%20%2F%3EThanks%2C%20Alexander%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1792962%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20i.MX93%20using%20MIPI-CSI-2%20with%20a%20Bayer%20Pattern%20camera%20(RAW10)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1792962%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3Eany%20news%20on%20this%20topic%3F%3C%2FP%3E%3CP%3EThanks%20and%20best%20regards%2C%3CBR%20%2F%3EAlexander%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1775779%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20i.MX93%20using%20MIPI-CSI-2%20with%20a%20Bayer%20Pattern%20camera%20(RAW10)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1775779%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F200210%22%20target%3D%22_blank%22%3E%40steina%3C%2FA%3E%2C%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%20for%20contacting%20NXP%20Support.%3C%2FP%3E%3CP%3EI%20will%20review%20this%20case%20with%20the%20internal%20team%2C%20and%20I%20will%20contact%20you%20as%20soon%20as%20possible.%3C%2FP%3E%3CP%3EHave%20a%20great%20day!%3C%2FP%3E%3C%2FLINGO-BODY%3E