<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>USB data throughput</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/67863/usb-data-throughput</link><description>Hi, 
 
 I am using the USB CDC example in my project, where I developed my own application level communication protocol. 
 I have a problem with the data throughput, it&amp;#39;s lower than I need. 
 Any suggestions please ? 
 Can I use the USBD_MSC instead of</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 02 Nov 2020 12:44:49 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/67863/usb-data-throughput" /><item><title>RE: USB data throughput</title><link>https://devzone.nordicsemi.com/thread/278061?ContentTypeID=1</link><pubDate>Mon, 02 Nov 2020 12:44:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5a398ad2-d8f5-4237-8602-ec1ba2904a64</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi JK&lt;/p&gt;
&lt;p&gt;If you check out &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/23754/which-usb-class-should-i-use-for-maximum-data-rates-on-nrf52840-and-what-is-the-maximum-size-of-transfer-if-i-use-cdc_acm"&gt;this case on maximum USB data rates for the nRF52840&lt;/a&gt;, you can see that our tests suggest that you should be able to reach ~2Mbps over USB. What kind of speed are you seeing now, and what do you need/expect?&lt;/p&gt;
&lt;p&gt;You can try setting APP_USBD_CONFIG_EVENT_QUEUE_ENABLE to 0 in sdk_config.h, and remove the call to app_usbd_event_queue_process() in the while loop of main()? That way we can check if it is the USB packet queueing that is holding up the data transfer.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>