<?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>LPC MicrocontrollersのトピックUSB endpoint queue heads</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-endpoint-queue-heads/m-p/938212#M37365</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;In my application the LPC4353 receives ADC samples from an external chip every 4 ms. I would like to buffer and stream this data over USB using interrupts so as to not interfere with the operation of the rest of my code.&lt;/P&gt;&lt;P&gt;As a starting point, I'm using the usbd_rom_bwtest example program. There are a few things that I don't understand in this program:&lt;/P&gt;&lt;P&gt;In function bwtest_USB_Prog_DTD the device transfer descriptor (dTD) struct array is initialised. Each buffer pointer page points to a 4kB chunk of RAM. 5 buffer pointers * 4 kB = 20 kB. Why do we need to loop around 8 times? All ep_TD[i].buffer0 point to the same memory location.&lt;/P&gt;&lt;P&gt;If I understand correctly, the IOC bit is set, so an interrupt should fire whenever each dTD has transmitted. Where is this interrupt serviced?&lt;/P&gt;&lt;P&gt;Thanks in advacnce for answering my questions,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Alan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Aug 2019 15:19:41 GMT</pubDate>
    <dc:creator>adb</dc:creator>
    <dc:date>2019-08-19T15:19:41Z</dc:date>
    <item>
      <title>USB endpoint queue heads</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-endpoint-queue-heads/m-p/938212#M37365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;In my application the LPC4353 receives ADC samples from an external chip every 4 ms. I would like to buffer and stream this data over USB using interrupts so as to not interfere with the operation of the rest of my code.&lt;/P&gt;&lt;P&gt;As a starting point, I'm using the usbd_rom_bwtest example program. There are a few things that I don't understand in this program:&lt;/P&gt;&lt;P&gt;In function bwtest_USB_Prog_DTD the device transfer descriptor (dTD) struct array is initialised. Each buffer pointer page points to a 4kB chunk of RAM. 5 buffer pointers * 4 kB = 20 kB. Why do we need to loop around 8 times? All ep_TD[i].buffer0 point to the same memory location.&lt;/P&gt;&lt;P&gt;If I understand correctly, the IOC bit is set, so an interrupt should fire whenever each dTD has transmitted. Where is this interrupt serviced?&lt;/P&gt;&lt;P&gt;Thanks in advacnce for answering my questions,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Alan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Aug 2019 15:19:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/USB-endpoint-queue-heads/m-p/938212#M37365</guid>
      <dc:creator>adb</dc:creator>
      <dc:date>2019-08-19T15:19:41Z</dc:date>
    </item>
    <item>
      <title>Re: USB endpoint queue heads</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-endpoint-queue-heads/m-p/938213#M37366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&amp;nbsp;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A _jive_internal="true" class="" data-content-finding="Community" data-userid="312896" data-username="adb" href="https://community.nxp.com/people/adb" style="color: #3d9ce7; background-color: #ffffff; border: 0px; font-weight: 600; text-decoration: none; font-size: 11.9994px;"&gt;Alan Ball&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Sorry to&amp;nbsp; reply you late, it seems my colleague have help you on salesforce ticket.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Oct 2019 03:23:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/USB-endpoint-queue-heads/m-p/938213#M37366</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2019-10-17T03:23:34Z</dc:date>
    </item>
  </channel>
</rss>

