• 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 » Digital Signal Processors (DSP) » OMAP™ Processors » OMAP-L13x, AM1x and C674x Processors Forum » OMAPL138's VPIF raw capture
Share
OMAP™ Processors
  • Forums
  • Announcements
Options
  • Subscribe via RSS
Resources
  • OMAP-L1x DSP+ARM9™-based Processors Product Folder
  • OMAP3525/30 DSP+ARM Cortex™-A8-based SOCs Product Folder

  • Top OMAPL Wiki Links
  • OMAPL3x Schematic Review Checklist
  • OMAPL13x Boot resources

  • OMAPL Document Resources
  • OMAPL137 Technical reference manual
  • OMAPL138 Technical reference manual
  • OMAPL Boot loader App Notes
  • Forums

    OMAPL138's VPIF raw capture

    This question is not answered
    Fabien SAGE
    Posted by Fabien SAGE
    on Apr 05 2012 07:46 AM
    Prodigy40 points

    Hello all,

    I'll list off a few of my questions and I would be greatful for responses. 

    1. Is there any DSP example code from TI or else where using the VPIF with the DSP core? 

    2.  How do you specify the address of where the raw captured data should be put in ram.  In progressive mode the CMOS camera will continue outputing its data for a full picture.  So there is no top/bottom field nor is there any luminance or chrominance because it outputs raw RGB data.  So in raw data capture mode do you just use "C0TLUMA" Channel 0 top field luminance address register?  Or are there other registers that need set?

    3.  "C0IMGOFFSET" is this just the size in memory for one row of the picture? 

    4.  Is there a mistake on page 48 of SPRUGJ9-June 2009 (OMAP-L1348 VPIF User's Guide)?  The comments on interrupt FRAME1 and FRAME0 both indicate that these interrupts in CCD/CMOS capture mode are enabling the line interval interrupt.  From other parts of the manual it is my understanding that in this mode there are two interrupts, the line interrupt and the full frame/picture interrupt.  Is this a type-O and FRAME1 is realy the full picture interrupt?

    5. How do you configure the channel-n sub-picture "register CnSUBPIC"? and what is interest of this register?

    Thanks for any help.

    Fabien

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    All Replies
    • Fabien SAGE
      Posted by Fabien SAGE
      on Apr 13 2012 08:26 AM
      Prodigy40 points

      Nobody can help me !!?

      Thanks

      Fab'

      PS : 

      I used OMAP L138 with CCS .v5 on windows

      i want used VPIF interface in Progressive CCD Raw capture mode.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Fabien SAGE
      Posted by Fabien SAGE
      on Apr 18 2012 03:26 AM
      Prodigy40 points

      I receives a lot of data in memory but are only zero ...(0x00000000).

      I can't get the data that my FPGA sends me.

      VPIF_REVID                =    0x4C080A01;
      C0CTRL                      =    0x0120F404;
      C1CTRL                      =    0x00000404;
      C0TLUMA                    =    0xC3800000;  //start address in DDR2
      CH0_SUBPIC_CFG     =    0x00FF01FF;
      C0IMGOFFSET           =    0x00000120;  //288 lines
      CH1_SUBPIC_CFG     =    0x00FF01FF;
      C1IMGOFFSET           =    0x00000120;  //288 lines
      C1TLUMA                   =    0xC3800000;  //start address in DDR2
      REQSIZE                    =    0x00000100;  //256 bytes

      others register are set to zero.

      After initialisation register, I active EN bit on C0CTRL and C1CTRL

      C0CTRL                      =    0x0120F405;
      C1CTRL                      =    0x00000405;

      Can you tell me what I do wrong?

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Rahul Prabhu
      Posted by Rahul Prabhu
      on May 02 2012 15:44 PM
      Genius16100 points

      Fabien,

      Sorry for the delay in response on this post. You can find an example code on the logic PD website for interfacing the mt9v032 sensor with DSP on OMAPL138. It contains a CCSv4 project that implements this functionality using VPIF raw capture. I have attached the project here.

      5417.OMAPL138_Image_sensor_test.zip

      For the complete package login to logic pd website and download the 2.3.2 package of the BSL_WS package.

      Hope this helps.

      Regards,

      Rahul

      ---------------------------------------------------------------------------------
      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.
    • Mark Duda
      Posted by Mark Duda
      on Feb 27 2013 16:58 PM
      Prodigy250 points

       Hello,

      I want to use OV5640 sensor with VPIF Omap L138 in RAW mode. I can't do it. I think that my camera sends wrong Vsync signal and that is why in my program there is no interrupt to capture data. I think that Vsync should be high for long time not only one PCLK. Am I right? Maybe somebody has worked with this sensor. 

       




      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Mark Duda
      Posted by Mark Duda
      on Mar 04 2013 14:28 PM
      Prodigy250 points

      So nobody can help me?? I discovered that when I have good signals v_valid and h_valid I don't get interrupt i my program. So I can say that I have problem with my code I think.I need tested configuration code for raw data vpif. I have tried do this for 2 weeks. I would be grateful for help.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Michael Huang1
      Posted by Michael Huang1
      on May 03 2013 22:34 PM
      Prodigy30 points

      Hi,

      I think you can invert the incoming vertical pixel valid signal inside the vpif, or in the OV5640. There should be a register bit to accomplish this.

      Michal

      vpif
      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