IMX8M MIPI-CSI with Sony IMX412 camera

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

IMX8M MIPI-CSI with Sony IMX412 camera

3,317 Views
jameskim
Contributor II

Hi,

I'm going to develop a product two sony IMX412 MIPI cameras with iMX8M. Is it possible?

https://www.sony-semicon.co.jp/products_en/IS/sensor0/img/product/cmos/IMX412-AACK_Flyer03.pdf

James Kim

0 Kudos
Reply
9 Replies

2,717 Views
igorpadykov
NXP Employee
NXP Employee

Hi James

in general it can be used, as described in sect.13.1.1.1 Display Interface

i.MX8MDQ Reference Manual :

"Support up to 4 data lanes..
• Support 5M pixel at 15 fps, 1080p30, 720p60, VGA at 60 fp "
https://www.nxp.com/webapp/Download?colCode=IMX8MDQLQRM 

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

0 Kudos
Reply

2,717 Views
jameskim
Contributor II

Hi Igor,

Thanks for a replay but I need the details.

Pixels come in following:

Line 1: Gb B Gb B Gb B ......... Gb B

Line 2:  R Gr R  Gr R  Gr ......... R Gr

Line 3:  Gb B Gb B Gb B ......... Gb B

Line 4:  R Gr R  Gr R  Gr ......... R Gr

....

Line N-1: Gb B Gb B Gb B ......... Gb B

Line N: R Gr R  Gr R  Gr ......... R Gr

P1, P2,P3, ... P638, P639, P640 are 8 bits respectively. LSBs is also 8 bits.

Capture.PNG

Which format of MIPI CSI is best for this? I will not use LSBs.

Regards,

James

0 Kudos
Reply

2,717 Views
igorpadykov
NXP Employee
NXP Employee

Hi James

one can look at sect.13.8.3.6 CSI-2 Rx Controller Core Data Types Formatting

Reference Manual.

Best regards
igor

0 Kudos
Reply

2,717 Views
jameskim
Contributor II

Hi,

Now I understand that I can use RAW8 mode but how I can drop LSB byte at every fifth pixel. 

How to use user defined mode?

James

0 Kudos
Reply

2,717 Views
igorpadykov
NXP Employee
NXP Employee

I am afraid this is not possible, sorry.

Best regards
igor

0 Kudos
Reply

2,717 Views
jameskim
Contributor II

Okay there is a limitation on a MIPI. How about DMA that can skip a pixel?

James

0 Kudos
Reply

2,717 Views
igorpadykov
NXP Employee
NXP Employee

I am afraid this is not possible with dma too, sorry.

Best regards
igor

0 Kudos
Reply

2,717 Views
jameskim
Contributor II

Then CPU direct access is only option?

James

0 Kudos
Reply

2,717 Views
igorpadykov
NXP Employee
NXP Employee

yes receive data using supported fromats described in

sect.13.8.3.6 CSI-2 Rx Controller Core Data Types Formatting RM,

then process data using arm core.

Best regards
igor

0 Kudos
Reply