<?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 bulk transfer speed in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-bulk-transfer-speed/m-p/813263#M49347</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For full speed the packet size is a max of 64 bytes.&amp;nbsp; For high speed it is 512 bytes.&lt;BR /&gt;&lt;BR /&gt;Set the Polling Interval in the endpoint descriptor to the lowest value that will not generate NAKs on the endpoints.&lt;BR /&gt;&lt;BR /&gt;Minimize transactions by sending full packets (this may be out of your control in the stock library code).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.beyondlogic.org/usbnutshell/usb4.shtml" title="https://www.beyondlogic.org/usbnutshell/usb4.shtml"&gt;USB in a NutShell - Chapter 4 - Endpoint Types&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Aug 2018 12:24:26 GMT</pubDate>
    <dc:creator>bobpaddock</dc:creator>
    <dc:date>2018-08-23T12:24:26Z</dc:date>
    <item>
      <title>USB bulk transfer speed</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-bulk-transfer-speed/m-p/813262#M49346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I use latest USB stack on MK22 MCU (full speed usb transceiver). I achieve approx 600 kB/s transfer rate when sending data from MCU to PC (Windows 10) via bulk endpoint.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On PC I read data using libusb (libusb_bulk_transfer(devHandle, endpoint, data, requiredSize, &amp;amp;actualSize, timeout)).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please help in optimizing the transfer rate (i.e. achieving higher transfer rate)? Is there any configuration in USB stack which can achieve higher transfer rate?&amp;nbsp;What is optimal data chunk size written to&amp;nbsp;endpoint in MCU (USB_DeviceSendRequest())?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2018 11:26:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-bulk-transfer-speed/m-p/813262#M49346</guid>
      <dc:creator>martindusek</dc:creator>
      <dc:date>2018-08-22T11:26:04Z</dc:date>
    </item>
    <item>
      <title>Re: USB bulk transfer speed</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-bulk-transfer-speed/m-p/813263#M49347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For full speed the packet size is a max of 64 bytes.&amp;nbsp; For high speed it is 512 bytes.&lt;BR /&gt;&lt;BR /&gt;Set the Polling Interval in the endpoint descriptor to the lowest value that will not generate NAKs on the endpoints.&lt;BR /&gt;&lt;BR /&gt;Minimize transactions by sending full packets (this may be out of your control in the stock library code).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.beyondlogic.org/usbnutshell/usb4.shtml" title="https://www.beyondlogic.org/usbnutshell/usb4.shtml"&gt;USB in a NutShell - Chapter 4 - Endpoint Types&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2018 12:24:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-bulk-transfer-speed/m-p/813263#M49347</guid>
      <dc:creator>bobpaddock</dc:creator>
      <dc:date>2018-08-23T12:24:26Z</dc:date>
    </item>
  </channel>
</rss>

