• 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 » GPIOs coming up HIGH at reset on TMX320F28069 ControlCARD
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
  • GPIOs coming up HIGH at reset on TMX320F28069 ControlCARD

    GPIOs coming up HIGH at reset on TMX320F28069 ControlCARD

    This question is answered
    Edward Jakob1
    Posted by Edward Jakob1
    on Aug 24 2012 17:34 PM
    Prodigy245 points
    We're having some issues with TMX320F28069-based ControlCARDs.
    Upon power-up, some of the DSP's GPIO pins are going active HIGH until we finally get them configured as general-purpose high-impedance inputs or as peripheral input/output pins.  They are as follows:
    GPIO: 33, 31, 29, 23, 21, 19, 17, 27, 25, 14, 13, 63, 61, 59, 34, 32, 30, 28, 87, 22
    The remainder of the GPIO pins are LOW at power-up and stay that way unless we configure them to operate differently.
    I was informed that the DSPs GPIO pins come up in high-impedance state when they are in reset and stay that way until they are configured otherwise. 
    The problem we're having is that some the GPIO pins going HIGH results in MOSFETs/IGBTs turning ON and causing shoot-through or other over-current conditions.
    Is this some type of errata associated with the TMX320F28069 part?  Is there some kind of work-around to get around this situation?
    GPIOs High at reset on ControlCARD
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    All Replies
    • Andy Neil
      Posted by Andy Neil
      on Aug 25 2012 04:01 AM
      Guru31995 points

      Edward Jakob1
      I was informed that the DSPs GPIO pins come up in high-impedance state when they are in reset

      A high-impedance pin will go to whatever external level it finds

      So, are you sure that the highs/lows you are seeing are actually due to the DSP's GPIOs - or are they being "pulled" by your external circuitry...?

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Edward Jakob1
      Posted by Edward Jakob1
      on Aug 26 2012 10:22 AM
      Prodigy245 points

      We are using a TMX320F28069 ControlCARD plugged into an Experimenter's Kit.  Are the non-ADC inputs and non-ePWM outputs the only ones not pulled up to 3.3V on ControlCARDs?  

      We've seen the same phenomena on F2809 and F28335 ControlCARDs.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Edward Jakob1
      Posted by Edward Jakob1
      on Aug 26 2012 10:39 AM
      Prodigy245 points

      According to the TMS320F2802x ControlCARD schematic, there are no pullup resistors forcing GPIOs (e.g., GPIO19) HIGH at power-up.  The only way these GPIOs can come up HIGH is if the TMS320F28xxx is pulling them up.

      After successful configuration, the ControlCARDs GPIOs all go LOW.  Since this is the case, why can't they simply be LOW immediately after power-up or reset?

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Brett Larimore
      Posted by Brett Larimore
      on Aug 26 2012 15:53 PM
      Verified Answer
      Verified by Edward Jakob1
      Mastermind18530 points

      Edward,

      See the following wiki:
      http://processors.wiki.ti.com/index.php/General_Purpose_IO_%28GPIO%29_FAQ_for_C2000#Q:_What_is_the_status_of_the_GPIO_after_reset.3F

      Basically, on non-Concerto devices, most GPIO 12-max are set to be high-impendence but with an internal pull-up enabled.  More specifics can be found in the "System Control and Interrupts User Guide or section.


      Thank you,
      Brett

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Edward Jakob1
      Posted by Edward Jakob1
      on Aug 27 2012 18:06 PM
      Prodigy245 points

      Thanks, Brett.  That answers my question.  

      Since we have an eCAP1/APWM pin driving a MOSFET gate at power-up, this puts us in an over-current situation.  

      Is there a technique to reduce the amount of HIGH time on the eCAP1/APWM pin after boot-up?  Right now, it takes about 10msec to deactivate the internal pullup after reset or power-up.  I'm assuming it takes about 10msec to set up the internal oscillator and PLL prior to configuring the GPIO pins.

      Best regards,

      Ed

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Daniel Chang
      Posted by Daniel Chang
      on Aug 27 2012 18:29 PM
      Expert4120 points

      The quickest solution would be to add a pull-down resistor on the pin.

      You could try optimizing your initialization routine by first having it disable pull-ups and then doing things like PLL initialization etc.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Edward Jakob1
      Posted by Edward Jakob1
      on Aug 28 2012 11:33 AM
      Prodigy245 points

      I suspect the delay would be reduced if the GPIO pull-up resistors were deactivated in boot.asm.  Still, this will only reduce the delay by 1-2usec.  Where is the other ~10msec delay between power-up and software execution coming from?

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Daniel Chang
      Posted by Daniel Chang
      on Aug 28 2012 15:09 PM
      Expert4120 points

      What is in boot.asm?

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Edward Jakob1
      Posted by Edward Jakob1
      on Aug 28 2012 15:15 PM
      Prodigy245 points

      boot.asm is code that creates the C environment.  It initializes all global and static variables, creates the stack and system heap.  It is the code that executes directly after the system comes out of reset.  boot.asm resides in rtssrc.zip, which is available from TI.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Daniel Chang
      Posted by Daniel Chang
      on Aug 28 2012 15:39 PM
      Expert4120 points

      So you are using a custom boot ROM?

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Edward Jakob1
      Posted by Edward Jakob1
      on Aug 28 2012 15:41 PM
      Prodigy245 points

      No.  The system boots from flash.  I simply want to customize boot.asm to configure the GPIOs prior to setting up the C environment.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Daniel Chang
      Posted by Daniel Chang
      on Aug 28 2012 15:43 PM
      Expert4120 points

      Ok.  I think we are on the same page now.  I am not familiar with the specifics of the boot-up process.  I will ask someone else to comment on the timing then.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Daniel Chang
      Posted by Daniel Chang
      on Aug 28 2012 16:21 PM
      Expert4120 points

      Check Section 5-5, particularly Fig 5-4 and Table 5-8, of the datasheet.  I looked at SPRS698C.  This might have the information you are looking for.

      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