<?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>LPC MicrocontrollersのトピックRe: LPC5534: Use P0_22 for USB0_VBUS in ISP</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5534-Use-P0-22-for-USB0-VBUS-in-ISP/m-p/1616609#M51925</link>
    <description>&lt;P&gt;Thanks a lot for this information !&lt;BR /&gt;Does this concern only the ISP or it also applies for user application?&lt;BR /&gt;What about other packages ?&lt;/P&gt;&lt;P&gt;Thanks forward&lt;/P&gt;</description>
    <pubDate>Thu, 16 Mar 2023 09:22:17 GMT</pubDate>
    <dc:creator>OE_</dc:creator>
    <dc:date>2023-03-16T09:22:17Z</dc:date>
    <item>
      <title>LPC5534: Use P0_22 for USB0_VBUS in ISP</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5534-Use-P0-22-for-USB0-VBUS-in-ISP/m-p/1605228#M51716</link>
      <description>&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;I am using LPC5534 and I'd need to use ISP via USB, however we are only able to connect VBUS on our board to P0_22 which according to Datasheet and ReferenceManual is routable to USB0_VBUS.&lt;/P&gt;&lt;P&gt;It is mentioned in ReferenceManual page 914 that it would be possible to have ISP use P0_22 as VBUS : &lt;SPAN class=""&gt;&lt;SPAN&gt;&lt;EM&gt;PIO1_31(if [bit_22] @0x3FC14 is set to 1&lt;/EM&gt;, use P0_22&lt;/SPAN&gt;&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;However the mentioned address &lt;SPAN class=""&gt;&lt;SPAN&gt;0x3FC14 is apparently located in NMPA which seems read-only part of the flash...&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;Is there a way to have it written so ISP uses P0_22 as VBUS.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;Thanks forward&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2023 12:10:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5534-Use-P0-22-for-USB0-VBUS-in-ISP/m-p/1605228#M51716</guid>
      <dc:creator>OE_</dc:creator>
      <dc:date>2023-02-24T12:10:12Z</dc:date>
    </item>
    <item>
      <title>Re: LPC5534: Use P0_22 for USB0_VBUS in ISP</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5534-Use-P0-22-for-USB0-VBUS-in-ISP/m-p/1607891#M51771</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/202363"&gt;@OE_&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;LPC55 USB0 is Full Speed USB port.&amp;nbsp;The default setting of CMPA turns off the USB0 port. Some users may reconfigure CMPA to enable ISP USB0 in order to use ISP USB0 BOOT, but this is not recommended in practice.&lt;/P&gt;&lt;P&gt;It is mentioned in ReferenceManual page 914 that it would be possible to have ISP use P0_22 as VBUS :&amp;nbsp;&lt;I&gt;PIO1_31(if [bit_22] @0x3FC14 is set to 1&lt;/I&gt;, use P0_22.&lt;/P&gt;&lt;P&gt;&amp;nbsp;If you want to enable the USB0,&amp;nbsp; as you says, yes, is set to 1. but If you choose this option please be extra careful as you could brick your device.&lt;/P&gt;&lt;P&gt;As says in the manual "The bootloader supports In-System Programming using the USB peripheral. The target is implemented as USB-HID device classes. When transfer data through USB-HID device class, USB-HID does not use framing packets. Instead, the packetization, inherent in the USB protocol itself is used. The ability for the device to NAK Out transfers (until they can be received) provides the required flow control. The built-in CRC of each USB packet provides the required error detection"&lt;/P&gt;&lt;P&gt;So you can use USB1 with Auto ISP mode. . USB1 in ISP mode is identified as a USB input device in the HID section of the device manager.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2023 18:31:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5534-Use-P0-22-for-USB0-VBUS-in-ISP/m-p/1607891#M51771</guid>
      <dc:creator>CarlosGarabito</dc:creator>
      <dc:date>2023-03-01T18:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: LPC5534: Use P0_22 for USB0_VBUS in ISP</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5534-Use-P0-22-for-USB0-VBUS-in-ISP/m-p/1608276#M51783</link>
      <description>&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;I think we have a misunderstanding there, as I specified, I'm using LPC5534, which doesn't have USB1 according to both datasheet and ReferenceManual, only USB0, so I do not really get why you have mentioned USB1.&lt;/P&gt;&lt;P&gt;My problem is not to have USB0's &lt;SPAN class=""&gt;&lt;SPAN&gt;USB-HID&lt;/SPAN&gt;&lt;/SPAN&gt; enabled in the Bootloader ISP (because my application gives it 1 as interface argument as described in section &lt;SPAN class=""&gt;&lt;SPAN&gt;28.2.3 of the ReferenceManual),&lt;BR /&gt;but to have the Bootloader ISP configure its USB0 device to use the P0_22 as VBUS (instead of the default P1_31),&lt;BR /&gt;which is supposed to be done by editing a memory region which is located in the (read-only) NMPA and not CMPA according to the xlsx file showing the PFR mappings embedded in the ReferenceManual.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Since the flash API seemingly doesn't offer a way to write NMPA, I am wondering why it's mentioned that setting a bit in &lt;SPAN class=""&gt;&lt;SPAN&gt;&lt;EM&gt;0x3FC14&lt;/EM&gt; changes the ISP behavior since it's impossible to change this value... or there's an error somewhere in the manual?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;Thanks forward&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2023 09:49:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5534-Use-P0-22-for-USB0-VBUS-in-ISP/m-p/1608276#M51783</guid>
      <dc:creator>OE_</dc:creator>
      <dc:date>2023-03-02T09:49:16Z</dc:date>
    </item>
    <item>
      <title>Re: LPC5534: Use P0_22 for USB0_VBUS in ISP</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5534-Use-P0-22-for-USB0-VBUS-in-ISP/m-p/1610101#M51817</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Can you please provide the complete part number the you are using?. What package are you using?.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2023 15:39:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5534-Use-P0-22-for-USB0-VBUS-in-ISP/m-p/1610101#M51817</guid>
      <dc:creator>CarlosGarabito</dc:creator>
      <dc:date>2023-03-06T15:39:49Z</dc:date>
    </item>
    <item>
      <title>Re: LPC5534: Use P0_22 for USB0_VBUS in ISP</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5534-Use-P0-22-for-USB0-VBUS-in-ISP/m-p/1610136#M51819</link>
      <description>It's a LPC5534JBD100 revision 0A, hence package HLQFP100&lt;BR /&gt;Thanks forward</description>
      <pubDate>Mon, 06 Mar 2023 16:28:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5534-Use-P0-22-for-USB0-VBUS-in-ISP/m-p/1610136#M51819</guid>
      <dc:creator>OE_</dc:creator>
      <dc:date>2023-03-06T16:28:43Z</dc:date>
    </item>
    <item>
      <title>Re: LPC5534: Use P0_22 for USB0_VBUS in ISP</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5534-Use-P0-22-for-USB0-VBUS-in-ISP/m-p/1616136#M51917</link>
      <description>&lt;P style="margin: 0in; font-family: Montserrat; font-size: 12.0pt;" lang="es-MX"&gt;The 100 pin package has only one pin option for VBUS which will be P1_31, and this is not modificable by the user&lt;/P&gt;</description>
      <pubDate>Wed, 15 Mar 2023 20:02:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5534-Use-P0-22-for-USB0-VBUS-in-ISP/m-p/1616136#M51917</guid>
      <dc:creator>CarlosGarabito</dc:creator>
      <dc:date>2023-03-15T20:02:49Z</dc:date>
    </item>
    <item>
      <title>Re: LPC5534: Use P0_22 for USB0_VBUS in ISP</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5534-Use-P0-22-for-USB0-VBUS-in-ISP/m-p/1616609#M51925</link>
      <description>&lt;P&gt;Thanks a lot for this information !&lt;BR /&gt;Does this concern only the ISP or it also applies for user application?&lt;BR /&gt;What about other packages ?&lt;/P&gt;&lt;P&gt;Thanks forward&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2023 09:22:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5534-Use-P0-22-for-USB0-VBUS-in-ISP/m-p/1616609#M51925</guid>
      <dc:creator>OE_</dc:creator>
      <dc:date>2023-03-16T09:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: LPC5534: Use P0_22 for USB0_VBUS in ISP</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5534-Use-P0-22-for-USB0-VBUS-in-ISP/m-p/1619394#M51987</link>
      <description>&lt;P&gt;ISP&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2023 17:47:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5534-Use-P0-22-for-USB0-VBUS-in-ISP/m-p/1619394#M51987</guid>
      <dc:creator>CarlosGarabito</dc:creator>
      <dc:date>2023-03-21T17:47:07Z</dc:date>
    </item>
  </channel>
</rss>

