• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » OMAP™ Applications Processors » OMAP 4 Forum » OMAP 4 double cam connection
Share
OMAP™ Applications Processors
  • Forums
Options
  • Subscribe via RSS

OMAP 4 double cam connection

OMAP 4 double cam connection

This question is answered
Giulio Pelosi
Posted by Giulio Pelosi
on Jul 27 2012 07:52 AM
Prodigy20 points

Hi all,

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,

Giulio

Camera CSI 4460
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Mayank Mangla
    Posted by Mayank Mangla
    on Jul 27 2012 10:55 AM
    Expert3815 points

    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.

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

    Please click the Verify Answer button on this post if it answers your question.
    ------------------------------------------------------------------------------------------------------------------

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Giulio Pelosi
    Posted by Giulio Pelosi
    on Jul 27 2012 11:22 AM
    Prodigy20 points

    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?

    Thanks,

    Giulio

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Mayank Mangla
    Posted by Mayank Mangla
    on Jul 27 2012 11:30 AM
    Verified Answer
    Verified by Magdalena Iovescu
    Expert3815 points

    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

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

    Please click the Verify Answer button on this post if it answers your question.
    ------------------------------------------------------------------------------------------------------------------

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Yaron dori
    Posted by Yaron dori
    on Dec 25 2012 13:45 PM
    Prodigy115 points

    Hello Mayank,

    what are the required steps in order to capture in stereo mode top-bottom

    we have tried that, and the streams became "green coloured"

    Thanks

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Mayank Mangla
    Posted by Mayank Mangla
    on Dec 25 2012 17:49 PM
    Expert3815 points

    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.

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

    Please click the Verify Answer button on this post if it answers your question.
    ------------------------------------------------------------------------------------------------------------------

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Jonathan Torricelli
    Posted by Jonathan Torricelli
    on Mar 07 2013 10:03 AM
    Prodigy10 points

    Hi Mayank,

    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,

    Gionatan

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Mayank Mangla
    Posted by Mayank Mangla
    on Mar 07 2013 11:00 AM
    Expert3815 points

    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?

    It may be a software issue. Technically there is no reason why stereo mode does not work for 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?

    Simple HW substitution will not do. You will need to modify Ducati to accommodate OV5640 driver

    3) As before, what's your reference design capable of stereo mode equipped with ov5650 sensors?

    Blaze board. http://www.omapworld.com/blaze.html

    4) Do you have any schematic of this reference design to figure out if the connection to OMAP4460 is correct for stereo mode acquisition?

    I am not sure if schematic can be shared without NDA. Please contact  your TI representative

    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?

    Again, contact  your TI representative to get correct Ubuntu and Ducati release.

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

    Please click the Verify Answer button on this post if it answers your question.
    ------------------------------------------------------------------------------------------------------------------

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

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.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use