• 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 » OMAP-L13x, AM1x and C674x Processors Forum » OMAP L137 timer plus 32-bit Chained mode with period reload
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
  • OMAP L137 timer plus 32-bit Chained mode with period reload

    OMAP L137 timer plus 32-bit Chained mode with period reload

    This question is not answered
    Hirofumi Fujita
    Posted by Hirofumi Fujita
    on Oct 07 2011 05:10 AM
    Intellectual1550 points

    Hi,

    I posted below, but let me also post here.

    http://e2e.ti.com/support/dsp/tms320c6000_high_performance_dsps/f/115/t/138467.aspx

     

    I faced the trouble to use timer plus on OMAPL137, in 32bit chained mode with period reload. 

    As I tried, like below, timer never started counting.  But,

      - 32bit Unchained mode with period reload was OK

     - 32bit Chained mode with continuous operation was OK

     So I'm suspicious that timer plus on OMAPL147 supports 32bit chained mode with period reload.

    Do you have any idea?

     

    -----------------------------------------------------

        tmr0Regs->TGCR = CSL_FMKT(TMR_TGCR_TIMMODE,32_CHAIN)
                         | CSL_FMKT(TMR_TGCR_PLUSEN,ENABLE)
                         | CSL_FMKT(TMR_TGCR_TIM12RS,NO_RESET)
                         | CSL_FMKT(TMR_TGCR_TIM34RS,NO_RESET)
                         | CSL_FMK(TMR_TGCR_PSC34,0x1);

        CSL_FINS(tmr0Regs->PRD12,TMR_PRD12_PRD12,TIMER_PERIOD);

        CSL_FINS(tmr0Regs->PRD34,TMR_PRD34_PRD34,TIMER_PERIOD);

        CSL_FINS(tmr0Regs->REL12,TMR_REL12_REL12,TIMER_PERIOD);
        CSL_FINS(tmr0Regs->REL34,TMR_REL34_REL34,TIMER_PERIOD);

       CSL_FINST(tmr0Regs->TCR,TMR_TCR_ENAMODE12,EN_CONTRELOAD);

    ------------------------------------------------------

    thanks & best rgards,

    Hirofumi Fujita

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    All Replies
    • Miguel A. Alanis
      Posted by Miguel A. Alanis
      on Oct 14 2011 17:40 PM
      Genius9470 points

      Hirofumi,

      it is interesting to hear this.  

      OMAPL137 only has 2 timer instances.

      Can you please try the following:

      Just to double check, are you able to see the actual TCR Register offset (in CCS) and check to make sure that the TCR enamode12 bits are properly getting set?

      Also, have you tried this on the TMR1 and see if you see any changes?

      regards,

      miguel

       

       

      PS: 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.
    • Hirofumi Fujita
      Posted by Hirofumi Fujita
      on Oct 17 2011 03:04 AM
      Intellectual1550 points

      Hi Miguel,

       Thank you for the comment. I checked your suggestion, but unfortunately, both timer 0 & timer 1 didn't work as I expected.

      But I found that, I could get the expected result when I use simulator. That means, my software should work properly, I think.

      And also, on the OMAPL138, the same problem were there, i.e.

         32bit chained with continuous works,

         32bit chained with continuous reload doesn't work

      best regards,

      Hirofumi Fujita

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Miguel A. Alanis
      Posted by Miguel A. Alanis
      on Oct 17 2011 15:11 PM
      Genius9470 points

      Fujita-san,

      Did this feature work on omapl138 timer3 instance?  

      This smells like a potential issue either w/silicon or with documentation.  Can you please try on timer3 instance? also can you please fwd me your ccs project to see if I can reproduce on our local environment.  

      regards,

      miguel

       

      PS: 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.
    • Hirofumi Fujita
      Posted by Hirofumi Fujita
      on Oct 17 2011 22:49 PM
      Intellectual1550 points

      Hi Miguel,

      I tried timer3 in OMAPL138, but unfortunately, it didn't work.

      And I sent my projects to you by separate mail, so could you try those?

      best regards,

      Hirofumi Fujita

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Hirofumi Fujita
      Posted by Hirofumi Fujita
      on Nov 21 2011 09:46 AM
      Intellectual1550 points

      It looks like that, Miguel is out of office for a while..

      Does anyone have any idea about this issue?

      I put the test project I use on this thread.

      5554.test_projects.zip

      The help from the expert will be highly appreciated.

      thanks in advance & best regards,

      Hirofumi Fujita

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Miguel A. Alanis
      Posted by Miguel A. Alanis
      on Dec 07 2011 14:53 PM
      Genius9470 points

      Hirofumi,

      Sorry for the delay, but I have not had a chance to look at this yet until now, as I have been very busy after my return from timeoff. Today I have reproduced your observations on my OMAPL138 EVM with a sample code we had from our validation guys and I ran on all 4 timer instantiations and I observe the same results as you.

       -TIMER CHAINED continuous w/reload mode did not even started counting.

      -Timer chained continous w/out reload mode worked ok.

      -Timer UNCHAINED continuous w/reload mode worked ok

      I am currently trying to get this confirmed by the design team (which is working on other projects for other business unit so we might not get a quick response).  Once the design team can re-confirm we will probably update the errata or the timer documentation to remove this feature.

      regards,

      miguel

       

      PS: 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.
    • Sam DeMora
      Posted by Sam DeMora
      on Jun 19 2012 14:19 PM
      Prodigy375 points

      Any resolution to this?

      Sam DeMora
      Texas Instruments
      Technical Information Solutions - Houston 
      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Benoit CAMUS
      Posted by Benoit CAMUS
      on Aug 02 2012 08:24 AM
      Prodigy10 points

      Hello,

      I would also be interested in using 32bit chained mode with reload period.

      Is there any resolution or workaround to ?

      B. Camus

      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