about imx6q virtual channel

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

about imx6q virtual channel

687 Views
richarddestiny
Contributor III

Hi,all

       ov5640 used ipu0 + csi1,and the virtual channel  is 1  ,like this:

ov5640_set_virtual_channel(ov5640_data.csi);

but,why the mipi_csi virtual channel is 0? and no matter  I set 0 or 1 ,the ov5640_mipi  was run normal,why?   pastedImage_1.png

thanks for your reply!

Labels (1)
0 Kudos
2 Replies

472 Views
Yuri
NXP Employee
NXP Employee

Hello,

  For MX6DQ:

            IPU0-CSI0: can be connected to parallel interface(GPR1 bit19 is 1) or
                              to mipi-csi2 virtual channel0(GPR1 bit19 is 0).

            IPU0-CSI1: can only be connected to mipi-csi2 virtual channel1.

            IPU1-CSI0: can only be connected to mipi-csi2 virtual channel2.

            IPU1-CSI1: can be connected to parallel interface(GPR1 bit20 is 1) or
                             to mipi-csi2 virtual channel3(GPR1 bit 20 is 0).

For MX6DL:

                IPU-CSI0:

                             GPR13 bit0-2    connection

                               000                mipi-csi2 virtual channel0

                               001                mipi-csi2 virtual channel1

                               010                mipi-csi2 virtual channel2

                               011                mipi-csi2 virtual channel3

                              100                 parallel interface

                IPU-CSI1:

                             GPR13 bit3-5    connection

                             000                  mipi-csi2 virtual channel0

                             001                  mipi-csi2 virtual channel1

                             010                  mipi-csi2 virtual channel2

                             011                  mipi-csi2 virtual channel3

                             100                  parallel interface


Have a great day,
Yuri

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

0 Kudos

472 Views
richarddestiny
Contributor III

HI,Yuri

               I know IPU0-CSI1: can only be connected to mipi-csi2 virtual channel1.  and the ov5640 vc also set 1, but the devise tree of the  imx6qdl-sabresd.dtsi  about mipi_csi vc=0,why?

0 Kudos