<?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 USB host (for MSD) example and test problem at USB1 interface in LPC54618. in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-host-for-MSD-example-and-test-problem-at-USB1-interface-in/m-p/1283019#M45166</link>
    <description>&lt;P&gt;&lt;BR /&gt;1. Environment:&lt;/P&gt;&lt;P&gt;SDK v2.9.0&lt;BR /&gt;CPU: LPC54618&lt;BR /&gt;example Code: host_msd_fatfs_freertos&lt;/P&gt;&lt;P&gt;2. Goal: USB 2.0 Host MSD @ USB1 interface&lt;/P&gt;&lt;P&gt;3. Problem&lt;/P&gt;&lt;P&gt;The example code only supports OHCI.&lt;/P&gt;&lt;P&gt;Referring to Datasheet, USB1 is EHCI compliant.&lt;BR /&gt;Using EHCI in the example, it is not built with a compile error saying that there is no ehci driver source.&lt;/P&gt;&lt;P&gt;4. Questions&lt;/P&gt;&lt;P&gt;4.1. When using usb1 interface, does it work with ohci?&lt;/P&gt;&lt;P&gt;4.2. Can I specify that the example source uses usb1 interface?&lt;/P&gt;&lt;P&gt;attachement: test project code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 27 May 2021 02:38:35 GMT</pubDate>
    <dc:creator>toipaz</dc:creator>
    <dc:date>2021-05-27T02:38:35Z</dc:date>
    <item>
      <title>USB host (for MSD) example and test problem at USB1 interface in LPC54618.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-host-for-MSD-example-and-test-problem-at-USB1-interface-in/m-p/1283019#M45166</link>
      <description>&lt;P&gt;&lt;BR /&gt;1. Environment:&lt;/P&gt;&lt;P&gt;SDK v2.9.0&lt;BR /&gt;CPU: LPC54618&lt;BR /&gt;example Code: host_msd_fatfs_freertos&lt;/P&gt;&lt;P&gt;2. Goal: USB 2.0 Host MSD @ USB1 interface&lt;/P&gt;&lt;P&gt;3. Problem&lt;/P&gt;&lt;P&gt;The example code only supports OHCI.&lt;/P&gt;&lt;P&gt;Referring to Datasheet, USB1 is EHCI compliant.&lt;BR /&gt;Using EHCI in the example, it is not built with a compile error saying that there is no ehci driver source.&lt;/P&gt;&lt;P&gt;4. Questions&lt;/P&gt;&lt;P&gt;4.1. When using usb1 interface, does it work with ohci?&lt;/P&gt;&lt;P&gt;4.2. Can I specify that the example source uses usb1 interface?&lt;/P&gt;&lt;P&gt;attachement: test project code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 May 2021 02:38:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/USB-host-for-MSD-example-and-test-problem-at-USB1-interface-in/m-p/1283019#M45166</guid>
      <dc:creator>toipaz</dc:creator>
      <dc:date>2021-05-27T02:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: USB host (for MSD) example and test problem at USB1 interface in LPC54618.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-host-for-MSD-example-and-test-problem-at-USB1-interface-in/m-p/1283391#M45180</link>
      <description>&lt;P&gt;As I looked at the datasheet and manuals, it says that it uses USB_HOST_CONFIG_IP3516HS.&lt;/P&gt;&lt;P&gt;So&lt;/P&gt;&lt;P&gt;in usb_host_config.h, we test it by changing it as follows.:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;#define USB_HOST_CONFIG_OHCI&lt;STRONG&gt; (0U)&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;#define &lt;STRONG&gt;USB_HOST_CONFIG_IP3516HS (1U)&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;After that, it'll be waiting forever at the while() statement in usb_host_ip3156hs.c as below.:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;static usb_status_t USB_HostIp3516HsControllerReset(usb_host_ip3516hs_state_struct_t *usbHostState)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;{&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; usbHostState-&amp;gt;usbRegBase-&amp;gt;USBCMD = USB_HOST_IP3516HS_USBCMD_HCRESET_MASK;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;while (0U != (usbHostState-&amp;gt;usbRegBase-&amp;gt;USBCMD &amp;amp; USB_HOST_IP3516HS_USBCMD_HCRESET_MASK))&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; __NOP();&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return kStatus_USB_Success;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;}&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;The USB1 RESET command is not completed, where should I start to find bug?&lt;/P&gt;</description>
      <pubDate>Thu, 27 May 2021 10:13:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/USB-host-for-MSD-example-and-test-problem-at-USB1-interface-in/m-p/1283391#M45180</guid>
      <dc:creator>toipaz</dc:creator>
      <dc:date>2021-05-27T10:13:22Z</dc:date>
    </item>
    <item>
      <title>Re: USB host (for MSD) example and test problem at USB1 interface in LPC54618.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-host-for-MSD-example-and-test-problem-at-USB1-interface-in/m-p/1284344#M45225</link>
      <description>&lt;P&gt;The USB hw block did not work properly because the GND wiring of the USB circuit was connected incorrectly.&lt;BR /&gt;Corrected the GND wiring and it worked normally.&lt;/P&gt;</description>
      <pubDate>Sat, 29 May 2021 01:34:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/USB-host-for-MSD-example-and-test-problem-at-USB1-interface-in/m-p/1284344#M45225</guid>
      <dc:creator>toipaz</dc:creator>
      <dc:date>2021-05-29T01:34:18Z</dc:date>
    </item>
  </channel>
</rss>

