• 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 » Stellaris® ARM® Microcontrollers » Stellaris® ARM® LM3S Microcontrollers Forum » LM3S5B91-C3 USB connection issue with SMSC's USB2512 Hub Chip
Share
Stellaris® ARM® Microcontrollers
  • Forum
Options
  • Subscribe via RSS
Helpful Stellaris® LM4F Series Links
  • LM4F Series
  • Stellaris PinMux Utility
  • Stellaris® LM4F120 LaunchPad
  • LM4F MCU Applications
  • LM4F MCU Video
  • ARM Cortex-M4F Whitepaper
  • Stellaris MCU Brochure
  • LM4F232 Eval Kit
  • LM3S5B91-C3 USB connection issue with SMSC's USB2512 Hub Chip

    LM3S5B91-C3 USB connection issue with SMSC's USB2512 Hub Chip

    This question is not answered
    Piyush Ramuka
    Posted by Piyush Ramuka
    on May 12 2012 04:25 AM
    Prodigy50 points

    Hi All,

    Background: We are working with LM3S5B91-C3 processor to connect its USB to SMSC's USB2512 hub. The hub will be used to connect keyboard.

    Processor Details: LM3S5B91-IQC80C3XD $A-12B075H. Clock Speed: 20MHz.

    Issue: When the board was initially designed, we had no issues in USB Hub connection. At times, the connected keyboard did not work, but multiple power-cycling made it work. Now we are observing that all our production boards, having same hardware design and software drivers, are behaving differently in regards to USB hub connectivity.

    1. Some boards are working (10%)
    2. Some boards are freezing during USB enumeration process. Enumeration does not detect the hub. (15%)
    3. Some boards are freezing during USBGetDescriptor and USBGetConfigDescriptor. The control is waiting for the endpoint-0 to become idle. This never happens. (60%)
    4. Some boards complete the initialization, the connected devices (keyboard) does not work at all (15%)

    The process is working at 20Mhz clock frequency. We tried changing the frequency to 22Mhz, 25Mhz, 30Mhz, 40Mhz and 50Mhz after reading some online blogs. This made some boards to work at 30Mhz but it was not consistent; most of the boards (60%) are still not working. Is this something due to the LM3S5B91-C3 USB errata? How is changing the clock frequency affecting the USB working and interrupt timings? Hub works fine when connect to a Windows PC.

    Additionally, we are unable to use JTAG debugger on this USB app due to Errata 2.3 (Rev K). Not sure how we are suppose to use the workaround? We are currently using UART to debug and check the program flow. In all cases the processor freezes - waiting for EP0 to become idle or some interrupt.

    We found following links which are similar to our issues but for different processor:
    http://e2e.ti.com/support/microcontrollers/stellaris_arm_cortex-m3_microcontroller/f/471/t/51772.aspx?PageIndex=1
    http://e2e.ti.com/support/microcontrollers/stellaris_arm_cortex-m3_microcontroller/f/471/t/171341.aspx

    Could anyone help us in resolving this critical issue? If there are more details required, please feel free to ask. Looking forward to get some response. Any help in this regards will be appreciated.

    Regards,
    Piyush

    microcontrollers LM3S5B91 ARM® Cortex™-M3 USB Host Hub
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    All Replies
    • Sue Cozart
      Posted by Sue Cozart
      on May 14 2012 10:44 AM
      Guru50195 points

      Hi Piyush,

      Due to erratum, " 11.5 Cannot communicate with a low-speed Device through a hub," the minimum speed for the USB controller is 30 MHz.  You also can't connect to low-speed Devices through a hub unless you have parts with date codes of 0x1A (October 2011) or later. If you change your system clock, I suspect your problems will as well.

      Regards,

      Sue

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Piyush Ramuka
      Posted by Piyush Ramuka
      on May 21 2012 06:36 AM
      Prodigy50 points

      Hello Sue,

      We tested our system with C5 with date codes of 0x1A. That resolves our Keyboard-Hub communication problems. Thank you!

      Could you also guide us on how to use JTag debugger for debugging the USB. When in the debug mode, USB enumeration fails and it never recognizes that a HUB is connected to it as device. Works fine in the release mode.

      Regards,

      Piyush

      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