<?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のトピックRe: RTOS integration issues</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/RTOS-integration-issues/m-p/524822#M7458</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by rocketdawg on Fri Aug 24 10:41:57 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;interesting update.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The doc says that the the calls&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;USB_Device_USBTask(...)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;USB_USBTask()&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;can be called every 30ms.&amp;nbsp; Doesn't seem to be the case.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I was calling every 10ms but the device fails to enumerate.&amp;nbsp; I change to 5ms and found that it gets farther into the enumeration&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;changed it to 1ms and it enumerates fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;All the provided code examples user a super loop so I am wondring if this should be explained in the doc if someone wants to use a RTOS.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Since my device enumerates with 10ms polling rate, I can set the wait time to 1ms for enumeration, and then back it off to 10ms for normal operation.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 16:52:13 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T16:52:13Z</dc:date>
    <item>
      <title>RTOS integration issues</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/RTOS-integration-issues/m-p/524821#M7457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by rocketdawg on Thu Aug 23 12:37:19 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I have nxpUSBLib working on a LPCExpresso LPC1769.&amp;nbsp; I modified the generic HID example for my VID/PID and descriptors.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The device enumerates using this framework&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to use an RTOS and I have a thread that replaces the for(;;) loop.&amp;nbsp; This thread runs every 10ms and it is running.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The issue is that the device does not work at all.&amp;nbsp; The USB reset causes the Host to send GetDescriptor but the stack does not ACK&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am seeing an interrupt upon connection, but the device just does not send anything.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So I an wondering what could be the difference between the standard CMSIS startup and the one provide by FreeRTOS?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:52:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/RTOS-integration-issues/m-p/524821#M7457</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:52:13Z</dc:date>
    </item>
    <item>
      <title>Re: RTOS integration issues</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/RTOS-integration-issues/m-p/524822#M7458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by rocketdawg on Fri Aug 24 10:41:57 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;interesting update.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The doc says that the the calls&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;USB_Device_USBTask(...)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;USB_USBTask()&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;can be called every 30ms.&amp;nbsp; Doesn't seem to be the case.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I was calling every 10ms but the device fails to enumerate.&amp;nbsp; I change to 5ms and found that it gets farther into the enumeration&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;changed it to 1ms and it enumerates fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;All the provided code examples user a super loop so I am wondring if this should be explained in the doc if someone wants to use a RTOS.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Since my device enumerates with 10ms polling rate, I can set the wait time to 1ms for enumeration, and then back it off to 10ms for normal operation.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:52:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/RTOS-integration-issues/m-p/524822#M7458</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:52:13Z</dc:date>
    </item>
  </channel>
</rss>

