• 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 » Digital Signal Processors (DSP) » OMAP™ Processors » OMAP35x Processors Forum » OMAP3530 DSS hsync/vsync adjustment
Share
OMAP™ Processors
  • Forums
  • Announcements
Options
  • Subscribe via RSS
Resources
  • OMAP-L1x DSP+ARM9™-based Processors Product Folder
  • OMAP3525/30 DSP+ARM Cortex™-A8-based SOCs Product Folder

  • Top OMAPL Wiki Links
  • OMAPL3x Schematic Review Checklist
  • OMAPL13x Boot resources

  • OMAPL Document Resources
  • OMAPL137 Technical reference manual
  • OMAPL138 Technical reference manual
  • OMAPL Boot loader App Notes
  • Forums

    OMAP3530 DSS hsync/vsync adjustment

    This question is not answered
    chanho min
    Posted by chanho min
    on Jan 08 2010 06:46 AM
    Prodigy50 points

     

    I  am implemening HDMI driver on OMAP3530.

    We met screen flicker and noise issue. On debug, some strange wave is founded on 'dss_hsync' and 'dss vsync'

    When vsync is rising, hsync is falling as the bellow figure.

     

     

    C2 is dss_hsync and C1 is start of dss_vsyinc.

    hsync shoud be rising edge when vsyinc is rising edge as bellows

     

     I touched dss registers like 'DISPC_POL_FREQ', But, No change is occured. I

    Is there anybody who know how to adjust this timing?

     

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    All Replies
    • Steve Clynes
      Posted by Steve Clynes
      on Jan 08 2010 09:02 AM
      Mastermind22600 points

      chanho,

      What platform are you working on?

      The existing DVI drivers under both Linux and WinCE should be correct, and could be used as a starting point for your HDMI modifications.

      From a video perspective there should be no changes required to move from DVI to HDMI other than additional transmitter configuration side channel. Obviously the audio requirements need to be added though.

      Please see the following links for more information on configuring the display sub system, and on modifying the existing Linux drivers to support additional video resolutions on the DSS output.

      http://wiki.omap.com/index.php/Display_Subsystem

      http://wiki.omap.com/index.php/Adding_new_DVI_resolutions

      If you are writing directly to registers for some other OS, then the registers you need to consider are...

      DISPC_TIMING_H
      DISPC_TIMING_V
      DISPC_SIZE_LCD

      DISPC_TIMING_H can be used to change the relative positions of the edges.

      Changing DISPC_POL_FREQ should have inverted the signal. Don't forget that when you touch any of the display sub system registers you must set the control bit GOLCD in order to actually transfer the register settings to the hardware (the transfer is actually performed at the next v-sync after GOLCD in order to ensure not corrupt frames are generated)

      What is the actual resolution/frame rate you are trying to generate?

      Kind regards,

      Steve

      Please mark this post as answered via the Verify Answer button below if you think it answers your question.  Thanks!

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • chanho min
      Posted by chanho min
      on Jan 10 2010 20:40 PM
      Prodigy50 points

      Thanks, steve.

      We are working on linux 2.6.29 kernel. Reference board is Beagle.

      Our resolution is 1280x720p(defined by CEA861B) and Timing values are "pixel clock:74.25Mhz,hsw:40,hfp:110,hbp:220,vsw:5,vfp:5,vbp:20".

      DISPC_TIMING_H can be just defined the pixel clock for each hsync period .DISPC_TIMING_H

      We couldn't change the relative postion of the edge by any dss register(like DISPC_TIMING_H,  DISPC_TIMING_V,DISPC_SIZE_LCD etc.)

      Timing shape for 1280x720p defined by CEA861B is the bellows. 

       But, Our measured timging is the bellows.

      vsync width is 5 lines and correct. But, vsync rising edge is slower than CEA861B's one by 1 hsync period.

      We are not sure that this probem is cause of the flicker issue. but, we want to remove suspicious point.

      Can you help this problem?

      Thanks

      Chanho min

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Pev
      Posted by Pev
      on Jan 11 2010 08:37 AM
      Prodigy245 points

      Hi Chanho,

      I'd been looking at this last week on our platform (OMAP3503) with an OLED panel as we have some inexplicable flicker too! I'd noticed exactly the same thing - that the rising edge of vsync seems to synchronise with the falling edge of hsync (not the rising which I'd expect it to be). I don't see any control in the timing registers to change this either.

      ~Pev

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Steve Clynes
      Posted by Steve Clynes
      on Jan 11 2010 12:24 PM
      Mastermind22600 points

      Let me look at this in some more detail and get back to you...

      BR,

      Steve

      Please mark this post as answered via the Verify Answer button below if you think it answers your question.  Thanks!

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Steve Clynes
      Posted by Steve Clynes
      on Jan 11 2010 12:38 PM
      Mastermind22600 points

      Pev,

      Are you able to send me the datasheet for this panel and I will have a look to see if I can see anything obvious.

      Typically panels can accept much more flexible timings than what VESA specifies, as can most monitors so for this to be an issue is a little strange. It could be that the edges are accuring at exactly the same pixel edge and with jitter on the clock the receivers are sometimes seeing the edge before and sometimes slightly after.

      As a test can you try inverting the clock olarity.

      In the meantime I will look at moving the edges completely away from each other.

      BR,

      Steve

       

      Please mark this post as answered via the Verify Answer button below if you think it answers your question.  Thanks!

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • chanho min
      Posted by chanho min
      on Jan 12 2010 18:54 PM
      Prodigy50 points

      Hi, steve

      How can I send datasheet to you?

      My email is mincho0207@hotmail.com

      Thanks for your help!

      chanho

       

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Steve Clynes
      Posted by Steve Clynes
      on Jan 19 2010 09:24 AM
      Mastermind22600 points

      OK, to be truly CEA compliant requires, as you have noted, for the syncs to be both positive and concurrent. OMAP cannot generate these syncs.

      Now, having said this, most HDMI receivers actually only really use the edge of the syncs to align, so in reality this should not be an issue. Note, it is the receiver and not the transmitter that cares since the transmitter typically just passes the syncs through.

      OMAP2 & 3 have been used on many products with DVI and HDMI transmitters at various resolutions with no other issues reported so far.

      I have just verified that DISPC_POL_FREQ bits 13 and 12 do in fact invert the H & v sync polarities, so I am not sure why these did not change for you (don't forget to trigger GOLCD after making any changes)

      I think your originally reported problems may relate to some other issue.

      If you can invert the H & V syncs so they are active low, which I think is actually the default for the PSP release, then you should have a good stable image.

      Are you able to try a variety of displays (especially different brands) to see if the issue is display specific? If this is NOT display specific then I believe that the issue is some other configuration issue and not the syncs. If some displays are good but others bad, then it could be sync related.

      When you say "We met screen flicker and noise issue" can you describe some more please? For noise do you mean the entire image jumps and is generally corrupt (likely sync issues) or that pixels and/or lines within the image are corrupt (likely pixel clock polarity issues i.e. setup and hold issues).

      What are you using as a starting point for your HDMI driver? The PSP DVI driver should be used as a starting point since this has been used for many years in many products at many resolutions. Do these original resolutions and configurations display OK for you? Note, from a video perspective there is no real difference between DVI and HDMI for RGB video.

      BR,

      Steve

      Please mark this post as answered via the Verify Answer button below if you think it answers your question.  Thanks!

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Steve Clynes
      Posted by Steve Clynes
      on Jan 19 2010 09:28 AM
      Mastermind22600 points

      Pev,

      Are you able to send me the datasheet for the display so I can check the timing requirements?

      Most displays do not usually actually care about this relationship and really only look at the sync edges and the DE signal.

      If you can try inverting each and both of the H & V syncs using register DISPC_POL_FREQ bits 12 & 13 in turn you should be able to find a setting that works with your display.

      Can you describe the flicker in a little more detail please? What are you displaying (video or a static image etc...)?

      Kind regards,

      Steve

      Please mark this post as answered via the Verify Answer button below if you think it answers your question.  Thanks!

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Steve P. (NY)
      Posted by Steve P. (NY)
      on Mar 01 2010 08:06 AM
      Prodigy145 points

      Steve,

      (1)  Digital process delay through the THS8135 triple video DAC:

      You mentioned an 8 pxl clock delay in the thread containing the reference design, where you're passing the sync signals through the dual-supply buffer (SN74LVC2T45).  While starting to work through an external logic solution (driving the dual-buffer) it occurred to me that the OMAP may support programmatic delay of HSYNC and VSYNC, and I came across this other thread, where you're discussing DISPC_TIMING_H and DISPC_TIMING_V.  Are these the control parameters that I'm looking to write to effect the 8 pixel clock delay (to compensate for the THS8135 td(D)?

       

      (2)  For a 56Mhz VESA analog RGB display, I'm assuming that my OMAP DSS pixel clock would be programmed in this same vicinity; i.e., 56 Mhz?  This would be driving the THS8135.

       

      Thanks again,

      Steve/NY

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Steve Clynes
      Posted by Steve Clynes
      on Mar 01 2010 09:00 AM
      Mastermind22600 points

      Steve,

      Yes to both questions :)

      You can control h-sync & v-sync size and positions with these registers.

       

      As mentioned in the above thread though the exact relationship between h & v is slightly wrong to be truly VESA compliant but this has never been an issue.

      BR,

      Steve

      Please mark this post as answered via the Verify Answer button below if you think it answers your question.  Thanks!

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • ted juan
      Posted by ted juan
      on Aug 07 2012 22:15 PM
      Prodigy160 points

      There is no register  DISPC_POL_FREQ in AM335X dataheet.

      Does anyone know hot to adjust the H & V sync in AM335X?

      Thanks 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