<?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 LPC1347 - CDC data overwrite / overrun in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1347-CDC-data-overwrite-overrun/m-p/582993#M25673</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by BPC on Thu Jul 11 11:04:27 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I am running into what I believe is some type of data overwrite when I call 2 consecutive WriteEP commands.&amp;nbsp; Unless I put a delay between these commands, some data from the second buffer appears in the USB transfer from the first buffer.&amp;nbsp; It is also completely random.&amp;nbsp; Sometimes each command goes through as expected.&amp;nbsp; Sometimes the data is garbled together.&amp;nbsp; I am guessing these commands are being called too closely together and violating some spec (USB FS frame rate maybe?).&amp;nbsp; Any help here would be greatly appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;pUsbApi-&amp;gt;hw-&amp;gt;WriteEP (hUsb, USB_CDC_EP_BULK_IN, (unsigned char *)&amp;amp;buffer_1[0], strlen(buffer_1));&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;pUsbApi-&amp;gt;hw-&amp;gt;WriteEP (hUsb, USB_CDC_EP_BULK_IN, (unsigned char *)&amp;amp;buffer_2[0], strlen(buffer_2));&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 22:42:19 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T22:42:19Z</dc:date>
    <item>
      <title>LPC1347 - CDC data overwrite / overrun</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1347-CDC-data-overwrite-overrun/m-p/582993#M25673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by BPC on Thu Jul 11 11:04:27 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I am running into what I believe is some type of data overwrite when I call 2 consecutive WriteEP commands.&amp;nbsp; Unless I put a delay between these commands, some data from the second buffer appears in the USB transfer from the first buffer.&amp;nbsp; It is also completely random.&amp;nbsp; Sometimes each command goes through as expected.&amp;nbsp; Sometimes the data is garbled together.&amp;nbsp; I am guessing these commands are being called too closely together and violating some spec (USB FS frame rate maybe?).&amp;nbsp; Any help here would be greatly appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;pUsbApi-&amp;gt;hw-&amp;gt;WriteEP (hUsb, USB_CDC_EP_BULK_IN, (unsigned char *)&amp;amp;buffer_1[0], strlen(buffer_1));&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;pUsbApi-&amp;gt;hw-&amp;gt;WriteEP (hUsb, USB_CDC_EP_BULK_IN, (unsigned char *)&amp;amp;buffer_2[0], strlen(buffer_2));&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:42:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1347-CDC-data-overwrite-overrun/m-p/582993#M25673</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:42:19Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1347 - CDC data overwrite / overrun</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1347-CDC-data-overwrite-overrun/m-p/582994#M25674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Tsuneo on Thu Jul 11 20:35:29 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;LPC1347 shares the same USB engine and the same USB on-chip drivers as LPC11U2x/3x.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And then, your problem and the answer is also the same as this topic.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"Problem with subsequent calls to WriteEp"&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://knowledgebase.nxp.com/showthread.php?t=4791&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Tsuneo&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:42:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1347-CDC-data-overwrite-overrun/m-p/582994#M25674</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:42:20Z</dc:date>
    </item>
  </channel>
</rss>

