<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Embedded Artists LPC4357 USB High Speed Issues in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Embedded-Artists-LPC4357-USB-High-Speed-Issues/m-p/522961#M5597</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by GTA on Thu Aug 01 15:49:46 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;I am using the Embedded Artists LPC4357 dev kit (this: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fembeddedartists.com%2Fproducts%2Fkits%2Flpc4357_kit.php" rel="nofollow" target="_blank"&gt;http://embeddedartists.com/products/kits/lpc4357_kit.php&lt;/A&gt;&lt;SPAN&gt;) and LPCOpen v1.03 to create a USB High Speed device based on LPCUSBLib. Unfortunately the EA LPC4357 dev kit is not supported by LPCOpen, so I have taken the LPCOpen KEIL LPC4357 dev kit board code (keil_mcb_18574357) and adapted that to contain the minimal necessary setup code to be able to run a USB device (I did follow the LPCOpen board porting guide: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fdocs.lpcware.com%2Flpcopen%2Fv1.03%2F_l_p_c_o_p_e_n__b_o_a_r_d__p_o_r_t_i_n_g__g_u_i_d_e.html" rel="nofollow" target="_blank"&gt;http://docs.lpcware.com/lpcopen/v1.03/_l_p_c_o_p_e_n__b_o_a_r_d__p_o_r_t_i_n_g__g_u_i_d_e.html&lt;/A&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When trying to run e.g. the lpcusblib_GenericHIDDevice example code with the default USB High Speed enabled (USB_FORCED_FULLSPEED 0), device enumeration is very unstable and usually does not succeed. I also lose the debug connection (target poll failure). If I however force the device to Full Speed, everything works fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have started to look at the USB clocking config in SystemSetupClocking() (in sysinit....c, where I have cut code from the KEIL template) and HAL_USBInit() (in HAL_LPC18xx.c), but I cannot really see what configuration(s) could cause the USB0 device controller to work fine in Full Speed but not in High Speed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 16:42:26 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T16:42:26Z</dc:date>
    <item>
      <title>Embedded Artists LPC4357 USB High Speed Issues</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Embedded-Artists-LPC4357-USB-High-Speed-Issues/m-p/522961#M5597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by GTA on Thu Aug 01 15:49:46 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;I am using the Embedded Artists LPC4357 dev kit (this: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fembeddedartists.com%2Fproducts%2Fkits%2Flpc4357_kit.php" rel="nofollow" target="_blank"&gt;http://embeddedartists.com/products/kits/lpc4357_kit.php&lt;/A&gt;&lt;SPAN&gt;) and LPCOpen v1.03 to create a USB High Speed device based on LPCUSBLib. Unfortunately the EA LPC4357 dev kit is not supported by LPCOpen, so I have taken the LPCOpen KEIL LPC4357 dev kit board code (keil_mcb_18574357) and adapted that to contain the minimal necessary setup code to be able to run a USB device (I did follow the LPCOpen board porting guide: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fdocs.lpcware.com%2Flpcopen%2Fv1.03%2F_l_p_c_o_p_e_n__b_o_a_r_d__p_o_r_t_i_n_g__g_u_i_d_e.html" rel="nofollow" target="_blank"&gt;http://docs.lpcware.com/lpcopen/v1.03/_l_p_c_o_p_e_n__b_o_a_r_d__p_o_r_t_i_n_g__g_u_i_d_e.html&lt;/A&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When trying to run e.g. the lpcusblib_GenericHIDDevice example code with the default USB High Speed enabled (USB_FORCED_FULLSPEED 0), device enumeration is very unstable and usually does not succeed. I also lose the debug connection (target poll failure). If I however force the device to Full Speed, everything works fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have started to look at the USB clocking config in SystemSetupClocking() (in sysinit....c, where I have cut code from the KEIL template) and HAL_USBInit() (in HAL_LPC18xx.c), but I cannot really see what configuration(s) could cause the USB0 device controller to work fine in Full Speed but not in High Speed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:42:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Embedded-Artists-LPC4357-USB-High-Speed-Issues/m-p/522961#M5597</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:42:26Z</dc:date>
    </item>
  </channel>
</rss>

