I just started working on a project that need the use of two cameras that acquire in the same time two different images like is usually done in the 3d systems but this is not my case. I would like to have some information about the best way to cononect 2 cameras to omap4 and the capability of the linux camera driver to manage to different cameras simultanously.
My project is in an early stage and for now i can imagine two possibility:
1) Use two USB camera connected to the processor. Omap4 is powerful enough to manage two 3.1Mpix camera on linux?
2) I have to create a dedicated board, so i can mount directly two cmos (the right one with linux driver aptina or OV) on the board and connect them to CSIA and CSIC
In the second case linux can recognize the cameras as two different devices? You know some reference design or existing project that can aid me in this way?
Thanks in advance,
For second approach, you will need multi instance OMX camera support. This is under progress. For now you can set OMX camera in stereo mode and get a single buffer which has outputs of 2 sensors in top-bottom or side-by-side format.
In reply to Mayank Mangla:
Thanks for the reply. So i have to connect the two sensor in a stereoscopic topology like the one showed in the aptina sensor datasheet.
OMX is an API, but which physical devices have drivers that are compatible with the captured functions of OMX camera you were referring to? can you make an example?
In reply to Giulio Pelosi:
You can connect the sensors to OMAP as 2 independent cameras. OMAP4 OMX component internally uses CSI2 protocol to get data from the sensors. On our reference platform we have used OV5650 sensors, but any CSI2 compliant sensor should work
what are the required steps in order to capture in stereo mode top-bottom
we have tried that, and the streams became "green coloured"
In reply to Yaron dori:
If you are using Android, CameraHAL has parameters to specify TB (top bottom) or SS (side by side) format. You must select a preview resolution from supported resolution table.
For more details, please start a new thread since this one is already considered closed.
I would have some infos about your reference platform. Is it a commercial device? If this is the case, what's its name?
We are using the Variscite OM4460 DVK with the CB401 extension board which can to connect two independent cameras on CSI2 ports of the OM4460. Our purpose is to acquire from the two cameras simultaneously. We tried to use the omx_camera_test sample program of the omapdrmtest package in the TI PPA (https://launchpad.net/~tiomap-dev/+archive/release/+packages) running from the command line of a Linux distribution (Ubuntu Precise). The application can invoke the omx_driver in different modes using different command line parameteres (sensor 0 = primary cam, sensor 1 = secondary cam, sensor 2 = stereo mode).
Unfortunately we couldn't get the stereo stream because the extension board is shipped with compact camera modules with OV5640 sensor. Therefore, here some further questions:
1) Since you said that the stereo mode should work with any CSI2 compliant devices, do you figure out why it doesn't work with ov5640?
2) Since the CB401 extension board connects the cameras to the two CSI2 connection of the OMAP4460, can you suppose that it is sufficient to substitute the ov5640 compact camera modules with an ov5650 compact camera module to get the stereo stream?
3) As before, what's your reference design capable of stereo mode equipped with ov5650 sensors?
4) Do you have any schematic of this reference design to figure out if the connection to OMAP4460 is correct for stereo mode acquisition?
5) Do you think we will need to change or upgrade the Ducati firmware to make the stereo acquisition mode working? Where we can find an Ubuntu distro with the proper Ducati firmware compatible with the stereo acq mode?
Any further comment is appreciated.
Thanks in advance,
In reply to Jonathan Torricelli:
It may be a software issue. Technically there is no reason why stereo mode does not work for ov5640
Simple HW substitution will not do. You will need to modify Ducati to accommodate OV5640 driver
Blaze board. http://www.omapworld.com/blaze.html
I am not sure if schematic can be shared without NDA. Please contact your TI representative
Again, contact your TI representative to get correct Ubuntu and Ducati release.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.