• 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 » DM3730 Baremetal OFF Mode
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
  • DM3730 Baremetal OFF Mode

    DM3730 Baremetal OFF Mode

    This question is not answered
    Chandler Neal
    Posted by Chandler Neal
    on Aug 09 2012 15:47 PM
    Prodigy90 points

    I'm working with a Logic PD 3730 Torpedo SOM and board.

    Running Linux, it idles around 220mW and suspends to ~7mW.

    I have a baremetal application I launch from X-Loader that also idles around 220mW, but I am unable to get it any lower.

    It is clear that I'm not getting the CORE domain to power off.

    Has anyone been able to get it to OFF mode in bare metal code ? The steps to follow in the TRM are very vague and don't appear to work (assuming I'm even close to executing them correctly...).

    Thanks

    Off Mode DM3730 Suspend Torpedo SOM
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    All Replies
    • Renjith Thomas
      Posted by Renjith Thomas
      on Aug 12 2012 15:29 PM
      Guru23890 points

      Chandler,

      1. Have you dumped the PRCM module registers to see what are the different modules that are powered up? 

      2. Did you reduce the CPU frequencies during idle and tried?

      3. Are you planning to implement suspend mode?

      4. You can reduce the current consumption by powering off all unwanted peripherals from x-loader itself. Also you can try putting the RAM self-refresh mode during idle. You are using bare metal env, it will be easier to implement.

      -Renjith | www.pathpartnertech.com | Verify the answer if you think your query is resolved

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Chandler Neal
      Posted by Chandler Neal
      on Aug 13 2012 08:36 AM
      Prodigy90 points

      1.  Yes, I've dumped all of the PRCM registers.  Checking the CLKSTST registers, _MPU shows a 1 (indicating domain clock active) and _CORE shows a 3 (L3 and L4 ICLKs active).  I assume these would need to be off ?

      2.  I've reduced the frequency to 300MHz by changing CM_CLKSEL1_PLL_MPU to 0x00112C0C  (this mirrors what appears to occur in Linux...is this correct ? )

      3.  Not 100% sure on suspend mode.  Our goal is lowest power with acceptable wakeup latencies. Haven't gotten far enough to test yet.

      4.  I haven't tried powering off peripherals in x-loader.  Currently my bare metal app starts up, modifies a bunch of registers to turn off everything possible, dumps registers, then does a WFI.  It then interrupts every 5 seconds using GPT1.  (I planned to use this as a wakeup timer for my testing, but it doesn't seem to be suspending/going to off mode...)  I believe I've set the RAM in self refresh by sending the commands in the TRM (1, 0, 5 for precharge all, NOP, enter self-refresh), but this didn't seem to change my power numbers. 

      I was able to drop another 20mW to idle at ~200 by turning off UART1's clocks after I finished dumping.  And in case this was preventing suspend, I also tried turning it off as well.

      Any thoughts ? Thanks

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Renjith Thomas
      Posted by Renjith Thomas
      on Aug 13 2012 09:44 AM
      Guru23890 points

      I might not be 100% correct. 

      1. Have you turned of all FCLK and ICLKs to most as well?

      2. I need to check the TRM to validate it. Have you tried running ARM it in bypass clock and saw the numbers?

      3. I have some different idea here, which I don't prefer to discuss over this forum. Could you please mail me @ renjith.thomas@pathpartnertech.com?

      4. What are the different peripherals available on your board? Are you keeping anything always ON? Is there flexibility in turning OFF them?

      -Renjith | www.pathpartnertech.com | Verify the answer if you think your query is resolved

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • JJD
      Posted by JJD
      on Aug 13 2012 09:49 AM
      Genius9210 points

      Hi Chandler,

      it looks like you have something downstream in the clock tree that is still active, that is preventing the L3 and L4 clocks to go idle.  I think analyzing the PRCM registers for anything that is active, as previously mentioned, is the way to debug this. 

      Additionally you can check out this link:  http://www.ti.com/pdfs/wtbu/CTT-OMAP3630ES1.x-v1.6.0.4.zip which is a clock tree tool.  This is a java based application which gives you a visual view of the full clock tree, which should help you identify what is keeping some of the interconnect clocks like L3 and L4 still active.  Note this is for the OMAP3630, but is applicable to the DM3730 which you are using

      Regards,

      James

      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