<?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: USB HID , How to speed it up in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-HID-How-to-speed-it-up/m-p/592808#M22418</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by pgeloso on Fri May 06 00:51:57 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Found.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It's simply necessary to increase the size of ReportCount() bytes sent from the Host. Using 128 the speed greatly increases but it seems that windows driver doesn't accept numbers&amp;nbsp; greater than 128, while Mac driver accepts up to 4k, reaching the maximum transfer speed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Bye&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 19:20:19 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T19:20:19Z</dc:date>
    <item>
      <title>USB HID , How to speed it up</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-HID-How-to-speed-it-up/m-p/592807#M22417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by pgeloso on Wed May 04 01:56:15 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I need to develop a USB HID project using LPCOpen/LPCXpresso and LPC4357. Starting from the example "usbd_rom_hid_generic", I slightly modified it to send 8 bytes to PC and to receive 64bytes (from the PC).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To speed up the USB communication, I changed the HID descriptors in this way and I improved the speed to a "decent level":&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;WBVAL(0x0040),//WBVAL(0x0004),/* wMaxPacketSize */ &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;0x02,//0x20,/* 16ms */&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* bInterval */&amp;nbsp; //--++&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Unfortunately I'm not an USB expert so, I'd like to have some suggestions to further improve the HID speed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Pietro&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:20:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/USB-HID-How-to-speed-it-up/m-p/592807#M22417</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:20:18Z</dc:date>
    </item>
    <item>
      <title>Re: USB HID , How to speed it up</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-HID-How-to-speed-it-up/m-p/592808#M22418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by pgeloso on Fri May 06 00:51:57 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Found.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It's simply necessary to increase the size of ReportCount() bytes sent from the Host. Using 128 the speed greatly increases but it seems that windows driver doesn't accept numbers&amp;nbsp; greater than 128, while Mac driver accepts up to 4k, reaching the maximum transfer speed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Bye&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:20:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/USB-HID-How-to-speed-it-up/m-p/592808#M22418</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:20:19Z</dc:date>
    </item>
    <item>
      <title>Re: USB HID , How to speed it up</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-HID-How-to-speed-it-up/m-p/592809#M22419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;bump&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Jun 2016 01:09:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/USB-HID-How-to-speed-it-up/m-p/592809#M22419</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-19T01:09:56Z</dc:date>
    </item>
  </channel>
</rss>

