<?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: [Help] Sending bulkdata (~10Mbit/s) using the USB CDC device class on the Lpc 4330 in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Help-Sending-bulkdata-10Mbit-s-using-the-USB-CDC-device-class-on/m-p/523966#M6602</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by tinyusb on Fri Nov 22 10:01:41 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;everything is set up as intended but when using the "send file" option in Tera term I'm getting a transfer speed of about &lt;/SPAN&gt;&lt;STRONG&gt;32kbit/s or was it 64kbit/s but not higher.&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It is probably something else, in my test with lpc4357 (mass storage class) the chunk of 8k is transmitted in 398.334 us (micro second), which is ~ 8192 Byte / 398.334 = 20.56 Byte/us = 164.52 Mbps which is pretty high.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;[img]&lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.lpcware.com%2Fsystem%2Ffiles%2Flpc4357_bulk_0.png%5B%2Fimg%5D" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/system/files/lpc4357_bulk_0.png[/img]&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My best guess is windows CDC driver, for windows this is a serial device which may be imposed to a certain speed restriction (e.g 9600, 115200 etc). It may be something else such as you are trying to printf/echo while receiving the data ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 16:46:21 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T16:46:21Z</dc:date>
    <item>
      <title>[Help] Sending bulkdata (~10Mbit/s) using the USB CDC device class on the Lpc 4330</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Help-Sending-bulkdata-10Mbit-s-using-the-USB-CDC-device-class-on/m-p/523965#M6601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by m.yzb on Thu Nov 21 01:52:19 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm currently working on a project with the goal of sending some "high speed" data from a host PC to the LPC 4330 (using the ngx LPC Xplorer 433x board). My Idea was to to this over the USB interface and I have been researching a lot about USB for the past few days.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I did a readup on the basics about USB, like the descriptors and how it is split down into device/configuration/inteface and endpoint descriptor. So&amp;nbsp; far I was thinking of setting up a composite device as a communication class device (CDC) because as I understand it would be then possible to use one interface as a communication interface to send commands/requests over a Virtual Serial port using a hyperterminal programm like TeraTerm and having a second interface, a data interface to send bulk data containing "code" that the microcontroller will do something with.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't need to be able to send the full 480MBit/s that support USB2.0 but having transferspeeds in the 10Mbit/s range would be nice. I understand that the Busspeed is fixed for USB2.0 and that to get a higher throughput you have to send more "frames" but I'm really clueless on where to set the "frame amount" to achieve this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As a basis for my code I wanted to use the USBD ROM CDC or USBD ROM composite project in LpcOpen 2.02 (lpc 4330). I have managed to partially break down the CDC project and understand that the microcontroller each time reads&amp;nbsp; the data located at the adress of the "g_rxBuff[0]" and reads the buffer until the byte number "256" and echoes each byte (char) back. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Apparently from what I have read the PC is in charge of picking the transfer type and taking a look at the descriptor there is an instance in the "interface descriptor" where next to the communication class descriptor a data class interface gets set up aswell. So i guess everything is set up as intended but when using the "send file" option in Tera term I'm getting a transfer speed of about 32kbit/s or was it 64kbit/s but not higher.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;any help would be greatly appreciated&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;~myzb&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:46:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Help-Sending-bulkdata-10Mbit-s-using-the-USB-CDC-device-class-on/m-p/523965#M6601</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: [Help] Sending bulkdata (~10Mbit/s) using the USB CDC device class on the Lpc 4330</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Help-Sending-bulkdata-10Mbit-s-using-the-USB-CDC-device-class-on/m-p/523966#M6602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by tinyusb on Fri Nov 22 10:01:41 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;everything is set up as intended but when using the "send file" option in Tera term I'm getting a transfer speed of about &lt;/SPAN&gt;&lt;STRONG&gt;32kbit/s or was it 64kbit/s but not higher.&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It is probably something else, in my test with lpc4357 (mass storage class) the chunk of 8k is transmitted in 398.334 us (micro second), which is ~ 8192 Byte / 398.334 = 20.56 Byte/us = 164.52 Mbps which is pretty high.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;[img]&lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.lpcware.com%2Fsystem%2Ffiles%2Flpc4357_bulk_0.png%5B%2Fimg%5D" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/system/files/lpc4357_bulk_0.png[/img]&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My best guess is windows CDC driver, for windows this is a serial device which may be imposed to a certain speed restriction (e.g 9600, 115200 etc). It may be something else such as you are trying to printf/echo while receiving the data ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:46:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Help-Sending-bulkdata-10Mbit-s-using-the-USB-CDC-device-class-on/m-p/523966#M6602</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:46:21Z</dc:date>
    </item>
  </channel>
</rss>

