We 'd like to realize real time souround view camera system by using 4 camera.
But i.MX6Q don't have 4 parallel video capture ports. Max 2 only. (=paralle1 and parallel2)
So Can we capture 4 camera signals simultaneously via MIPI-CSI2(4lane) ?
According to the reference manual, it seem to accept interleaved 4 streaming video data.
i.MX6Q SABRE-AI have MIPI connector. We want to make 4 camera extension board use this port.
kanou
Solved! Go to Solution.
Hi Kanou,
yes, that should be possible. The MIPI-CSI-2 port knows up to 4 virtual channels. Those can be routed to the two IPU blocks (2 each). You need to make sure that each stream uses a different virtual channel. The IPU has to be set to accept two virtual channels each.
Attached a diagram I drew during a discussion with FIL about this topic. Hope this clarifies the isue. Note that the IPU will take care of converting the incoming format to either RGB8888 or YUV4:4.4 before writing the data into memory.
Best Regards
Andreas
maybe I saying a stupid thing, but IMx6Q has 4 mipi (data) lines .... could be possible to have the 4 stream on the 4 different lines? I mean not time multiplexing but lines multiplexing...
is it permitted by mipi? If yes is simpler to mux 4 streams (but i think they should ve sincronous...)....
Omar
Hi Omar,
no - this has nothing to do with the logical streams through MIPI. The number of lanes only determines the maximum throughput for all data.
Andreas
ok thanks... I understand: with 4 lines i caan keep the clock lower or i can have more speed with the same clock...
So the FPGA seems to be the only way...
OK thanks
Yes , that's what i think too, but it take time to do that..... and you know time is a problem always...
If you have any customer that can sell (give for free?) the IP to us, plese let me know.
Thanks
Omar
Did someone have already a solution to handle multiple video streams with an i.MX6?
I have a similar project I would like to work on so I would love to see how this works out...
In my project I want to attach atleast two cameras in a stereo scopic arrangement in each direction and process the two feeds to try and map out distances etc. Similar to Microsofts Kinect device but hopefully without needing additional sensors. Are the quad processor boards fast enough to process two pairs of Stereo scopic screens in an application like this?
I basically want to build a surround image but want to use a total of 8 Cameras to build a fully 3D image with the consideration of item placement, distance and possible speed and direction. So it is similar but goes a step further.
Hi Kanou,
yes, that should be possible. The MIPI-CSI-2 port knows up to 4 virtual channels. Those can be routed to the two IPU blocks (2 each). You need to make sure that each stream uses a different virtual channel. The IPU has to be set to accept two virtual channels each.
Attached a diagram I drew during a discussion with FIL about this topic. Hope this clarifies the isue. Note that the IPU will take care of converting the incoming format to either RGB8888 or YUV4:4.4 before writing the data into memory.
Best Regards
Andreas
In this scenario where 4 channels of MIPI are using the two IPUs, does this render the two CSI ports unusable or do they remain available? We would like to make use of 4 channels of MIPI as well as two CSI ports simultaneously.
Hi Sebastien,
no this would not work. Each IPU can only handle two input streams simultaneously.
Mit freundlichen Grüßen / With best regards
Andreas Straub
Senior Field Application Engineer
Freescale Halbleiter Deutschland GmbH
Schatzbogen 7
81829 Muenchen / GERMANY
www.freescale.com<;http://www.freescale.com/>
Tel: +49 (0) 89 92103 - 544
Fax: +49 (0) 89 92103 - 101
Mobile: +49 (0) 171 4665886
All types of technical support (Schematic review, layout review, software review, hardware board and software) provided by Freescale Field application team are subject to Freescale's general Terms and Conditions unless superseded by a direct contract.
-
USt.-ID-Nr./VAT-ID-No. DE813898243
Steuernummer/Tax No. 143/138/30552
Sitz der Gesellschaft/Registered Office: München
Registergericht/Registered Court: Amtsgericht München HR B 151590
Geschäftsführer/General Manager: Jürgen Weyer, Daryl Raiford, Marie-Pascale Diez, John Holmes
This e-mail, and any associated attachments have been classified as:
Public
Freescale Semiconductor Internal Use Only
Freescale Semiconductor Confidential Proprietary
That makes sense, danke Andreas. Another related question though. If we're using both CSI parallel capture ports, one per IPU, are we still able to make use of the MIPI bridge to add an additional stream to one or both of the IPU?
Hi Sebastien,
well – I would try to route the two parallel ports onto one IPU and MIPI on the other one. To my
knowledge you could mix them as well, but honestly – I would not want to have to set this up :smileywink:
Mit freundlichen Grüßen / With best regards
Andreas Straub
Senior Field Application Engineer
Freescale Halbleiter Deutschland GmbH
Schatzbogen 7
81829 Muenchen / GERMANY
www.freescale.com<;http://www.freescale.com/>
Tel: +49 (0) 89 92103 - 544
Fax: +49 (0) 89 92103 - 101
Mobile: +49 (0) 171 4665886
All types of technical support (Schematic review, layout review, software review, hardware board and software) provided by Freescale Field application team are subject to Freescale's general Terms and Conditions unless superseded by a direct contract.
-
USt.-ID-Nr./VAT-ID-No. DE813898243
Steuernummer/Tax No. 143/138/30552
Sitz der Gesellschaft/Registered Office: München
Registergericht/Registered Court: Amtsgericht München HR B 151590
Geschäftsführer/General Manager: Jürgen Weyer, Daryl Raiford, Marie-Pascale Diez, John Holmes
This e-mail, and any associated attachments have been classified as:
Public
Freescale Semiconductor Internal Use Only
Freescale Semiconductor Confidential Proprietary
I didn't realize I could route both parallel ports to a single IPU. That does seem the most logical, thanks again for your quick replies.
Hi Sebastien,
you are right …. it looks like only the MIPI CSI2 port can be switched to both CSIs ….
Mit freundlichen Grüßen / With best regards
Andreas Straub
Senior Field Application Engineer
Freescale Halbleiter Deutschland GmbH
Schatzbogen 7
81829 Muenchen / GERMANY
www.freescale.com<;http://www.freescale.com/>
Tel: +49 (0) 89 92103 - 544
Fax: +49 (0) 89 92103 - 101
Mobile: +49 (0) 171 4665886
All types of technical support (Schematic review, layout review, software review, hardware board and software) provided by Freescale Field application team are subject to Freescale's general Terms and Conditions unless superseded by a direct contract.
-
USt.-ID-Nr./VAT-ID-No. DE813898243
Steuernummer/Tax No. 143/138/30552
Sitz der Gesellschaft/Registered Office: München
Registergericht/Registered Court: Amtsgericht München HR B 151590
Geschäftsführer/General Manager: Jürgen Weyer, Daryl Raiford, Marie-Pascale Diez, John Holmes
This e-mail, and any associated attachments have been classified as:
Public
Freescale Semiconductor Internal Use Only
Freescale Semiconductor Confidential Proprietary
Hi Andreas,
Just wanted to ensure I understand correctly. We are able to capture two parallel camera interfaces as well as one or two MIPI streams concurrently on the i.MX6? I'm looking at the block diagram in the i.MX6Q reference manual Figure 19-1, it shows CSI0->IPU0 CSI1->IPU1 and MIPI gasket to IPU0 and IPU1.
Thank you very much for your time,
Sébastien Taylor
Hi Sebastien,
well, the hw connectivity allows for that – not so sure, if you can actually program the chains inside the IPU to do this.
Please ask an IPU expert for this. None of my customers ever tried that ….
Mit freundlichen Grüßen / With best regards
Andreas Straub
Senior Field Application Engineer
Freescale Halbleiter Deutschland GmbH
Schatzbogen 7
81829 Muenchen / GERMANY
www.freescale.com<;http://www.freescale.com/>
Tel: +49 (0) 89 92103 - 544
Fax: +49 (0) 89 92103 - 101
Mobile: +49 (0) 171 4665886
All types of technical support (Schematic review, layout review, software review, hardware board and software) provided by Freescale Field application team are subject to Freescale's general Terms and Conditions unless superseded by a direct contract.
-
USt.-ID-Nr./VAT-ID-No. DE813898243
Steuernummer/Tax No. 143/138/30552
Sitz der Gesellschaft/Registered Office: München
Registergericht/Registered Court: Amtsgericht München HR B 151590
Geschäftsführer/General Manager: Jürgen Weyer, Daryl Raiford, Marie-Pascale Diez, John Holmes
This e-mail, and any associated attachments have been classified as:
Public
Freescale Semiconductor Internal Use Only
Freescale Semiconductor Confidential Proprietary
Andreas, Kanou, please inform me where I can purchase a MIPI-CSI2 camera that is cable-compatible with the i.MX6Q-SABRE boards.
Thanks,
Alison Chaiken
Embedded Software Division
Mentor Graphics
Hi Alison,
I am not aware of a camera that would directly fit our interface. ADI offers a video decoder card that fits with the exception of the I2C lines being exchanged. So with a cable correcting this it would fit.
Mit freundlichen Grüßen
with best Regards
Andreas Straub
Sent from my mobile device.
Am 13.12.2012 um 19:00 schrieb "alisonchaiken_mentor" <admin@community.freescale.com<mailto:admin@community.freescale.com>>:
https://community.nxp.com/4 video capture using MIPI-CSI2 port
created by alisonchaiken_mentor<https://community.nxp.com/people/alisonchaiken_mentor> in i.MX Community - View the full discussion<https://community.nxp.com/message/309524#309524>