<?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>Kinetis MicrocontrollersのトピックRe: USB VBUS</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-VBUS/m-p/1608642#M64797</link>
    <description>&lt;P&gt;Another thing, it works fine if I remove set address command...&lt;/P&gt;</description>
    <pubDate>Thu, 02 Mar 2023 18:13:01 GMT</pubDate>
    <dc:creator>a8Chcx</dc:creator>
    <dc:date>2023-03-02T18:13:01Z</dc:date>
    <item>
      <title>USB VBUS</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-VBUS/m-p/1607950#M64788</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using K66F MCU to build USB HID to communicate with PC. And I have the problem:&lt;/P&gt;&lt;P&gt;1) When I provide VBUS by PC host, it works fine when USB cable is plugged in. But, if USB not plugged in, the firmware is hang up.&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) If I plugged in&amp;nbsp; USB cable, start running, then I can plug or unplug without any problem.&lt;/P&gt;&lt;P&gt;3) If I power USB by 5VDC, not from VBUS, it works fine...&lt;/P&gt;&lt;P&gt;Can anyone help me to debug where the problem is and how to fix it?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Christie&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2023 22:20:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-VBUS/m-p/1607950#M64788</guid>
      <dc:creator>a8Chcx</dc:creator>
      <dc:date>2023-03-01T22:20:50Z</dc:date>
    </item>
    <item>
      <title>Re: USB VBUS</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-VBUS/m-p/1608481#M64793</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I found the following cause the problem:&lt;/P&gt;&lt;P&gt;The MCU is stalling after command execution&lt;/P&gt;&lt;P&gt;static void USB_DeviceEhciSetDefaultState(usb_device_ehci_state_struct_t *ehciState){&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;hciState-&amp;gt;registerBase-&amp;gt;DEVICEADDR = 0U;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;Can anyone help me how to fix the problem?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Christie&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2023 15:53:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-VBUS/m-p/1608481#M64793</guid>
      <dc:creator>a8Chcx</dc:creator>
      <dc:date>2023-03-02T15:53:49Z</dc:date>
    </item>
    <item>
      <title>Re: USB VBUS</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-VBUS/m-p/1608615#M64795</link>
      <description>&lt;P&gt;Setting the USB Address to Zero at the start of enumeration is normal. That in itself isn't going to cause any issues.&lt;/P&gt;&lt;P&gt;What is the line before that doing?&amp;nbsp; Sometimes the debuggers can be off by a line when there is a fault.&lt;BR /&gt;&lt;BR /&gt;What is powering the device when this happens?&lt;BR /&gt;&lt;BR /&gt;Is there a bus fault trap set up that would show the address of any bus faults? Could something be invalid with ehciState in this power configuration?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2023 17:56:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-VBUS/m-p/1608615#M64795</guid>
      <dc:creator>bobpaddock</dc:creator>
      <dc:date>2023-03-02T17:56:16Z</dc:date>
    </item>
    <item>
      <title>Re: USB VBUS</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-VBUS/m-p/1608639#M64796</link>
      <description>&lt;P&gt;Hi bobpaddock,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;If VREG_IN0, VREG_IN1, and USB1_VBUS of MCU are powered by 5V or Vbus(USB cable plugged in), it works fine.&lt;/P&gt;&lt;P&gt;If there is no power on&amp;nbsp;VREG_IN0, VREG_IN1, and USB1_VBUS of MCU, it hangs on set address command. But, if I plug in USN cable, then it works again...&lt;/P&gt;&lt;P&gt;If there is any privilege to write this register(offset=0x0154)? Or need to enable something before writing to this register?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Christie&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2023 18:11:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-VBUS/m-p/1608639#M64796</guid>
      <dc:creator>a8Chcx</dc:creator>
      <dc:date>2023-03-02T18:11:40Z</dc:date>
    </item>
    <item>
      <title>Re: USB VBUS</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-VBUS/m-p/1608642#M64797</link>
      <description>&lt;P&gt;Another thing, it works fine if I remove set address command...&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2023 18:13:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-VBUS/m-p/1608642#M64797</guid>
      <dc:creator>a8Chcx</dc:creator>
      <dc:date>2023-03-02T18:13:01Z</dc:date>
    </item>
    <item>
      <title>Re: USB VBUS</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-VBUS/m-p/1608674#M64798</link>
      <description>So there is no power to the USB module then (Being independent of the chips power)? No way to tell what an unpowered module will do.&lt;BR /&gt;&lt;BR /&gt;I don't know that chip specification to answer your other question. The general answer of Kienits line is 'no'.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 02 Mar 2023 18:40:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-VBUS/m-p/1608674#M64798</guid>
      <dc:creator>bobpaddock</dc:creator>
      <dc:date>2023-03-02T18:40:22Z</dc:date>
    </item>
    <item>
      <title>Re: USB VBUS</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-VBUS/m-p/1608679#M64799</link>
      <description>That could cause odd issues with enumeration if the device is moved to another USB port or hub while it remains powered.</description>
      <pubDate>Thu, 02 Mar 2023 18:44:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-VBUS/m-p/1608679#M64799</guid>
      <dc:creator>bobpaddock</dc:creator>
      <dc:date>2023-03-02T18:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: USB VBUS</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-VBUS/m-p/1610097#M64812</link>
      <description>&lt;P&gt;Hi bobpadock,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes. You are right. If there is power on VEG_IN0&amp;amp;1, it works fine.&lt;/P&gt;&lt;P&gt;I am using BUS_powered mode. If there is no power and should not initialize USB?&lt;/P&gt;&lt;P&gt;I have to know the USB1_VBUS pin status. Could you tell how to do that?&lt;/P&gt;&lt;P&gt;I am using usb_1.6.3 for K66F MCU for now?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Christie&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2023 15:22:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-VBUS/m-p/1610097#M64812</guid>
      <dc:creator>a8Chcx</dc:creator>
      <dc:date>2023-03-06T15:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: USB VBUS</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-VBUS/m-p/1610128#M64813</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;My problem is:&lt;/P&gt;&lt;P&gt;In bus-power mode USB device, if no USB cable connected to Host, there is no power and I am hanging on set to the default address line. But, if no power, USB drive is not normal, I can't read the USB1_VBUS register, right?&lt;/P&gt;&lt;P&gt;Can anybody tell me how to get USB1_VBUS status? Can I read this register even without USB power?&lt;/P&gt;&lt;P&gt;I am using K66F MCU...&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Christie&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2023 16:13:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-VBUS/m-p/1610128#M64813</guid>
      <dc:creator>a8Chcx</dc:creator>
      <dc:date>2023-03-06T16:13:45Z</dc:date>
    </item>
    <item>
      <title>Re: USB VBUS</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-VBUS/m-p/1610939#M64817</link>
      <description>The solution that has been recommended by NXP here in the past is a voltage divider to an I/O pin for VUSB detection.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 07 Mar 2023 13:32:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-VBUS/m-p/1610939#M64817</guid>
      <dc:creator>bobpaddock</dc:creator>
      <dc:date>2023-03-07T13:32:50Z</dc:date>
    </item>
    <item>
      <title>Re: USB VBUS</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-VBUS/m-p/1610946#M64819</link>
      <description>&lt;P&gt;Hi bobpaddock,&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Do you have any detail for this recommendation?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Mar 2023 13:41:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-VBUS/m-p/1610946#M64819</guid>
      <dc:creator>a8Chcx</dc:creator>
      <dc:date>2023-03-07T13:41:32Z</dc:date>
    </item>
  </channel>
</rss>

