• 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 » Can I set TVP5158 working at 1-Ch ,Non-interleaved, 27M and BT.656 output mode?
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 1 day 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 8 days ago
    by Neel Seshan
    Would you agree that RS-485 has turned out to be one of the most...

Forums

Can I set TVP5158 working at 1-Ch ,Non-interleaved, 27M and BT.656 output mode?

This question is answered
jerry tong
Posted by jerry tong
on Jun 17 2010 22:49 PM
Intellectual260 points

      After I set the TVP5158 working at 1-Ch ,Non-interleaved, 27M and BT.656  , PAL output mode, I get data like as follows:

      ff 08 00 00    ec 80 19 80   18 80 19 80   19 81 19 80    80 10 80 10     80 10 80 10     80 10 80 10 
     80 10 80 10   80 10 ff 08     00 00 c7 80   11 80 12 80    10 80 10 80     10 80 10 80     10 80 10 80 
    10 80 10 80   10 80 10 80   10 ff 08 00     00 c7 80 11     10 80 10 80     10 80 10 80     10 80 10 80 
    10 80 10 80   10 80 10 80   10 ff 08 00     00 80 80 11     10 80 10 80     10 80 10 80     10 80 10 80
    10 80 10 80   10 80 10 80   10 80 10 80   10 80 10 ff        80 10 80 10      80 10 80 10     8010 80 10  

   1) if  removing  the data 08 ," ff  00 00 ec"  is same as the SAV or EAV ,  Why do I  get a invalid data 08?

    2) Between SAV and EAV , there is 280 or 268 bytes controling signal, but there is few  data between that.

   3) In register B0h,  Channel_Mux_Number  00  means  "1-Ch (reserved)" , can I set TVP5158 work at "1-Ch (reserved)"?

 

 

TVP5158
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • jerry tong
    Posted by jerry tong
    on Jun 17 2010 23:27 PM
    Intellectual260 points

    I set the TVP5158 register

     B0 = 0x00;
     B1 = 0x10; 
     B2 = 0x0D;
     B3 = 0xE4;
     B4 = 0xE4;
     B5 = 0x00;
     B6 = 0x1B;
     B7 = 0x04;

    Is there any problem in my setting?

     

    TVP5158
    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 Jun 18 2010 13:49 PM
    Genius15290 points

    Hello Jerry,

    Can you change these addresses from

     B1 = 0x10;        to  0x90;
     B2 = 0x0D;       to  0x25;

    Currently you are setting it to 54 Mhz instead of 27 MHz clock.

    Regards,

    Viet

    TVP5158
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • jerry tong
    Posted by jerry tong
    on Jun 21 2010 00:50 AM
    Intellectual260 points

    Hi, Viet:

    Thank you very much, if I set

    B1=0x90,B2=0x25;

    I can not get 54Mhz clock.

    But if I set

    B0=0x90,B2=0x25;

    I can get 54Mhz clock.

    Now, what  I want is that getting  4bytes EAV + 280bytes blankcode + 4bytes SAV + 1440bytes ValidData (a standard BT656 format ,PAL D mode).

    but the data I got is look like 

    5bytes EAV,  Eg :    ff 00 00 00 c7, ff 00 00 00 9d;

    5bytes SAV,  Eg:    ff 00 00 00 80;

    The length of  blankcode  and  ValidData is not regular.

    My CPU/MCU is not DM6467, at first , I want to get one channel PAL mode data to test .

    Can I get  1-Ch ,Non-interleaved, 27M ,"4bytes EAV + 280bytes blankcode + 4bytes SAV + 1440bytes ValidData"  PAL D mode data?

    How to set the register B0-B7?

     

    Best regards

    Jerry

    TVP5158
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • jerry tong
    Posted by jerry tong
    on Jun 21 2010 05:04 AM
    Intellectual260 points

    Hi, Viet:

    I only need 1-Ch ,Non-interleaved, 27M ,"4bytes EAV + 280bytes blankcode + 4bytes SAV + 1440bytes ValidData"  PAL D mode data,

    and I can get 27Mhz clock by setting the register B1=10h,B2=0Dh or B1=90h,B2=25h.

    at the same time, I can get data from DVO_A, but the data is not "4bytes EAV + 280bytes blankcode + 4bytes SAV + 1440bytes ValidData"  PAL D mode data,

    Specifically,  4bytes EAV or SAV  has been modified to 5bytes.So I can't get a valid line data.

    What's the problem?

     

    best regards

    Jerry

    TVP5158
    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 Jun 21 2010 11:14 AM
    Genius15290 points

    Hello Jerry,

    Could you please let us know little bit more about your setup?  Do you run with our EVM and the SW that come with the package?  If you do, can you bring up the EVM with the SW included?

    The TVP5158 embedded sync should output only 4 bytes EAV and SAV.  Do you know if you are running with ROM or patch?  You can find out by reading register 05h and 06h.  If they are 0 then you are running with ROM.  There is patch version 020117 shipped with the EVM and the patch support EAV / SAV offset control in register AEh (Vbland start) and AFh (Vblank stop).

    Regards,

    Viet

    TVP5158
    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 Jun 21 2010 13:09 PM
    Genius16810 points

    Jerry,

    We rechecked the embedded sync outputs with a logic analyzer and do not see the extra byte present duing the embedded sync codes.  We see FF 00 00 EAV/SAV.

    Are you seeing this on all lines?

    How are you capturing the data?

    TVP5158
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • jerry tong
    Posted by jerry tong
    on Jun 22 2010 03:53 AM
    Intellectual260 points

    Hello, Viet:

    Thanks for your help and suggestion, when I capture data again, I find a wire connect with GND is loose,after I weld it tightly.I fix the issue and get correct data.

    Best regards

    Jerry

    TVP5158
    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 Jun 22 2010 09:07 AM
    Genius15290 points

    Great news Jerry.  Thanks for letting us know.

    Regards,

    Viet

    TVP5158
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Sudhanshu Saxena
    Posted by Sudhanshu Saxena
    on Jul 26 2010 06:58 AM
    Prodigy100 points

    Hi Jerry,

     

    Please can you share the TVP5158 register settings for 1CH D1 non interleaved mode ?

     

    Regards,

    Sudhanshu

    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 Jul 26 2010 09:59 AM
    Verified Answer
    Verified by Viet Dinh
    Genius15290 points

    Hello Sudhanshu,

    You can set the following I2C registers to these setting for 1 CH1 D1:

    Register (hex):             Value (hex):

    B0                                  10

    B1                                  90

    B2                                  25

    Regards,

    Viet

     

    TVP5158
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Sudhanshu Saxena
    Posted by Sudhanshu Saxena
    on Aug 25 2010 07:05 AM
    Prodigy100 points

     

    Hi Viet

    I am facing an issue of detecting which field is even and which is odd in the interrupt handler. I cannot read I2C register in the ISR context, can you help me with detection of even/odd field ?

     

    Sudhanshu

    TVP5158
    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 Aug 25 2010 16:14 PM
    Genius15290 points

    Hello Sudhanshu,

    Do you get a interrupt every field?  You can read the current field status from I2C register 01h bit 4.  Can you poll and save the field status every field and use it when you get an interrupt?  It is just my suggestion since you cannot read I2C in ISR.

    Regards,

    Viet

    TVP5158
    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