<?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>LPCXpresso IDEのトピックUSB CDC Speed</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/USB-CDC-Speed/m-p/559983#M15656</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by togi on Mon Apr 16 04:46:45 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I use a CDC USB connection on a LPC Xpresso 1769 board to send meassurment values to the PC. How can i change the transfer speed of the device? when i count the received bytes i have a receive frequency around 700Hz or 700Byte/s.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Greetings Tom&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 00:51:54 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T00:51:54Z</dc:date>
    <item>
      <title>USB CDC Speed</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/USB-CDC-Speed/m-p/559983#M15656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by togi on Mon Apr 16 04:46:45 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I use a CDC USB connection on a LPC Xpresso 1769 board to send meassurment values to the PC. How can i change the transfer speed of the device? when i count the received bytes i have a receive frequency around 700Hz or 700Byte/s.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Greetings Tom&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:51:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/USB-CDC-Speed/m-p/559983#M15656</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:51:54Z</dc:date>
    </item>
    <item>
      <title>Re: USB CDC Speed</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/USB-CDC-Speed/m-p/559984#M15657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ex-Zero on Mon Apr 16 05:26:00 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: togi&lt;/STRONG&gt;&lt;BR /&gt;...receive frequency around 700Hz or 700Byte/s&amp;nbsp; :confused:&lt;/SPAN&gt;&lt;HR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then change your code :)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;[B]Maximizing Performance[/B]&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; These guidelines can improve performance of device firmware:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; For full-speed devices, set wMaxPacketSize in the bulk&amp;nbsp; endpoint&amp;nbsp; descriptors to 64 to enable transferring the most data possible in&amp;nbsp;&amp;nbsp; each USB transaction. [COLOR=Red]With a UHCI host controller, if a full-speed bulk&amp;nbsp;&amp;nbsp; endpoint’s wMaxPacketSize is less than 64, the host controller&amp;nbsp; schedules no&amp;nbsp; more than one transaction per millisecond for the&amp;nbsp; endpoint.[/COLOR] (Full-speed host&amp;nbsp; controllers comply with either the OHCI or&amp;nbsp; the UHCI standard. Many PC&amp;nbsp; motherboards contain UHCI controllers.)&amp;nbsp; High-speed bulk endpoints must set&amp;nbsp; wMaxPacketSize = 512.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; To transfer large amounts of data to the host as quickly as&amp;nbsp;&amp;nbsp; possible, use wMaxPacketSize data packets. Larger packets mean fewer&amp;nbsp;&amp;nbsp; transactions are needed to transfer the data. &lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;SPAN&gt;See: &lt;/SPAN&gt;&lt;A href="http://"&gt;http://www.lvr.com/usb_virtual_com_port.htm&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:51:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/USB-CDC-Speed/m-p/559984#M15657</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:51:54Z</dc:date>
    </item>
    <item>
      <title>Re: USB CDC Speed</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/USB-CDC-Speed/m-p/559985#M15658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by togi on Mon Apr 16 06:40:47 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the fast reqly :-)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I use the example USBCDC from nxp. But i canÂ´t find the wMaxPacketSize i only find a define "USB_MAX_PACKET0" in usbcfg.h. This was define with a 8. I change it to 64 but the speed didnÂ´t change. The define is load in LPC_USB-&amp;gt;USBMaxPSize after a usb reset.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:51:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/USB-CDC-Speed/m-p/559985#M15658</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:51:55Z</dc:date>
    </item>
    <item>
      <title>Re: USB CDC Speed</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/USB-CDC-Speed/m-p/559986#M15659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ex-Zero on Mon Apr 16 06:47:36 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;And you are transmitting what?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;700 times per second 1 byte?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:51:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/USB-CDC-Speed/m-p/559986#M15659</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: USB CDC Speed</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/USB-CDC-Speed/m-p/559987#M15660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by togi on Mon Apr 16 06:56:18 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I count the symbols i receive in a certain time. My controller runs with about 1MHz. I meassures this over a GPIO which i toggle. But when i try to send a symbol every cycle the maximum rate is only about 700 symbols per second.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:51:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/USB-CDC-Speed/m-p/559987#M15660</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: USB CDC Speed</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/USB-CDC-Speed/m-p/559988#M15661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ex-Zero on Mon Apr 16 07:20:18 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: togi&lt;/STRONG&gt;&lt;BR /&gt;I count the symbols i receive in a certain time. My controller runs with about 1MHz. I meassures this over a GPIO which i toggle. But when i try to send a symbol every cycle the maximum rate is only about 700 symbols per second.&lt;/SPAN&gt;&lt;HR /&gt;&lt;SPAN&gt;:confused:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry, I don't understand that :(&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What is a symbol? A byte?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Your controller is running with 1MHz? I would guess that's your loop?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you know how USB is working? As mentioned above Host is reading a Frame every ms. So it's your job to fill the endpoint buffer :eek:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If your buffer is filled with 1byte your host is reading max 1000 bytes/second, regardless if your loop is running with 1MHz or 100GHz :eek:&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:51:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/USB-CDC-Speed/m-p/559988#M15661</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:51:57Z</dc:date>
    </item>
  </channel>
</rss>

