<?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>Kinetis Software Development KitのトピックLarger USB Packet Sizes on USB-CDC FS</title>
    <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Larger-USB-Packet-Sizes-on-USB-CDC-FS/m-p/509516#M5192</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had a quick question about the CDC data transfer. I know if you have USB-FS chip your payload size is 64 Bytes. But I was wondering if someone had example code of showing how to handle larger payloads like 128 byte or 256 bytes.&amp;nbsp; On the PC side I'm able to just send out like 128 bytes and I just keep reading in on the firmware side in payload chunks of 64 bytes till I read in my 128 bytes and that works. Sending out to the PC do I send 64 bytes and then the null and keep doing that till I'm done sending out my full payload of like 128 bytes? or can I just keep sending out my data and then at the end of it all send the null?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was just hoping someone might have implemented the logic for this and it could possibly save me some time trying to figure it out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 06 Mar 2016 16:48:55 GMT</pubDate>
    <dc:creator>jblackston</dc:creator>
    <dc:date>2016-03-06T16:48:55Z</dc:date>
    <item>
      <title>Larger USB Packet Sizes on USB-CDC FS</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Larger-USB-Packet-Sizes-on-USB-CDC-FS/m-p/509516#M5192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had a quick question about the CDC data transfer. I know if you have USB-FS chip your payload size is 64 Bytes. But I was wondering if someone had example code of showing how to handle larger payloads like 128 byte or 256 bytes.&amp;nbsp; On the PC side I'm able to just send out like 128 bytes and I just keep reading in on the firmware side in payload chunks of 64 bytes till I read in my 128 bytes and that works. Sending out to the PC do I send 64 bytes and then the null and keep doing that till I'm done sending out my full payload of like 128 bytes? or can I just keep sending out my data and then at the end of it all send the null?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was just hoping someone might have implemented the logic for this and it could possibly save me some time trying to figure it out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Mar 2016 16:48:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Larger-USB-Packet-Sizes-on-USB-CDC-FS/m-p/509516#M5192</guid>
      <dc:creator>jblackston</dc:creator>
      <dc:date>2016-03-06T16:48:55Z</dc:date>
    </item>
    <item>
      <title>Re: Larger USB Packet Sizes on USB-CDC FS</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Larger-USB-Packet-Sizes-on-USB-CDC-FS/m-p/509517#M5193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jason,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With the &lt;SPAN style="font-size: 12.0pt; font-family: NimbusRomNo9L-Regu;"&gt;usb_device_cdc_acm_send(), the device can send out the data of arbitrary length. If the total length of data is multiple of the endpoint's maxPacketSize, then a zero length packet should be appended after all of the data has been sent out.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; font-family: NimbusRomNo9L-Regu;"&gt;Please refer to "USB Stack Device Reference Manual.pdf" in the folder of KSDK/docs/usb for more details.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Mar 2016 07:31:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Larger-USB-Packet-Sizes-on-USB-CDC-FS/m-p/509517#M5193</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2016-03-07T07:31:31Z</dc:date>
    </item>
  </channel>
</rss>

