• 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 » Microcontrollers » C2000™ Microcontrollers » C2000 32-bit Microcontrollers Forum » Setting Clock frequency for eCAP in TMS320F28335 Controller
Share
C2000™ Microcontrollers
  • Forums
  • Announcements
  • E2E Wiki
Options
  • Subscribe via RSS
C2000 Resources
  • Product Folder
  • C2000 Training Portal
  • C2000 Technical Training Catalog
  • C2000 Datasheets, App Notes, User Guides
  • C2000 Hardware Design Kits
  • controlSUITE for C2000 Software Library


  • InstaSPIN Resources
  • What is InstaSPIN?
  • Videos and Support


  • InstaSPIN-FOC and InstaSPIN-MOTION Resources
  • What is InstaSPIN-FOC?
  • What is InstaSPIN-MOTION?
  • Product Folder: F28069F, F28068F, F28062F, F28068M, F28069M
  • User’s Guide
  • Technical User’s Manual
  • Tools
  • Forums

    Setting Clock frequency for eCAP in TMS320F28335 Controller

    This question is answered
    narasimha reddy72258
    Posted by narasimha reddy72258
    on Aug 08 2012 04:55 AM
    Prodigy200 points

    Dear all,

    am working on TMS320F28335 controller,

    how do i configure  clock frequency for eCAP ?

    what is the maximum and minimum clock frequency we can configure or derive for eCAP ?

    Please help . . .

    Thanks and Regards

    N Reddy

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    All Replies
    • Kris Parrent
      Posted by Kris Parrent
      on Aug 08 2012 09:03 AM
      Expert5985 points

      Hello,

      eCAP is clocked by SYSCLKOUT.  I do not believe there are dividers within the module for reducing the clocking frequency to the peripheral.

      Kris

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • narasimha reddy72258
      Posted by narasimha reddy72258
      on Aug 09 2012 05:37 AM
      Prodigy200 points

      Dear Mr. Kris

      Thank you for your immediate response,

      I have one more question, if my input signal to the eCAP  is very high so i can use PRE-SCALAR option, if it is too low then how do i make it to synchronize with the SYSCLKOUT to capture.  Will the input signal to eCAP  synchronize automatically with SYSCLKOUT clock frequency or we need to set manually?

      please clarify my doubt ....

      Thanks and Regards

      N Reddy

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Kris Parrent
      Posted by Kris Parrent
      on Aug 10 2012 15:43 PM
      Verified Answer
      Verified by narasimha reddy72258
      Expert5985 points

      Since the eCAP is clocked by SYSCLKOUT, the input will be synchronized automatically.  Note that a minimum pulse width detectable by the eCAP is defined in the datasheet for this reason.

      Kris

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • narasimha reddy72258
      Posted by narasimha reddy72258
      on Aug 21 2012 23:57 PM
      Prodigy200 points

      Dear Mr.Kris,

      Thank you very much. So, i can not use eCAP for smaller frequencies.

      for example, 100kHz input signal to eCAP,  (SYSCLKOUT minimum frequency is 2MHz and Maximum is 150MHz from the datasheet ),

      in this situation i cant use eCAP for capturing ?

      Thanks and Regards

      N Reddy

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Kris Parrent
      Posted by Kris Parrent
      on Aug 22 2012 08:19 AM
      Expert5985 points

      The eCAP registers are clocked by SYSCLKOUT.  The eCAP works by capturing a pulse edge and latching a counter value (clocked by SYSCLKOUT) when the edge is seen.  This is a 16 bit counter, so it is capable of capturing frequencies well below SYSCLK.

      I recommend reading the eCAP user's guide to familiarize yourself with the peripheral.

      http://www.ti.com/lit/ug/sprufg4a/sprufg4a.pdf

      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