MIPI-CSI2 Required Operating Frequency Calculation

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

MIPI-CSI2 Required Operating Frequency Calculation

Jump to solution
9,939 Views
ko-hey
Senior Contributor II

Hi all

I want to know that the i.MX6D can be received 3MP at 60fps with MIPI-CSI2.

In connection with the above, I have question about how to calculate MIPI-CSI2 required operating frequency.

The maximum bandwidth in MIPI-CSI2 4lane is 3,200Mbps (= 800Mbps/lane x 4lane).

Addition for this, there are following examples in RM(Rev3.0).

pastedImage_0.png

To be calculated from the example, I think it is overflowed.

The calculation result is below.

6Mpixel x 24bit x 15fps x 1.5cycles/pixel = 3,24Mbps

Does my calculation is wrong ?

Please tell me how to calculate.

Also please tell me how to calculate the required operating frequency.

Add info:

I posted the following question before but no one answered.

How to calculate MIPI CSI-2 required operating frequency

Ko-hey

Labels (1)
0 Kudos
1 Solution
5,977 Views
igorpadykov
NXP Employee
NXP Employee

Hi Ko-hey

you are right: for MIPI-CSI2 generic data needs two cycles, so

it will be 405MB/s and bandwidth is insufficient.

Best regards

igor

View solution in original post

0 Kudos
6 Replies
5,975 Views
igorpadykov
NXP Employee
NXP Employee

Hi Ko-hey

assuming 125 MByte/s per lane, with configuration:

6Mpixel x 24bit x 15fps x 1.5cycles/pixel = 270MB/s * 1.5= 405MB/s

bandwidth will be insufficient.

1.jpg

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

0 Kudos
5,975 Views
ko-hey
Senior Contributor II

Hi Igor

For 4 lane configuration, the maximum bandwidth is 400MB/s.

So i.MX6D can't support the settings (6Mpixel x 24bit x 15fps x 1.5cycles/pixel ).

Is it correct ?

The example is wrong, isn't it ?

Once again I say, I want to know that the i.MX6D can be received 3MP at 60fps with MIPI-CSI2.

And there data format is RAW Bayer 12bit.

From above, I need following bandwidth.

Is it correct ?

3Mpixel x 12bit x 60fps x 1 cycles/pixel = 270MB/s x 1 = 270MB/s

As a result, can i.MX6D support the spec ?

ko-hey

0 Kudos
5,975 Views
igorpadykov
NXP Employee
NXP Employee

Hi Ko-hey

yes for 1 cycles/pixel calculation bandwidth is correct :

3Mpixel x 12bit x 60fps x 1 cycles/pixel = 270MB/s x 1 = 270MB/s

it can be supported with 3,4 lanes configuration.

Best regards

igor

0 Kudos
5,975 Views
ko-hey
Senior Contributor II

Hi Igor

According to your answer of another thread, generic data needs two cycles in MIPI-CSI2 interface.

https://community.freescale.com/thread/373387

As a result, the required data volume is below when I use generic data with MIPI-CSI2 interface.

Is it correct ?

3Mpixel x 12bit x 60fps x 2 cycles/pixel = 270MB/s x 2 = 540MB/s

If above calculation is correct, since the bandwidth is insufficient, i.MX6D can't support my customer's requirement.

Is it correct ?

Ko-hey

5,978 Views
igorpadykov
NXP Employee
NXP Employee

Hi Ko-hey

you are right: for MIPI-CSI2 generic data needs two cycles, so

it will be 405MB/s and bandwidth is insufficient.

Best regards

igor

0 Kudos
5,974 Views
ko-hey
Senior Contributor II

Hi Igor

Thanks !

Ko-hey

0 Kudos