• 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 » Embedded Software » Android » Android forum » AM/DM37x EVM - switching video input options
Share
Android
  • Forum
Options
  • Subscribe via RSS

AM/DM37x EVM - switching video input options

AM/DM37x EVM - switching video input options

This question is not answered
Jignesh Shah
Posted by Jignesh Shah
on Oct 14 2011 09:08 AM
Prodigy40 points

Hi,

 

I am using AM/DM37XEVM Rev G. from Mistral with Android Gingerbread 2.3 and Linux kernel 2.6.32. Steps mentioned at http://code.google.com/p/rowboat/wiki/DSP are followed to build the Android - Kernel, Filesystem etc.

I have following questions:

1. What is default video input options - TVP5146, Micron Camera Connector, On board LI Module or Expansion Connector?

2. As per am3715_hug.pdf, it says Expansion connector is the default case. if that is so, then it says by switching T2_GPIO_2, T2_GPIO_8 and GPIO_157 i can switch between different video input options. But it does not say how and where to do that when Java as an application development language and android is used.

3. With TVP5146 camera input option, can i switch between RGB, Composite and S-video? if yes, how can be done?

with default connections, I am getting green screen on the LCD.

Regards,

Jignesh Shah

With Best Regards,

Jignesh Shah

DM37xevm Android camera
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Vaibhav Hiremath
    Posted by Vaibhav Hiremath
    on Oct 17 2011 01:45 AM
    Expert8170 points

    Hi Jignesh,

    I may not be able to help you from Android interface perspective, I am not android expert...

     

    1. What is default video input options - TVP5146, Micron Camera Connector, On board LI Module or Expansion Connector?

    [Vaibhav] Two way of looking at default input, HW and SW perspective, and what user sees finally is SW default input. Until now we were supporting only TVP5146 video decoder input and which is enabled by default.

    Recently we have added Camera sensor interface (in YUV422 format) to the Linux kernel, but I am not sure whether Android is using it or not.

    2. As per am3715_hug.pdf, it says Expansion connector is the default case. if that is so, then it says by switching T2_GPIO_2, T2_GPIO_8 and GPIO_157 i can switch between different video input options. But it does not say how and where to do that when Java as an application development language and android is used.

    [Vaibhav] This is Android question, so I can help it out. From Linux perspective, these GPIO's are not exported to the user, what user sees is input (TVP5146 or sensor) and is controller through ioctl, which in turn controls these GPIO's to select and enable the requested input.

    3. With TVP5146 camera input option, can i switch between RGB, Composite and S-video? if yes, how can be done?

    [Vaibhav]With TVP5146 video decoder only 2 possible inputs are supported - CVBS ans S-Video.

     

    Thanks,

    Vaibhav

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Jignesh Shah
    Posted by Jignesh Shah
    on Oct 17 2011 08:20 AM
    Prodigy40 points

    Hi Vaibhav,

    Thanks for response.

    1. From the response, I understand that TVP5146 is default video input option with AM/DM37x EVM board. I tried connecting video camera to "CVBS in". With the default camera application in Android (built as descried in my earlier post), I am getting green screen on LCD. what could be possible solution to that?

    2. If GPIO is not exported to user space, how user can switch the video input options?

    3. how can i configure TVP5146 to switch between CVBS and S-Video from java application in android?

     

    Regards,

    Jignesh Shah

    With Best Regards,

    Jignesh Shah

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Vaibhav Hiremath
    Posted by Vaibhav Hiremath
    on Oct 17 2011 23:55 PM
    Expert8170 points
    saMmapLoopback.c

    As I mentioned before, I am not an Android guy, so I can not help you in any of the Android related question. I will try to answer you from Linux point of view and let somebody from Android team answer from Android perspective -

     

    1. From the response, I understand that TVP5146 is default video input option with AM/DM37x EVM board. I tried connecting video camera to "CVBS in". With the default camera application in Android (built as descried in my earlier post), I am getting green screen on LCD. what could be possible solution to that?

    [Vaibhav] The reason behind green screen could be that, you are not getting any interrupts from AM37x ISP. This could be because, Android is not setting any inputs, configuration mis-match, etc...

    I will share one application (saMmapLoopback.c) with you, please try it at your end. I have tested it with plain Linux, I expect it to work on Android as well.

    Note: Works only if you are using 2.6.37 based kernel from TI.

    2. If GPIO is not exported to user space, how user can switch the video input options?

    [Vaibhav] Why do you want to control each GPIO from user space if driver takes care of it? And it does take care of complete path for requested input, if not, then its bug in driver.

    By the way, you can access the GPIO's through sysfs, if you want but I wouldn't recommend that.

    Also, I would suggest you to go through PSP user guide which explains about camera input in detail - http://processors.wiki.ti.com/index.php/UserGuideOmap35xCaptureDriver_PSP_04.02.00.07

    This should be your starting point....

    3. how can i configure TVP5146 to switch between CVBS and S-Video from java application in android?

    [Vaibhav] Sorry, Android question....I can't help here.

     

    Thanks,

    Vaibhav

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Jignesh Shah
    Posted by Jignesh Shah
    on Oct 18 2011 07:46 AM
    Prodigy40 points

    Hi Vaibhav,

    I appreciate your help.

    I am new to Android, I am little bit familiar with Linux to know how to do what I want to do.

    Loopback is not working without modifying anything that surprises me most. I am using AM/DM37x EVM as it is and following the steps given on the 2.1 Developer guide (http://processors.wiki.ti.com/index.php/TI-Android-GingerBread-2.3.4-DevKit-2.1_DeveloperGuide). I also tried steps given at rowboat (http://code.google.com/p/rowboat/wiki/DSP) with no better result.

    I hope someone familar with Android and DM37x EVM would like to help me out.

    Thank you again for your support.

    With Best Regards,

    Jignesh Shah

    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