<?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: LCPXpresso55S69 USB HID demo for sending/receiving data</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LCPXpresso55S69-USB-HID-demo-for-sending-receiving-data/m-p/1200277#M43277</link>
    <description>&lt;P&gt;Yes, and there is nothing useful. Not a word on how to set the device correctly (descriptors, buffers).&lt;BR /&gt;&lt;BR /&gt;Actually, I wonder what the demo does, since I see no buffer sending in the main function.&lt;/P&gt;</description>
    <pubDate>Wed, 16 Dec 2020 09:27:51 GMT</pubDate>
    <dc:creator>crabbo_babbo</dc:creator>
    <dc:date>2020-12-16T09:27:51Z</dc:date>
    <item>
      <title>LCPXpresso55S69 USB HID demo for sending/receiving data</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LCPXpresso55S69-USB-HID-demo-for-sending-receiving-data/m-p/1199059#M43254</link>
      <description>&lt;P&gt;I'm struggling to find a working USB HID demo for a LPCXpresso55S69.&lt;BR /&gt;I've looked at the dev_hid_generic_bm demo but can't manage to send or receive data from the PC.&lt;/P&gt;&lt;P&gt;Is there a basic tutorial on how to set it up? Like setting up the right descriptors and such?&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 14 Dec 2020 16:32:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LCPXpresso55S69-USB-HID-demo-for-sending-receiving-data/m-p/1199059#M43254</guid>
      <dc:creator>crabbo_babbo</dc:creator>
      <dc:date>2020-12-14T16:32:08Z</dc:date>
    </item>
    <item>
      <title>Re: LCPXpresso55S69 USB HID demo for sending/receiving data</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LCPXpresso55S69-USB-HID-demo-for-sending-receiving-data/m-p/1199948#M43272</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/181419"&gt;@crabbo_babbo&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Have you tried looking at the readme pdf found in the example folder?&lt;/P&gt;
&lt;P&gt;Path: SDK_2.8.2_LPCXpresso55S69 (1).zip\boards\lpcxpresso55s69\usb_examples\usb_device_hid_generic\bm\cm33_core0&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Alexis Andalon&lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2020 00:05:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LCPXpresso55S69-USB-HID-demo-for-sending-receiving-data/m-p/1199948#M43272</guid>
      <dc:creator>Alexis_A</dc:creator>
      <dc:date>2020-12-16T00:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: LCPXpresso55S69 USB HID demo for sending/receiving data</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LCPXpresso55S69-USB-HID-demo-for-sending-receiving-data/m-p/1200277#M43277</link>
      <description>&lt;P&gt;Yes, and there is nothing useful. Not a word on how to set the device correctly (descriptors, buffers).&lt;BR /&gt;&lt;BR /&gt;Actually, I wonder what the demo does, since I see no buffer sending in the main function.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2020 09:27:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LCPXpresso55S69-USB-HID-demo-for-sending-receiving-data/m-p/1200277#M43277</guid>
      <dc:creator>crabbo_babbo</dc:creator>
      <dc:date>2020-12-16T09:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: LCPXpresso55S69 USB HID demo for sending/receiving data</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LCPXpresso55S69-USB-HID-demo-for-sending-receiving-data/m-p/1202661#M43330</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/181419"&gt;@crabbo_babbo&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;The SDK example already has the descriptors and buffers set up, if you take a closer look at the demo there's a file called usb_device_descriptor.c that already has the descriptor.&lt;/P&gt;
&lt;P&gt;The buffer sending the information is called in the USB callback when&amp;nbsp; a&amp;nbsp;kUSB_DeviceHidEventRecvResponse event is called:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alexis_A_0-1608596982376.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/133202i05B3AE5766B9EFB2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alexis_A_0-1608596982376.png" alt="Alexis_A_0-1608596982376.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Alexis Andalon&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Dec 2020 00:31:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LCPXpresso55S69-USB-HID-demo-for-sending-receiving-data/m-p/1202661#M43330</guid>
      <dc:creator>Alexis_A</dc:creator>
      <dc:date>2020-12-22T00:31:17Z</dc:date>
    </item>
    <item>
      <title>Re: LCPXpresso55S69 USB HID demo for sending/receiving data</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LCPXpresso55S69-USB-HID-demo-for-sending-receiving-data/m-p/1202986#M43338</link>
      <description>&lt;P&gt;Yes I've noticed, but it's not working.&lt;/P&gt;&lt;P&gt;The two functions always return a busy status. It seems like a common issue, as seen&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/MCUXpresso-SDK/K22-USB-device-CDC-and-HID-problem/m-p/817565" target="_blank" rel="noopener"&gt;here&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-RT/USB-Freezes-kStatus-USB-Busy/m-p/1032419" target="_self"&gt;here&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/LPC-Microcontrollers/Posible-race-condition-on-usb-device-dci-c/m-p/873132" target="_self"&gt;here&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/LPC-Microcontrollers/USB-isochronous-EP-stuck/m-p/704834" target="_self"&gt;here&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/LPC-Microcontrollers/Posible-race-condition-on-usb-device-dci-c/m-p/873132" target="_self"&gt;here&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And&amp;nbsp;&lt;A href="https://community.nxp.com/t5/Kinetis-Microcontrollers/LPC55S69-USB-HID-Generic-endpoint-setting/m-p/1084976" target="_self"&gt;here&lt;/A&gt; is another problem related to HID to this (my) specific board, to which apparently there is no solution given, since the NXP support just replied "download the SDK demo".&lt;/P&gt;&lt;P&gt;In addition, I'd like to know why the usb_device_hid_generic demo has no USB HID drivers by default. See the screenshot below for reference.&lt;/P&gt;&lt;P&gt;If I add the drivers manually, the generated code conflicts with the rest of the code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hid.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/133275i858DBD57ACC9B1EE/image-size/large?v=v2&amp;amp;px=999" role="button" title="hid.png" alt="hid.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Dec 2020 09:12:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LCPXpresso55S69-USB-HID-demo-for-sending-receiving-data/m-p/1202986#M43338</guid>
      <dc:creator>crabbo_babbo</dc:creator>
      <dc:date>2020-12-22T09:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: LCPXpresso55S69 USB HID demo for sending/receiving data</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LCPXpresso55S69-USB-HID-demo-for-sending-receiving-data/m-p/1203811#M43358</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/181419"&gt;@crabbo_babbo&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;After downloading the example to my board and connecting it, the device should be enumerated in your computer, if you look with a sniffer you could see that this is detected as HID Class:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="USB.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/133446iC24879AD50B34F56/image-size/medium?v=v2&amp;amp;px=400" role="button" title="USB.png" alt="USB.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;The readme mention the tool that it needs to be used and the changes need it but if you don't want to compile again &lt;A href="https://community.nxp.com/t5/Kinetis-Software-Development-Kit/How-to-use-PC-test-tool-for-usb-device-hid-generic-example/m-p/602647" target="_self"&gt;here&lt;/A&gt; someone already does it.&lt;/P&gt;
&lt;P&gt;The result should be like the next one:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alexis_A_1-1608762012399.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/133445i39AFE6D7A17B0D29/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alexis_A_1-1608762012399.png" alt="Alexis_A_1-1608762012399.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;As you mention, working on a USB project from scratch is a little tricky so I suggest to start from one of the USB examples that already has the configurations need it.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Alexis Andalon&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Dec 2020 22:23:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LCPXpresso55S69-USB-HID-demo-for-sending-receiving-data/m-p/1203811#M43358</guid>
      <dc:creator>Alexis_A</dc:creator>
      <dc:date>2020-12-23T22:23:28Z</dc:date>
    </item>
  </channel>
</rss>

