• 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 » TVP5150 burst issue
Share
Video Converters
  • Forum
  • Announcements
Options
  • Subscribe via RSS
Check out
Analog Wire blog
  • $core_v2_blog.Current.Name

    This amplifier doesn't exist...now what!?

    Posted 18 hours ago
    by Xavier Ramus
    Sometimes it’s impossible to find an amplifier with the...
  • $core_v2_blog.Current.Name

    Cable equalization 101 – Automating your design

    Posted 3 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 7 days ago
    by Neel Seshan
    Would you agree that RS-485 has turned out to be one of the most...

Forums

TVP5150 burst issue

This question is not answered
Saeb Abdallah
Posted by Saeb Abdallah
on Mar 06 2012 06:36 AM
Intellectual440 points

My customer is using the TVP5150AM1 TV decoder.  Having a problem where the color carrier  being digitized in addition to the regular TV signal.  Normally this color carrier is filtered out before being digitized.  It causes oscillations on the luminance data at the color carrier frequency when its not being filtered.    

Any ideas for a possible reason!

 

Thanks- 

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • James Nave
    Posted by James Nave
    on Mar 12 2012 13:50 PM
    Expert6160 points

    Hello Saeb,

    This question makes no sense as worded.

    The entire composite video waveform including the color subcarrier is always supposed to be digitized by the TVP5150AM1.

    Please describe the observed issue in detail.

    There will always be some false color and dot crawl artifacts due to comb filter limitations.

    Regards,

    Jim

    TVP5150AM1
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • James McNeill
    Posted by James McNeill
    on Mar 13 2012 16:11 PM
    Prodigy150 points

    Hi,

    Let me try and clarify the question.  And this could all be just a Register mistake.  I've attached as much info as I can.

    Here you can see the inner block diagram.  At the top "Composite" is where the Luma data is processed.  The bottom is where the Cr and Cb enter.  Chrominance is re-modulated and is subtracted from the Luma data.  Now the luma data should not have color, and is then digitized.  In S-video, the path goes through the mux without being subtracted.  For NTSC, it is subtracted, filtered, and then digitized.

    The problem almost looks like it's set for S-video, where the Color burst information is riding on the Y data.  That shouldn't happen I don't believe, when setup properly.  In the end, the digital data coming out should just be separate in the form YCrCb 4:2:2.

    So I've created a video frame with a single yellow line on it.  I've attached a picture.  You can see how there are pixels are changing brightness.

    I've captured the YCrCb data coming from the decoder where the line is.  I find the Cr and Cb are pretty much constant as you would expect.  Y has an oscillation on it.  You can calculate that oscillation frequency to be about the color burst frequency.  I've attached pictures.  The video resolution is 720x242.

    Using the Data I've graphed the amplitude of the Y data.

    When I move the plug from the DVD player composite output and plug it into the "Y" portion of the component output I get this.  And is in vary good shape.

    Unfortunately, I can't seem to figure out exactly what the problem is.  I've reviewed the registers, and they look ok to me.  Maybe a second set of eyes would help.

    I've also attached the schematic.  The video input "INPUTA_GREEN" is driven from an onboard video amplifier.

    Also on this board is a VGA video decoder which is fed data from the same source.  It does not have any issues like this.

    Anyways, Please help if you can.  Thanks.

    Regards,

    James McNeill

    3073.TVP5150 RegDump.txt

    3021.lastFrame.zip

    6165.18_2101v2_2101v2.pdf

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • James McNeill
    Posted by James McNeill
    on Mar 13 2012 16:18 PM
    Prodigy150 points

    Hi,

    It looks like some of my pictures got removed.

    TVP5150 Internal Diagram

    Line With Color Oscillations

    Line with Video connected to DVD Y of component output.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • James Nave
    Posted by James Nave
    on Mar 13 2012 18:20 PM
    Expert6160 points

    Hello James,

    I haven't found anything yet that would explain what you're seeing, but I did find a few things that concern me.

    According to registers 33h and 83h, you're not using the latest patch.  Using the latest patch is strongly recommended.

    The latest patch (v048CAA) can be downloaded from the following web site.

    http://software-dl.ti.com/dsps/dsps_public_sw/dsps_swops_houston/ANALOG_VIDEO/Analog_Video_Decoder_Versions.htm

    The source impedance of the two 300 ohm resistors (i.e. 150 ohms) is much higher than recommended (~37.5 ohms).  The TVP5150AM1 clamp performance degrades with increasing source impedance.

    Based on your schematic, I'm concerned that you're not following our PCB layout guidelines which recommends using a split ground plane (i.e. separate AGND and DGND).  You basically have everything referenced to AGND1.

    http://www.ti.com/general/docs/lit/getliterature.tsp?literatureNumber=slea081&fileType=pdf

    Also, you don't appear to be using the recommended anti-aliasing filter.

    http://www.ti.com/general/docs/lit/getliterature.tsp?literatureNumber=slea087a&fileType=pdf

    Regards,

    Jim

    TVVP5150AM1
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • James McNeill
    Posted by James McNeill
    on Mar 15 2012 18:10 PM
    Prodigy150 points

    Hi Jim,

    Thank you very much for the help.  I'm still in the process of implementing some of these changes.  I had another question.  If I buy new chips today, will they come with the newest firmware?  Also, when I buy the chips, is there a way to identify what firmware version is in them from the packaging or part marking?  The chips I have (TVP5150AM1IPBS) are marked with 5051l.  The TI website says they should be marked with 5150Q.

    Thanks for your help.

    Regards,

    James

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • James Nave
    Posted by James Nave
    on Mar 15 2012 18:27 PM
    Expert6160 points

    Hello James,

    No, there are currently no plans to update the on-chip ROM code.

    The latest version of the TVP5150AM1 ROM code is v04.  The ROM code version can be read from I2C register 82h.

    Recommend that you always use the latest patch from the patch download website.

        http://software-dl.ti.com/dsps/dsps_public_sw/dsps_swops_houston/ANALOG_VIDEO/Analog_Video_Decoder_Versions.htm

    Regards,

    Jim

    TVP5150AM1
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • James McNeill
    Posted by James McNeill
    on Mar 15 2012 18:32 PM
    Prodigy150 points

    Hi Jim,

    I noticed you said the latest patch code was v048CAA.  There are patch code versions with higher version numbers there.  v04.90.02 and v04.A1.02.  Is v04.8C.AA the latest?  They all seem to have been released on the same day.  Do all newer patch codes include the changes from the older ones?

    Thanks for your help.

    Regards,

    James

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • James Nave
    Posted by James Nave
    on Mar 15 2012 18:36 PM
    Expert6160 points

    James,

    Please read the patch description.

    The other patches are for different timing standards (e.g. square-pixel timing).

    Regards,

    Jim

    TVP5150AM1
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Larry Taylor
    Posted by Larry Taylor
    on Mar 19 2012 12:35 PM
    Genius16810 points

    Improper video termination and signal level attenuation could lead to signal levels higher than that recommeded for the TVP5150AM1.  This could lead to chrominance clipping at the ADC.  We have seen this result in banding and artifacts when viewing certain colors.

    Regards,

    Larry

     

    TVP5150AM1
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • James McNeill
    Posted by James McNeill
    on Mar 21 2012 09:38 AM
    Prodigy150 points

    Hi Jim,

    About the Patch code..  The pdf document SLEA093 "TVP5150AM1 Patch Code Download Guidelines"  says

    Check the version number in registers 0x82 and 0x83. The values you will see are 0x04 and 0xXX,
    respectively. XX refers to the patch code revision number.

    Since the patch code is v 04.8C.AA.  What is the value that should be read back from 0x83 once the patch is done?  Would it be 8C or AA or something else.

    I've followed the download procedure from SLEA093 section 1.2.  The device returns ACKs to everything, but I still read 0x00  from address 0x83.

    Can I read back the code to be sure it was written correctly?

    Thanks for your help.

    Regards,

    James

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • James McNeill
    Posted by James McNeill
    on Mar 21 2012 15:55 PM
    Prodigy150 points

    Hi Jim,

    Never mind.  I found my error.  And Register 0x83 displays 8C for the current version v04.8C.AA.

    Regards,

    James

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • James McNeill
    Posted by James McNeill
    on Mar 21 2012 18:58 PM
    Prodigy150 points

    Hi,

    The patch code did not fix the problem I am having.  The Data coming from the decoder still appears to have color information in the Luma data.

    This can be proven in data that I captured.  The noise is there when a color picture is used and not when a black and white picture is used.  Besides the termination and Anti-aliasing filter, do you have any other suggestions?

    Is there an Eval board that I can test?  There is the TVP5150AEVM but there is no stock anywhere.

    Tomorrow I'll try adding the Anti aliasing filter and changing the termination.

    Thanks for your help.

    Regards,

    James.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • James McNeill
    Posted by James McNeill
    on Mar 26 2012 13:44 PM
    Prodigy150 points

    Hi,

    Thanks for your responses, but we have tried everything suggested and the problem still persists. You can see from the traces I provided that the chip is not separating color from luminence in certain cases. This is a very big bug that is unlikely to be fixed by a few tweaks to external components. How TI could sell this chip with this problem is a mystery. We've wasted weeks trying to get this fixed.

    At this point, I can only see one solution to fix the problem, and that is to remove the chip and use a different one.

    Thanks for your help.

    Regards,

    James

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Larry Taylor
    Posted by Larry Taylor
    on Mar 27 2012 14:00 PM
    Genius16810 points

    James,

    Make sure bit 5 of REG03h is set to 1 to make pin 27 an output.  If pin 27 is floating and left configured as an input, color processing issues could result.  The symtpoms you have decribed do not seem to be related to this, but this should be tried to make sure.

    You tried attenuating the input as recommeded, right?

    Have you tried multiple TVP5150AM1 devices?

    Do you have a TVP5150EVM to try with your video source?

    If you view a color bar test pattern, are colors mostly correct and stable, and just certain colors have vertical bandiing present?

    Regards,

    Larry

     

    TVP5150AM1
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • James McNeill
    Posted by James McNeill
    on Mar 27 2012 14:47 PM
    Prodigy150 points

    Hi Larry,

    It looks like register 0x03 bit 5 is already being set to 1.

    I did try attenuating the input and lowering the value of the termination resistors.  I also patched in the anti-aliasing filter.  And updated the patch code.  Overall, I see no difference.  Not even a little difference.  I previously attached a file  "3021.lastFrame.zip " .  It shows one frame of video.  It's black with a single line in the middle. 

    This is the test because in some of our applications, there is just lines and text.  This is how the lines show up.

    Now, if you play a movie or moving video of some sort, you can't see a problem at all.  Regular active graphics looks fine.

    We have tried other TVP5150AM1 chips.  This IC is used on 4 of our products.  Each product uses 2 or 4 of these devices.  All our products exibit this problem.  Some are connected to an H.264 encoder, some to an FPGA.  All have this problem.  So we've tried multiple chips across multiple circuit cards.

    We have not tried the Eval board because it's not in stock anywhere.  It is actually for the TVP5150A and not AM1.  I downloaded the software to checkout the register settings.  There is definitely something strange there.  Check out page 3-8 of the TVP5150AEVM User's Guide ( SLEU041 ).  These Register settings don't make sense when compared to the Memory Map for the 5150A or 5150AM1.  So the EVM board may not be useful, and the reason it's not stocked anywhere.

    BEGIN_DATASET
    DATASET_NAME,”TVP5150A, Auto-switch, CVBS CH4A, 656 Out”
    // Initialize video encoder using an include file
    INCLUDE, EncoderNTSC656_RTC.INC
    // Program TVP5150A registers
    WR_REG,VID_DEC,0x01,0x00,0x0C // Input: CVBS CH4
    WR_REG,VID_DEC,0x01,0x02,0x00 // Auto−switch mode
    WR_REG,VID_DEC,0x01,0x04,0x3F // Auto−switch MASK
    WR_REG,VID_DEC,0x01,0x06,0x40 // Pedestal off
    WR_REG,VID_DEC,0x01,0x31,0x05 // RTC mode
    WR_REG,VID_DEC,0x01,0x33,0x40 // ITU 601 (extended range)
    WR_REG,VID_DEC,0x01,0x34,0x11 // OUTPUTS ACTIVE
    WR_REG,VID_DEC,0x01,0x35,0xFA // GLCO and FID ACTIVE
    WR_REG,VID_DEC,0x01,0x36,0xAF // HS and VS ACTIVE
    END_DATASET

    We have not tried the color bar test.  I could.  The banding I see is Horizontal and not vertical as in the ...lastFrame.zip file.

    What is the difference between the TVP5150AM1 and the TVP5151?  They appear to be pin / register compatible.  Would it be any use to try the TVP5151?

    Thanks for your help.  Talk to you later.

    Best Regards,

    James

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
12
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