• 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 » Data Converters » Video Converters » Video Converters - Forum » TVP5146 settings to extract 640x480 image size
Share
Video Converters
  • Forum
  • Announcements
Options
  • Subscribe via RSS
Check out
Analog Wire blog
  • $core_v2_blog.Current.Name

    Cable equalization 101 – Automating your design

    Posted 2 days ago
    by Hooman Hashemi
    Judging by the number of views on a post related to numerical...
  • $core_v2_blog.Current.Name

    RS-485 - Who says you can't teach an old dog new tricks?

    Posted 6 days ago
    by Neel Seshan
    Would you agree that RS-485 has turned out to be one of the most...
  • $core_v2_blog.Current.Name

    Filter for thought

    Posted 7 days ago
    by Soufiane Bendaoud
    Have you ever wondered how engineers designed active filters...

Forums

TVP5146 settings to extract 640x480 image size

This question is not answered
Navin Reddy
Posted by Navin Reddy
on Aug 22 2011 08:51 AM
Prodigy25 points

We are using TI decoder-TVP5146 to convert PAL standard (625 line) with to 20-bit 4:2:2 with separate sync signals.

The image content that we are interested in is of size 640x480. But the PAL output of the TI decoder is 864x625.

In the incoming PAL video, the image that we need to capture and process (640x480) is at the center of the 864x625 window.

Please share the register configurations to be done in the TI decoder to capture this window of 640x480 size.

 

We are planning to use the following register settings. Kindly clarify if these register settings will ensure the desired functionality as described above.

Sl No

Register Name

Default

Value that we are using

1

HSYNC Start Pixel Register

0x 0

0x 0

2

HSYNC Stop Pixel Register

0x 040

0x 040

3

VSYNC Start Line Register

0x 004

0x 004

4

VSYNC Stop Line Register

0x 007

0x 007

5

AVID Start Pixel Register

88

128

6

AVID Stop Pixel Register

808

768

7

VBLK Start Line Register

623

587

8

VBLK Stop Line Register

23

59


video decoder TVP5146 TVP5147
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Larry Taylor
    Posted by Larry Taylor
    on Aug 22 2011 21:14 PM
    Genius16810 points

    Are you trying capture only the center portion of a standard PAL input using standard PAL sampling?

    Do you plan to use the AVID output to control capture of the active video portion?  If yes, then setting up AVID Start/Stop and VBLK will define the AVID active interval. 

    Your VBLK settings may require tweaking.  PAL is typically 576 active lines and you will need to crop to 480 active lines

     

    TVP5146M2
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Navin Reddy
    Posted by Navin Reddy
    on Aug 23 2011 08:57 AM
    Prodigy25 points

    Yes, I want only the center portion of the PAL input.

    Yes, I am getting AVID signal as input to my FPGA.

    I am using an FPGA to capture this video. Also, I need to process the video in gray scale only.

    Hence, instead of BT.656, I am planning to use simple interface of 20-bit 4:2:2 mode with separate Sync signals. I will be capturing only Y component of the output.

    So, shall I consider that by using AVID, VS/VBLK and HS signals, I will be able to achieve my requirement?

    Also, kindly confirm if the register setting are correct?

    TVP5146M2
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • praveen Tammali90356
    Posted by praveen Tammali90356
    on Dec 01 2011 01:18 AM
    Prodigy10 points

    Hi Navin,

    This is Praveen. Working on some video application. I am new to this video applications. We are planning to go with Texas TVP5146M2 decoder IC and Lattice LFXP2 FPGA. and a camera interface. Can you please help me building an hardware for this application.

     

    My mobile number: 9866339896

    mail:praveen@sumith.in

    TVP5146M2
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • nguyen ha
    Posted by nguyen ha
    on Dec 25 2011 18:39 PM
    Prodigy60 points

    Hi Navin,

    I am using the similar chip TVP5147 and I just want to know how do you set up the chip to output both VBLK and VS signals at the same time. The pin only allows you to output only either VS or VBLK signal.

    Thanks,

    Nguyen Ha

    Trident Systems Inc.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • nguyen ha
    Posted by nguyen ha
    on Dec 25 2011 18:45 PM
    Prodigy60 points

    Hi Larry,

    I am using a similar chip, the TVP5147M1 video decoder with a standard 720x480 NTSC input signal. My question is how do you get both VBLK and VSYNC to output at the same time since the pin on the chip only let you select either function VS or VBLK not both.

    I am having to generate the VS signal manually based on VBLK and it's not working because I am always a little off as far as the exact location of the VS pulse in the frame.

    Thanks,

    Nguyen Ha

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • peng hong
    Posted by peng hong
    on Dec 30 2011 19:46 PM
    Intellectual320 points

    Hi

       Larry

     

       I want to use tvp5146m2 input 723x579 sizer , crurent dm3730 tvp5146m2 bt565 (with embedded sync mode)input sizer 720x579,720x576 is ok.

      The omap-resizer to resizer 720x576 input must be 723x579. So  i need input 723x579.

     Change the tvp514x-int.h

       /* Number of pixels and number of lines per frame for different standards */
       #define NTSC_NUM_ACTIVE_PIXELS        (723)
       #define NTSC_NUM_ACTIVE_LINES        (483)
       #define PAL_NUM_ACTIVE_PIXELS        (723)
       #define PAL_NUM_ACTIVE_LINES        (579)

        kernel errors:

       omap3isp omap3isp: isp_wait: wait is too much
    omap3isp omap3isp: ccdc 1 won't become idle!
    omap3isp omap3isp: omap34xx_isp_isr: sbl overflow, sbl_pcr = 00800000
    omap-iommu omap-iommu.0: omap2_iommu_fault_isr: da:0019b340 translation fault
    omap-iommu omap-iommu.0: iommu_fault_handler: da:0019b340 pgd:cf930004 *pgd:8fba9801 pte:cfba9a6c *pte:00000000
    omap3isp omap3isp: omap34xx_isp_isr: sbl overflow, sbl_pcr = 00800000
    omap-iommu omap-iommu.0: omap2_iommu_fault_isr: da:0019b340 translation fault
    omap-iommu omap-iommu.0: iommu_fault_handler: da:0019b340 pgd:cf930004 *pgd:8fba9801 pte:cfba9a6c *pte:00000000
    omap3isp omap3isp: omap34xx_isp_isr: sbl overflow, sbl_pcr = 00800000
    omap-iommu omap-iommu.0: omap2_iommu_fault_isr: da:0019b340 translation fault
    omap-iommu omap-iommu.0: iommu_fault_handler: da:0019b340 pgd:cf930004 *pgd:8fba9801 pte:cfba9a6c *pte:00000000
    omap3isp omap3isp: isp_wait: wait is too much

     

    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