<?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: LPC55S69 SDK HID generic example --- how to send the HID packet quickly? in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-SDK-HID-generic-example-how-to-send-the-HID-packet/m-p/1634966#M52401</link>
    <description>&lt;P&gt;I tried it. It doesn't help. Even with the interval value = 0x04, it should still support 1000 times sending every second. While what I am having is no more than 2 times sending every second.&lt;/P&gt;</description>
    <pubDate>Tue, 18 Apr 2023 01:48:15 GMT</pubDate>
    <dc:creator>Stan2018Zhang</dc:creator>
    <dc:date>2023-04-18T01:48:15Z</dc:date>
    <item>
      <title>LPC55S69 SDK HID generic example --- how to send the HID packet quickly?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-SDK-HID-generic-example-how-to-send-the-HID-packet/m-p/1634311#M52399</link>
      <description>&lt;P&gt;&lt;BR /&gt;LPC55S69 SDK: Version 2.12.0.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;example program:&amp;nbsp;dev_hid_generic_bm.&lt;/P&gt;
&lt;P&gt;USB speed: High speed port is used&lt;/P&gt;
&lt;P&gt;Platform: LPC55S69 EVK&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This demo receives an HID packet, and immediately sends it back. When I move the send function to the main loop, and want to send something to the host from the main loop, I noticed that it can only send very slowly: no more than 2 times every 1 second.&lt;/P&gt;
&lt;P&gt;If I increase to call the send function (in the main loop) 10 times every second, the sending will be canceled in the sending function because of "0U != hidHandle-&amp;gt;interruptInPipeStall".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&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="Stan2018Zhang_1-1681702949301.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/219382i774A96C5DF2F87F4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Stan2018Zhang_1-1681702949301.png" alt="Stan2018Zhang_1-1681702949301.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;question is: how to let the demo progam, send HID packets at a higher requency (such as 10 or 100 times every second) in the main loop?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Apr 2023 03:43:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-SDK-HID-generic-example-how-to-send-the-HID-packet/m-p/1634311#M52399</guid>
      <dc:creator>Stan2018Zhang</dc:creator>
      <dc:date>2023-04-17T03:43:31Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 SDK HID generic example --- how to send the HID packet quickly?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-SDK-HID-generic-example-how-to-send-the-HID-packet/m-p/1634574#M52400</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I suppose that you can change the interrupt interval(HS_HID_GENERIC_INTERRUPT_IN_INTERVAL) in usb_device_descriptor.h, which tell the host the interval the host reads HID packet&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_0-1681725735738.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/219437i080DA68442627340/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_0-1681725735738.png" alt="xiangjun_rong_0-1681725735738.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Apr 2023 10:04:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-SDK-HID-generic-example-how-to-send-the-HID-packet/m-p/1634574#M52400</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2023-04-17T10:04:07Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 SDK HID generic example --- how to send the HID packet quickly?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-SDK-HID-generic-example-how-to-send-the-HID-packet/m-p/1634966#M52401</link>
      <description>&lt;P&gt;I tried it. It doesn't help. Even with the interval value = 0x04, it should still support 1000 times sending every second. While what I am having is no more than 2 times sending every second.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2023 01:48:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-SDK-HID-generic-example-how-to-send-the-HID-packet/m-p/1634966#M52401</guid>
      <dc:creator>Stan2018Zhang</dc:creator>
      <dc:date>2023-04-18T01:48:15Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 SDK HID generic example --- how to send the HID packet quickly?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-SDK-HID-generic-example-how-to-send-the-HID-packet/m-p/1634967#M52402</link>
      <description>&lt;P&gt;I changed it to 1, it doesn't help fixing my issue.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2023 01:51:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-SDK-HID-generic-example-how-to-send-the-HID-packet/m-p/1634967#M52402</guid>
      <dc:creator>Stan2018Zhang</dc:creator>
      <dc:date>2023-04-18T01:51:31Z</dc:date>
    </item>
  </channel>
</rss>

