<?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: LPC5514 USB High Speed ​​device Errata Countermeasures in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5514-USB-High-Speed-device-Errata-Countermeasures/m-p/1516684#M50049</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;SPAN&gt;yamakatb,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Sorry what about the change meaning? Do you meaning this function will be integrated into SDK, we do not add it in the future?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;BR&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Alice&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 05 Sep 2022 03:25:31 GMT</pubDate>
    <dc:creator>Alice_Yang</dc:creator>
    <dc:date>2022-09-05T03:25:31Z</dc:date>
    <item>
      <title>LPC5514 USB High Speed ​​device Errata Countermeasures</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5514-USB-High-Speed-device-Errata-Countermeasures/m-p/1503859#M49811</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Referencing "usb_device_cdc_vcom" to test receiving files from a Windows Forms application.&lt;/P&gt;&lt;P&gt;I have a question about how to deal with &lt;A href="https://www.nxp.com/docs/en/nxp/errata/LPC55S1x_LPC551x_ES.pdf" target="_self"&gt;errata&lt;/A&gt;.&lt;BR /&gt;3.4 USB.3: “For the USB high-speed device controller, the detection&lt;BR /&gt;handshake fails when certain full-speed hubs are connected"&lt;/P&gt;&lt;P&gt;1. About USB_DeviceHsPhyChirpIssueWorkaround&lt;BR /&gt;Where can I find the source of "USB_DeviceHsPhyChirpIssueWorkaround()" mentioned in Work-around?&lt;BR /&gt;usb_dev_hid_mouse only has a declaration, no definition found.&lt;/P&gt;&lt;P&gt;2. About FORCE_FS&lt;BR /&gt;It says to set FORCE_FS(bit21), but I cannot confirm that it is set on the IDE, probably because it is not defined in the device file. Is there any way to set this bit?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kUSB_DeviceEventBusReset.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/189777iA8F94E99AD2E8139/image-size/large?v=v2&amp;amp;px=999" role="button" title="kUSB_DeviceEventBusReset.png" alt="kUSB_DeviceEventBusReset.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;detail&lt;BR /&gt;Device: LPC5514SDK Version: 2.11.0&lt;BR /&gt;Host: Windows 10 PC&lt;BR /&gt;Toolchain: IAR Embedded Workbench for ARM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 09:16:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5514-USB-High-Speed-device-Errata-Countermeasures/m-p/1503859#M49811</guid>
      <dc:creator>yamakatb</dc:creator>
      <dc:date>2022-08-10T09:16:19Z</dc:date>
    </item>
    <item>
      <title>Re: LPC5514 USB High Speed ​​device Errata Countermeasures</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5514-USB-High-Speed-device-Errata-Countermeasures/m-p/1504836#M49823</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;SPAN&gt;yamakatb,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;About Q1, I will confirm with our internal, then reply you.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;About Q2, how about use latest IDE and SDKv2.12? Because for old UM for lpc5514, there is no&amp;nbsp;FORCE_FS(bit21), it is reserved, so there is no this bit in your IDE. Please refer to new version UM to config:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alice_Yang_0-1660210119527.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/189927i4922460157330F32/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alice_Yang_0-1660210119527.png" alt="Alice_Yang_0-1660210119527.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 09:29:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5514-USB-High-Speed-device-Errata-Countermeasures/m-p/1504836#M49823</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2022-08-11T09:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: LPC5514 USB High Speed ​​device Errata Countermeasures</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5514-USB-High-Speed-device-Errata-Countermeasures/m-p/1506441#M49856</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;This&amp;nbsp; source was found from LPC54 family, same example, I think the source code is same with lpc55xx,&amp;nbsp;I will confirm this once I get a reply.&lt;/P&gt;
&lt;PRE class="lia-code-sample  language-markup"&gt;&lt;CODE&gt;void USB_DeviceHsPhyChirpIssueWorkaround(void)
{
    uint32_t startFrame = USBHSD-&amp;gt;INFO &amp;amp; USBHSD_INFO_FRAME_NR_MASK;
    uint32_t currentFrame;
    uint32_t isConnectedToFsHostFlag = 0U;
    if ((!isConnectedToHsHost) &amp;amp;&amp;amp; (!isConnectedToFsHost))
    {
        if (((USBHSD-&amp;gt;DEVCMDSTAT &amp;amp; USBHSD_DEVCMDSTAT_Speed_MASK) &amp;gt;&amp;gt; USBHSD_DEVCMDSTAT_Speed_SHIFT) == 0x01U)
        {
            USBHSD-&amp;gt;DEVCMDSTAT = (USBHSD-&amp;gt;DEVCMDSTAT &amp;amp; (~(0x0F000000U | USBHSD_DEVCMDSTAT_PHY_TEST_MODE_MASK))) |
                                 USBHSD_DEVCMDSTAT_PHY_TEST_MODE(0x05U);
            hwTick = 100;
            USB_TimerInt(0, 1);
            usb_echo("The USB device PHY chirp work-around is working\r\n");
            while (hwTick)
            {
            }
            currentFrame = USBHSD-&amp;gt;INFO &amp;amp; USBHSD_INFO_FRAME_NR_MASK;
            if (currentFrame != startFrame)
            {
                isConnectedToHsHost = 1U;
            }
            else
            {
                hwTick = 1;
                USB_TimerInt(0, 1);
                while (hwTick)
                {
                }
                currentFrame = USBHSD-&amp;gt;INFO &amp;amp; USBHSD_INFO_FRAME_NR_MASK;
                if (currentFrame != startFrame)
                {
                    isConnectedToHsHost = 1U;
                }
                else
                {
                    isConnectedToFsHostFlag = 1U;
                }
            }
            USBHSD-&amp;gt;DEVCMDSTAT = (USBHSD-&amp;gt;DEVCMDSTAT &amp;amp; (~(0x0F000000U | USBHSD_DEVCMDSTAT_PHY_TEST_MODE_MASK)));
            USBHSD-&amp;gt;DEVCMDSTAT = (USBHSD-&amp;gt;DEVCMDSTAT &amp;amp; (~(0x0F000000U | USBHSD_DEVCMDSTAT_DCON_MASK)));
            hwTick             = 510;
            USB_TimerInt(0, 1);
            while (hwTick)
            {
            }
            USBHSD-&amp;gt;DEVCMDSTAT = (USBHSD-&amp;gt;DEVCMDSTAT &amp;amp; (~(0x0F000000U))) | USB_DEVCMDSTAT_DCON_C_MASK;
            USBHSD-&amp;gt;DEVCMDSTAT =
                (USBHSD-&amp;gt;DEVCMDSTAT &amp;amp; (~(0x0F000000U))) | USBHSD_DEVCMDSTAT_DCON_MASK | USB_DEVCMDSTAT_DRES_C_MASK;
            if (isConnectedToFsHostFlag)
            {
                isConnectedToFsHost = 1U;
            }
        }
    }
}&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2022 02:53:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5514-USB-High-Speed-device-Errata-Countermeasures/m-p/1506441#M49856</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2022-08-16T02:53:38Z</dc:date>
    </item>
    <item>
      <title>Re: LPC5514 USB High Speed ​​device Errata Countermeasures</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5514-USB-High-Speed-device-Errata-Countermeasures/m-p/1509881#M49929</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/27788"&gt;@Alice_Yang&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;Regarding Q1, I downloaded and tried the latest IDE and SDK2.12, but the FORCE_FS bit was not present.&lt;/P&gt;&lt;P&gt;Regarding Q2, I was able to get and build "USB_DeviceHsPhyChirpIssueWorkaround" from usb_dev_hid_mouse in SDK2.12 for LPC54xx.&lt;BR /&gt;The errata says "If full-speed host is connected or "isConnectedToFsHostFlag" is set , FORCE_FS (bit 21) of DEVCMDSTAT register should be set to force the device operating in full-speed mode.&lt;BR /&gt;I do not recognize where FORCE_FS is set in the API.&lt;/P&gt;&lt;P&gt;It also says "On "kUSB_DeviceEventDetach" event, FORCE_FS (bit 21) of DEVCMDSTAT register should be cleared.&lt;BR /&gt;How is the FORCE_FS set and cleared being performed?&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;yamakatb&lt;/P&gt;</description>
      <pubDate>Tue, 23 Aug 2022 04:52:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5514-USB-High-Speed-device-Errata-Countermeasures/m-p/1509881#M49929</guid>
      <dc:creator>yamakatb</dc:creator>
      <dc:date>2022-08-23T04:52:13Z</dc:date>
    </item>
    <item>
      <title>Re: LPC5514 USB High Speed ​​device Errata Countermeasures</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5514-USB-High-Speed-device-Errata-Countermeasures/m-p/1513768#M49996</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;SPAN&gt;yamakatb,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;About&amp;nbsp;FORCE_FS bit, yes, there is bug with IDE, I will report it to IDE team.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Now you only can try to use register address to config and check:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alice_Yang_0-1661850049172.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/191767iE0F21043C491D448/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alice_Yang_0-1661850049172.png" alt="Alice_Yang_0-1661850049172.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alice_Yang_1-1661850084906.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/191768i832AD7A633D60D0E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alice_Yang_1-1661850084906.png" alt="Alice_Yang_1-1661850084906.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Aug 2022 09:03:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5514-USB-High-Speed-device-Errata-Countermeasures/m-p/1513768#M49996</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2022-08-30T09:03:09Z</dc:date>
    </item>
    <item>
      <title>Re: LPC5514 USB High Speed ​​device Errata Countermeasures</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5514-USB-High-Speed-device-Errata-Countermeasures/m-p/1514233#M49999</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/27788"&gt;@Alice_Yang&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I understand the content and countermeasures.&lt;/P&gt;&lt;P&gt;In addition to the contents of the previous Q2, I have a question, is it likely that the contents of USB_DeviceHsPhyChirpIssueWorkaround will be changed in the future for this problem?&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;yamakatb&lt;/P&gt;</description>
      <pubDate>Wed, 31 Aug 2022 01:28:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5514-USB-High-Speed-device-Errata-Countermeasures/m-p/1514233#M49999</guid>
      <dc:creator>yamakatb</dc:creator>
      <dc:date>2022-08-31T01:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: LPC5514 USB High Speed ​​device Errata Countermeasures</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5514-USB-High-Speed-device-Errata-Countermeasures/m-p/1516684#M50049</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;SPAN&gt;yamakatb,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Sorry what about the change meaning? Do you meaning this function will be integrated into SDK, we do not add it in the future?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;BR&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Alice&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Sep 2022 03:25:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5514-USB-High-Speed-device-Errata-Countermeasures/m-p/1516684#M50049</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2022-09-05T03:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: LPC5514 USB High Speed ​​device Errata Countermeasures</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5514-USB-High-Speed-device-Errata-Countermeasures/m-p/1517679#M50073</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/27788"&gt;@Alice_Yang&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm sorry I didn't explain it enough.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;Referring to the errata, "If a full-speed host is connected or "isConnectedToFsHostFlag" is set, the device must be forced to operate in full-speed mode by setting FORCE_FS (bit 21) in the DEVCMDSTAT register It is stated as "The device must be forced to operate in full-speed mode.&lt;/P&gt;&lt;P&gt;After checking the contents of the API, we could not find where FORCE_FS (bit 21) is set.&lt;/P&gt;&lt;P&gt;I understand that FORCE_FS is not displayed due to an IDE error.&lt;BR /&gt;However, I am not sure if this can be used to work around this as I cannot see a setting to FORCE_FS in the API, which is the work-around listed in the errata.&lt;/P&gt;&lt;P&gt;Is it not necessary to add the FORCE_FS setting using register addresses to the API?&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;yamakatb&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2022 11:16:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5514-USB-High-Speed-device-Errata-Countermeasures/m-p/1517679#M50073</guid>
      <dc:creator>yamakatb</dc:creator>
      <dc:date>2022-09-06T11:16:40Z</dc:date>
    </item>
    <item>
      <title>Re: LPC5514 USB High Speed ​​device Errata Countermeasures</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5514-USB-High-Speed-device-Errata-Countermeasures/m-p/1518940#M50089</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;SPAN&gt;yamakatb,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Yes, It is very necessary, I will take ticket to SDK team about this issue.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks for your sharing.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;BR&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Alice&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Sep 2022 03:07:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5514-USB-High-Speed-device-Errata-Countermeasures/m-p/1518940#M50089</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2022-09-08T03:07:57Z</dc:date>
    </item>
  </channel>
</rss>

