<?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 Re: &amp;quot;USB1 not working in MQX 4.0.1 (Tower) and 4.0.2 (Auto)?&amp;quot; in Vybrid Processors</title>
    <link>https://community.nxp.com/t5/Vybrid-Processors/quot-USB1-not-working-in-MQX-4-0-1-Tower-and-4-0-2-Auto-quot/m-p/281511#M2015</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also related, when trying to use USB1, you need to enable it in the default vybrid tower config file for A5: &lt;STRONG&gt;mqx/source/bsp/twrvf65gs10_a5/twrvf65gs10_a5.h.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Change &lt;SPAN style="font-size: 10pt; font-family: 'Courier New';"&gt;USBCFG_DEFAULT_HOST_CONTROLLER to use ehci&lt;SPAN style="color: #339966;"&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #00b050; font-size: 10.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;#define USBCFG_DEFAULT_HOST_CONTROLLER (&amp;amp;_bsp_usb_host_ehci1_if)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Jun 2013 19:33:46 GMT</pubDate>
    <dc:creator>anthony_huereca</dc:creator>
    <dc:date>2013-06-11T19:33:46Z</dc:date>
    <item>
      <title>"USB1 not working in MQX 4.0.1 (Tower) and 4.0.2 (Auto)?"</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/quot-USB1-not-working-in-MQX-4-0-1-Tower-and-4-0-2-Auto-quot/m-p/281510#M2014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Some people report that USB1 is not working in the current MQX releases for Vybrid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We found that this may be caused by the Bypass bit in the USB1 PLL (PLL7) not being cleared during initialization.&lt;/P&gt;&lt;P&gt;The issue will be further investigated, but for now a quick fix is to clear the bypass by adding the code in bold.:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In file init_gpio.c (bsp lib):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // For USB1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Anadig_PLL7_CTRL &amp;amp;= ~Anadig_PLL7_CTRL_BYPASS_CLK_SRC_MASK; //the source of clock is 24MHz XTAL CLK&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Anadig_PLL7_CTRL |= Anadig_PLL7_CTRL_POWER_MASK; //power the USB1 PLL&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Anadig_PLL7_CTRL |= Anadig_PLL7_CTRL_EN_USB_CLKS_MASK; //power the USB1 PHY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; while(!(Anadig_PLL7_CTRL &amp;amp; Anadig_PLL7_CTRL_LOCK_MASK));// wait for pll to lock&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;&amp;nbsp;&amp;nbsp; Anadig_PLL7_CTRL &amp;amp;= ~Anadig_PLL7_CTRL_BYPASS_MASK; //clear the bypass&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;Richard&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jun 2013 12:13:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/quot-USB1-not-working-in-MQX-4-0-1-Tower-and-4-0-2-Auto-quot/m-p/281510#M2014</guid>
      <dc:creator>richard_stulens</dc:creator>
      <dc:date>2013-06-07T12:13:03Z</dc:date>
    </item>
    <item>
      <title>Re: "USB1 not working in MQX 4.0.1 (Tower) and 4.0.2 (Auto)?"</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/quot-USB1-not-working-in-MQX-4-0-1-Tower-and-4-0-2-Auto-quot/m-p/281511#M2015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also related, when trying to use USB1, you need to enable it in the default vybrid tower config file for A5: &lt;STRONG&gt;mqx/source/bsp/twrvf65gs10_a5/twrvf65gs10_a5.h.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Change &lt;SPAN style="font-size: 10pt; font-family: 'Courier New';"&gt;USBCFG_DEFAULT_HOST_CONTROLLER to use ehci&lt;SPAN style="color: #339966;"&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #00b050; font-size: 10.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;#define USBCFG_DEFAULT_HOST_CONTROLLER (&amp;amp;_bsp_usb_host_ehci1_if)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jun 2013 19:33:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/quot-USB1-not-working-in-MQX-4-0-1-Tower-and-4-0-2-Auto-quot/m-p/281511#M2015</guid>
      <dc:creator>anthony_huereca</dc:creator>
      <dc:date>2013-06-11T19:33:46Z</dc:date>
    </item>
  </channel>
</rss>

