• 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 » Legacy Video Converters Forum » "Lock status" in 5150
Share
Video Converters
  • Forums
  • Announcements
Options
  • Subscribe via RSS
Check out
Analog Wire blog
  • $core_v2_blog.Current.Name

    DAC Essentials: What’s with all this glitch-ing?

    Posted 3 days ago
    by Tony Calabria
    When designing with a digital-to-analog converter (DAC), you...
  • $core_v2_blog.Current.Name

    This amplifier doesn't exist...now what?! - Part 2

    Posted 5 days ago
    by Xavier Ramus
    In Part 1 of this post, we looked at the theory involved in making...
  • $core_v2_blog.Current.Name

    Engineering the world through Analog

    Posted 10 days ago
    by Hagop Kozanian
    Our lives are surrounded by analog everywhere we go. That’s...

Forums

"Lock status" in 5150

This question is answered
Anonymous
Posted by Anonymous
on Oct 26 2010 06:26 AM
Guru13910 points

Hi All,

I have question on “lock indicator” in TVP5150 chip.

 

In the manual for TVP5150, document SLES043A,

 

On the top of page 27, there is a lock status (HVLK) register bit.

 

On page 36, sec. 3.22.16, register “Configuration Shared Pins”, there are also three lock indicator configuration:

 

1.      LOCK23

2.      LOCK24A

3.      LOCK24B

 

What indeed are these “lock”s? What is their function? Are they related to VSYNC and HSYNC?

 

And for example on page 36 in the description for LOCK23

 

0 = FID (default, if bit 3 is selected to output FID)

1 = Lock indicator (Indicates whether device is locked both horizontally and vertically)

 

What does this mean? Why does the device (5150?) needs to be locked, and how it is locked?

 

 

Sincerely looking forward to answers,

 

Zheng

TVVP5150
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Viet Dinh
    Posted by Viet Dinh
    on Oct 26 2010 13:45 PM
    Verified Answer
    Verified by $verifiedBy.DisplayName
    Genius15310 points
    tvp5150am1_I2C03.pdf

    Hello Zheng,

    Sorry for the confusion.  I have attached the diagram of the Configuration Shared Pins of I2C register 03h for explanation and detail how to select lock status.  Basically it is a mux to select what lock status goes to pin 23 and 24.  For example, if you want to output HVLK to pin 23, you need to set bit 6 and reset bit 3 of register 0Fh and set bit 4 of register 03h.  In other case, if bit 4 of register 03h and bit 3 of 0Fh are 0 then FID is output to pin 23.

    Lock mean the video is locked.  If HLK is 1 then video horizontal is locked and if VLK is 1 then video vertical is locked.

    The TVP5150 is not recommend for new design and you should use TVP5150AM1 if you don't need scaler.

    Hope it help,

    Viet

    TVP5150
    Did this answer your question? No
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Viet Dinh
    Posted by Viet Dinh
    on Oct 27 2010 16:51 PM
    Genius15310 points

    Hi Zheng,

    Please see response for each question below:

    1. Lock mean the decoder is lock to video input signal.  For example, if there is no video at the input, HLK and VLK will be 0.  If the is a good input, HLK and VLK are 1 then you should see a good video output.  If vertical is not lock, you will see a scroll up and down picture.

    2. Below is an explaination for PALI from our data sheet:

    PALI: PAL line indicator or horizontal lock indicator. For the PAL line indicator:
    1 = Noninverted line
    0 = Inverted line

    Yes, it is mux with HLK so you have to select from bit 4 of register 03h.

    3. I don't know if it is convention or not but I use set for 1 and reset for 0.  I am sorry for confusion, I will try to avoid it and use set to 0 and 1 next time.

    Regards,

    Viet

    TVP5150
    Did this answer your question? Yes
    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 Oct 28 2010 15:53 PM
    Verified Answer
    Verified by $verifiedBy.DisplayName
    Genius16810 points

    Zheng,

    The graphs on P16,17, and 18 show the output syncs relative to video out when in a locked state.  HLK an VLK are status signals to show lock status.  HLK and VLK will not change state unless there is a change in lock status. They will be at high level when locked to an inut signal and will go low if the cable is disconnected, for example.  The timing of the HLK and VLK outputs is not precisely synchronized to the video output.  You can also read lock status using I2C register 88h withput using the HLK and VLK status outputs.  The HLK and VLK status outputs cannot be used if HSYNC and VSYNC output syncs are used, since VSYNC and HLK share the same pin.  HLK and VLK status outputs are optional and not used in most designs.

    When properly locked to the video input, the output syncs (VSYNC, HSYNC, and BT656 embeddedd syncs) will be properly synchronized and positioned relative to the video.  If a valid NTSC(M,N) or PAL(B,G,H,N,I)  video input signal is connected to the selected input channel, the TVP5150AM1 will automatically lock to the video input, if REG28h is set to the default Autoswitch mode.  To automatically support formats other than these, the autoswitch mask bits in REG04h must be programmed to include the desired formats.

    PAL alternates phase of the V color component every line.  PALI is an indicator that the format is PAL and changes state every line when locked to a PAL source.  This signal is rarely used.

    When not vertically locked to the input, the VSYNC output and embedded V-bit will not be synchronized to the video input and output.   When unlocked, the video that is displayed on the monitor could depend on how the video processor processes and displays  the video without valid sync signals.   The same video line is not repeated by the TVP5150AM1.

    TVP5150AM1
    Did this answer your question? No
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Anonymous
    Posted by Anonymous
    on Oct 29 2010 02:57 AM
    Guru13910 points

    Dear Larry,

    Thanks very much for the detailed answer. The answer on PALI resolved my doubts on this. Analog modulation is a deep subject and my knowledge on it is still very shallow.

    For HLK and VLK, though I still don't have a concrete impression on what they really are, I think knowing that "HLK and VLK status outputs are optional and not used in most designs." is enough at this time.

    Best regards,

    Zheng

    TVP5150AM1
    Did this answer your question? Yes
    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