<?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 Communications Device Class (CDC) to improve memory transfer made with BLE</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/101001/usb-communications-device-class-cdc-to-improve-memory-transfer-made-with-ble</link><description>Hi ! 
 I have a device that currently transfers its internal memory (2Go) via BLE which takes a good amount of time (2-3h hrs). I want to improve the transfer&amp;#39;s speed by implementing software to do the transfer via USB. 
 I consider using the USB Communications</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 22 Jun 2023 10:12:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/101001/usb-communications-device-class-cdc-to-improve-memory-transfer-made-with-ble" /><item><title>RE: USB Communications Device Class (CDC) to improve memory transfer made with BLE</title><link>https://devzone.nordicsemi.com/thread/432482?ContentTypeID=1</link><pubDate>Thu, 22 Jun 2023 10:12:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fdcac6d9-f9ed-40a5-abde-23348860f05d</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Yes, close to those numbers. I would strongly recommend that you test this yourself, to see if it is good enough.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB Communications Device Class (CDC) to improve memory transfer made with BLE</title><link>https://devzone.nordicsemi.com/thread/432336?ContentTypeID=1</link><pubDate>Wed, 21 Jun 2023 13:16:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5bd930ea-7a28-41cc-8c7b-a0cbc33b0fea</guid><dc:creator>LoicOlivier</dc:creator><description>&lt;p&gt;Allright, that is better than nothing!&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;So I can expect close to 2 Mbit/s with CDC and closer to 3 Mbit/s with MSC.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB Communications Device Class (CDC) to improve memory transfer made with BLE</title><link>https://devzone.nordicsemi.com/thread/432184?ContentTypeID=1</link><pubDate>Wed, 21 Jun 2023 07:08:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e3d1bd1-5415-4b16-acf6-0e8abb32701b</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Unfortunately, it will not significantly increase the speed, but it will be increased.&lt;/p&gt;
&lt;p&gt;USB will get you upwards of 3 to 3.5 MBit/s (~400 kB/s), but if you are seeing around 0.7 MBit/s now, it will still be an improvement. Note that Windows USB performance will be a bit lower.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB Communications Device Class (CDC) to improve memory transfer made with BLE</title><link>https://devzone.nordicsemi.com/thread/432115?ContentTypeID=1</link><pubDate>Tue, 20 Jun 2023 17:03:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4fba54da-1619-4ac8-bf69-2265371598cd</guid><dc:creator>LoicOlivier</dc:creator><description>&lt;p&gt;So this means I won&amp;#39;t have better speed using USB compared to what I already have with bluetooth ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;:(&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB Communications Device Class (CDC) to improve memory transfer made with BLE</title><link>https://devzone.nordicsemi.com/thread/432099?ContentTypeID=1</link><pubDate>Tue, 20 Jun 2023 15:36:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7313bc93-6a6e-4c1c-8386-e43c64077538</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;The USBD is a full speed device, meaning that the PHY is running on 12 Mbit, but the overall throughput will be lower as packets needs to be ACKed on the bus.&lt;/p&gt;
&lt;p&gt;You can expect up to 400 kbyte/s with Linux, while we see lower on Windows.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB Communications Device Class (CDC) to improve memory transfer made with BLE</title><link>https://devzone.nordicsemi.com/thread/432095?ContentTypeID=1</link><pubDate>Tue, 20 Jun 2023 15:21:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2cd2891e-3393-4260-9945-770b93340af6</guid><dc:creator>LoicOlivier</dc:creator><description>&lt;p&gt;Not sure to understand, sorry.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;How fast can I transfer the data from the nRF to a host (PC), and what should I use (eg. MSC, CDC, ...).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I won&amp;#39;t be sending any data from the PC to the nRF, I juste want to get the data from the flash memory on the nRF device and send it as quick as possible to a PC via USB!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB Communications Device Class (CDC) to improve memory transfer made with BLE</title><link>https://devzone.nordicsemi.com/thread/432086?ContentTypeID=1</link><pubDate>Tue, 20 Jun 2023 14:55:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:56fc0fe2-b7e8-4e86-840a-ff1cf2f79f2d</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="LoicOlivier"]I guess MSC is my best option in order to maximise the USB module 12 Mbit/s maximum speed.[/quote]
&lt;p&gt;Sorry, I should have clarified what I meant. By this, I mean storing the data to a medium and reading that directly using a PC or similar.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you run MSC&amp;nbsp;through the nRF, you will get similar speeds as with CDC.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB Communications Device Class (CDC) to improve memory transfer made with BLE</title><link>https://devzone.nordicsemi.com/thread/432072?ContentTypeID=1</link><pubDate>Tue, 20 Jun 2023 14:22:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fa8a0822-90dc-4cd3-b171-a4a1ba6f1054</guid><dc:creator>LoicOlivier</dc:creator><description>&lt;p&gt;Bluetooth is 2 Mbit/s &amp;#39;on air&amp;#39; which is approx 0.7 Mbit/s effective. It is to close to the CDC 2 Mbit/s&amp;nbsp;achievable speed which you are describing.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I guess MSC is my best option in order to maximise the USB module 12 Mbit/s maximum speed.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB Communications Device Class (CDC) to improve memory transfer made with BLE</title><link>https://devzone.nordicsemi.com/thread/431992?ContentTypeID=1</link><pubDate>Tue, 20 Jun 2023 11:53:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7ac6d8cb-384d-4f64-965a-3f175192051a</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;CDC will give you just shy of 2MBit/s:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/83705/usb-cdc-acm-max-transfer-speed"&gt;USB CDC ACM max transfer speed&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]via BLE which takes a good amount of time (2-3h hrs).[/quote]
&lt;p&gt;What is the transfer rate that you&amp;#39;re seeing right now?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]Is it possible to go much faster this way or I have to use something else like a MSC (massive storage class).[/quote]
&lt;p&gt;This is a solid&amp;nbsp;approach if you&amp;#39;re&amp;nbsp;storing large&amp;nbsp;amounts of data.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>