• 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 » F28M35x eCAP problem
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

    F28M35x eCAP problem

    This question is answered
    Adrien DES BOUILLONS
    Posted by Adrien DES BOUILLONS
    on Aug 03 2012 09:51 AM
    Intellectual350 points

    Hello

    In my application i am using the six eCAP peripheral with the same configuration to capture PWM

    Five works perfectly but eCAP 5 doesn't work.

    Here is the problem :

    I am using eCAP 5 by the GPBMUX2 on the pin 48 with these configurations

    GpioCtrlRegs.GPBMUX2.bit.GPIO48 = 1;

    GpioTripRegs.GPTRIP11SEL.bit.GPTRIP11SEL = 48;

    the TSCTR counter well increment but the flag (ECFLG)  and the CAP1 - 4 registers seems to be not working.

    I precise that when i am using eCAP5 with GPAMUX1 on the pin 3 it works very well and some of my other working eCAP peripheral are on the MUX2 too

    I guess that i have the problem because my GPIO48 is not linked to my eCAP5 peripheral.

    Did i forgot some configuration register or something like that ?

    Is there a specific configuration in the M3 core to select ? I use the setup_m3 example provide with the C28 example.

     

    Thanks in advance for your help

    Regards

    Adrien

     

     

    C2000 GPIO eCAP F28M35x
    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 03 2012 10:35 AM
      Expert5985 points

      Adrien,

      Are you using this on a controlCARD?  Can you just try toggling GPIO48 (in GPIO mode on the mux) from the C28x to verify all of your configurations for the IO?

      Kris

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Adrien DES BOUILLONS
      Posted by Adrien DES BOUILLONS
      on Aug 03 2012 11:28 AM
      Intellectual350 points

      Kris,

      yes i am using the controlCARD with the docking station.

      I think that you have find the problem because my GPIO48 doesn't toggle.

       I also tried with another, the GPIO22 which toggle with the same code.

      Do you have an idea where my problem come from ?

      Regards

      Adrien

      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 03 2012 11:30 AM
      Expert5985 points

      Adrien,

      First thing to check would be to see if GPIO48 actually comes out on the docking station.  Not all GPIOs do on Concerto because there are so many of them relative to what we can pinout on the docking station.  There is also a chance you need to set one of the jumpers on the controlCARD to bring it out as well.  You can verify this in the schematics which I believe are in controlSUITE.

      Kris

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Adrien DES BOUILLONS
      Posted by Adrien DES BOUILLONS
      on Aug 06 2012 02:57 AM
      Intellectual350 points

      Kris,

      Well I check the DIMM-100 connector on the USBDocking station schematic file and it is written that GPIO-48 is on the pin 30 but on the control card schematic the DIMM-100 pin30 is connected to C28_GPIO40.

      It is annoying because I built my conception with the USBDocking station schematic file.

      Is there a mistake in the documentation ?

      I also checked the jumpers and the switchs of the controlCard and none of them is connected to GPIO_48.

      Regards

      Adrien

      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 06 2012 13:30 PM
      Verified Answer
      Verified by Adrien DES BOUILLONS
      Expert5985 points

      Adrien,

      The GPIO indicated on the docking station schematics is only guaranteed to be 100% compatible with our Delfino devices (when the station was originally developed).  We have tried to maintain compatibility as much as possible, but in the end we want to have the most functionality possible.  This does lead to mismatches such as you see here with Concerto.  Whatever signal you see indicated by the controlCARD schematic will be propagated to the corresponding pin, in this case C28_GPIO40.

      EDIT:  I believe if you are using the eCAP in CAP mode (not APWM) you can use any other GPIO you have available for the eCAP.  Just set the GPTRIPSEL to the appropriate GPIO.

      Kris

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Adrien DES BOUILLONS
      Posted by Adrien DES BOUILLONS
      on Aug 08 2012 10:53 AM
      Intellectual350 points

      Kris,

      Thanks a lot for your answers.

      I will change the routing plan of my connection card and it will be ok.

      Unfortunately I can't use the C28_GPIO40 as an eCAP because I use the Ethernet and the GPIO40 is connected to the MII_RXD2.

      Regards.

      Adrien

       

      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