• 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 » Lm3s3739 usb host mode not work well
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
  • Lm3s3739 usb host mode not work well

    Lm3s3739 usb host mode not work well

    This question is not answered
    token
    Posted by token
    on Apr 02 2012 01:39 AM
    Intellectual845 points

    Hi,

         Recently, i am using the lm3s3739 to develop the usb host mode, to connect the usb disk. the system generate the VBUS ERR, the schematic  hasn't protect component and the tps2501 pwr manage, i only use the boost component to supply the +5 VBUS, pull-up PB1 to VBUS, pull down the PB0 to GND with 10 Ohm resistance, keep the USB-EPE, PFLT not connect,  In the software, ignore  the  PFLT,  according to the errata, fix the hardware bug when the system generate the VBUS ERROR,  reset the USB0 and reinitial the usb device. but it can't escape the VBUS error. why ? who can give me some idea?

        Thanks,

        Token.

    arm USB Cortex-M3 LM3S3748 USB Library usb driver USB Host LM3S3739
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    All Replies
    • Sean de la Haye
      Posted by Sean de la Haye
      on Apr 02 2012 15:03 PM
      Intellectual2015 points

      Token,

      Is this a custom board or an evaluation kit?  Please send us the date code on the third line of the device marking.  Also, please send us the USB clock setting.

      Thanks,

      Sean de la Haye

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • token
      Posted by token
      on Apr 03 2012 03:32 AM
      Intellectual845 points

      Hi,

       Thanks for you replies,

      Stellaris Sean
      Is this a custom board or an evaluation kit?

      It is custom board, 

      Stellaris Sean
      the date code on the third line of the device marking

      The third line is  "S9-04P006H" , the whole marking is "LM3S3739 IQC50A0 SD  S9-04P006H"

      Stellaris Sean
      the USB clock setting.

      I can't find the code about usb clock setting,  the below code is the system clock and usb pll setting. the all about usb host  is the same as lm3s3748 evaluation kit's code.

      The system clock setting (the hardware crystal is 8Mhz). :

             "SysCtlClockSet(SYSCTL_SYSDIV_4 | SYSCTL_USE_PLL | SYSCTL_OSC_MAIN | SYSCTL_XTAL_8MHZ);"

      the usb clock setting is:


          MAP_SysCtlPeripheralReset(SYSCTL_PERIPH_USB0);
          MAP_SysCtlPeripheralEnable(SYSCTL_PERIPH_USB0);
          MAP_SysCtlUSBPLLEnable();

      Thanks

         Token.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Sean de la Haye
      Posted by Sean de la Haye
      on Apr 03 2012 11:43 AM
      Intellectual2015 points

      Token,

      From your description, it sounds like you are not having any problems with the clocking errata.  I talked with one of the USB experts here and they recommended removing your pullup to VBUS on PB1 (Replace it with a 0 Ohm resistor or short the connection). They have told me that if you connected a oscilloscope on the pin side of the resistor, you would see the voltage droop by ~0.3V when you connect.  The resistor is causing enough of a power draw that when you connect it is going below the 4.7V lower limit.

      Thanks,

      Sean

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • token
      Posted by token
      on Apr 03 2012 13:22 PM
      Intellectual845 points

      Hi Sean,

           I have connected the PB1 to VBUS with 0 Ohm resistor, The VBUS voltage can reach the 4.97v , and the rise time is 380us. The system has generate the VBUS ERROR before connect the usb disk.

         Thanks,

         Token.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Sean de la Haye
      Posted by Sean de la Haye
      on Apr 04 2012 09:45 AM
      Intellectual2015 points

      Token,

      My colleague has suggested that you try driving 5V on PB1 before the device is powered up. He said that this is a requirement listed in section 12.3 in the LM3S3739 errata document.

      Thanks,

      Sean de la Haye

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • token
      Posted by token
      on Apr 06 2012 04:38 AM
      Intellectual845 points

      Hi Sean,

         I  have a test according your advice, driving +5V on PB1 before the device is powered up,  and connect PB0 to GND through 0 Ohm resistor,  But the methods can't resolve the problem. In the key,  some is ok among our productions, i have some switch test,but the vbus error follow the lm3s3739.

          Thanks,

          Token.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • token
      Posted by token
      on Apr 09 2012 00:20 AM
      Intellectual845 points

        Hi sean,

             This problem is related to the version and code date of the chip? I have test two pcb with "LM3S3739-IQC50A0-$9-06P048",the both can't work on usb host,  then , test two pcb with "lm3s3739-ICQ50A0-$9-21P072H", the both work well?

          Thanks,

         Token.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Sean de la Haye
      Posted by Sean de la Haye
      on Apr 09 2012 11:50 AM
      Intellectual2015 points

      Token,

      Thank you for the information on the part numbers -- this should help the debug.  I will consult my colleagues and see if there are any other ideas.

      Sean

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Sean de la Haye
      Posted by Sean de la Haye
      on Apr 11 2012 11:12 AM
      Intellectual2015 points

      Token,

      I have talked with my colleagues and we can only conclude that the parts with the LM3S3739-IQC50A0-$9-06P048 date code are damaged. The next step is to contact your local TI Sales office to get them replaced with the parts with the newer date code.  It was also recommended that a 4.7 Ohm resistor be connected between the +5V and PB1.

      Thanks,

      Sean

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • token
      Posted by token
      on Apr 11 2012 12:35 PM
      Intellectual845 points

      Sean,

         Thanks a lot,  Do you mean the chips is okay, only  damaged in using ? To say simply, I only want  to know what result in the problem,  and how to avoid it.  your advice adding 4.7 ohm resistor  i will have a test, but to get the effect it isn't a short time.

        thanks

        Token.

          

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Sean de la Haye
      Posted by Sean de la Haye
      on Apr 11 2012 16:06 PM
      Intellectual2015 points

      Token,

      They are most likely defective if you have newer devices that are functioning correctly.  Since the newer devices you have are working, our feeling is that the replacement chips should also work.

      Sean

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • token
      Posted by token
      on Apr 11 2012 21:03 PM
      Intellectual845 points

      Sean,

            Sorry, I probably did not describe clearly. In all products using "LM3S3739-IQC50A0-$9-06P048H', most of it is normal.There is a small part of products is not working properly. but We still have a lot of inventory,and not only the date code. if we apply replacement, We must spend long time in the test. All of these will affect the progress of our products. Oh , My GOD!

          Token.

      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