<?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 ADC with PDB trigger issue in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/ADC-with-PDB-trigger-issue/m-p/170525#M1894</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have setup the ADC with the same code that can be found in mqx\examples\adc\adc_demo (triggered by ADC_PDB_TRIGGER); t&lt;SPAN&gt;hen I start a task which forever waits for the lwevent to be set from the ADC, read the sampled values and process them.&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have many other tasks running (ethernet, sdcard with mfs, usb_host) and everything is OK.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But if I run a usb_device task,&amp;nbsp;&lt;SPAN style="line-height: 15px;"&gt;when the enumeration is complete&amp;nbsp;&lt;/SPAN&gt;the ADC task stops working (but USB task and other tasks continue to run correctly). I see in the debugger that the ADC task is waiting forever the lwevent, so I think the cause is the PDB trigger&amp;nbsp;that stops triggering the ADC.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have some ideas to resolve this issue? Or do you think the problem is different?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Jun 2012 23:57:27 GMT</pubDate>
    <dc:creator>MarcoE</dc:creator>
    <dc:date>2012-06-07T23:57:27Z</dc:date>
    <item>
      <title>ADC with PDB trigger issue</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/ADC-with-PDB-trigger-issue/m-p/170525#M1894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have setup the ADC with the same code that can be found in mqx\examples\adc\adc_demo (triggered by ADC_PDB_TRIGGER); t&lt;SPAN&gt;hen I start a task which forever waits for the lwevent to be set from the ADC, read the sampled values and process them.&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have many other tasks running (ethernet, sdcard with mfs, usb_host) and everything is OK.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But if I run a usb_device task,&amp;nbsp;&lt;SPAN style="line-height: 15px;"&gt;when the enumeration is complete&amp;nbsp;&lt;/SPAN&gt;the ADC task stops working (but USB task and other tasks continue to run correctly). I see in the debugger that the ADC task is waiting forever the lwevent, so I think the cause is the PDB trigger&amp;nbsp;that stops triggering the ADC.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have some ideas to resolve this issue? Or do you think the problem is different?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jun 2012 23:57:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/ADC-with-PDB-trigger-issue/m-p/170525#M1894</guid>
      <dc:creator>MarcoE</dc:creator>
      <dc:date>2012-06-07T23:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: ADC with PDB trigger issue</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/ADC-with-PDB-trigger-issue/m-p/170526#M1895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you resolve this?&lt;/P&gt;&lt;P&gt;Typically I've seen a stack overflow or corruption cause this kind of issue.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;David &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2012 21:19:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/ADC-with-PDB-trigger-issue/m-p/170526#M1895</guid>
      <dc:creator>DavidS</dc:creator>
      <dc:date>2012-10-26T21:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: ADC with PDB trigger issue</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/ADC-with-PDB-trigger-issue/m-p/170527#M1896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've tried using the bare metal code for the ADC (reading directly its registers) instead of MQX drivers: this works and for my application is ok.&lt;/P&gt;&lt;P&gt;By the way, I'm using MQX 3.8.0, but I've seen in the release notes of the last version (3.8.1) that it fixes a bug about PDB with ADC: i've not tested yet, but it's possible that my problem was connected to this bug.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2012 10:40:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/ADC-with-PDB-trigger-issue/m-p/170527#M1896</guid>
      <dc:creator>MarcoE</dc:creator>
      <dc:date>2012-11-02T10:40:37Z</dc:date>
    </item>
    <item>
      <title>Re: ADC with PDB trigger issue</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/ADC-with-PDB-trigger-issue/m-p/170528#M1897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes it is possible that the MQX3.8.1 did resolve the problem with PDB.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;David &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Nov 2012 16:45:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/ADC-with-PDB-trigger-issue/m-p/170528#M1897</guid>
      <dc:creator>DavidS</dc:creator>
      <dc:date>2012-11-07T16:45:16Z</dc:date>
    </item>
  </channel>
</rss>

