<?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 Re: Handling peripheral interrupts using MQX and KSDK in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/Handling-peripheral-interrupts-using-MQX-and-KSDK/m-p/354627#M11564</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This issue was solved after reading this excellent post : &lt;A href="https://community.nxp.com/message/432718"&gt;How To: use Kinetis SDK drivers within MQX apps - General overview&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Nov 2014 17:05:31 GMT</pubDate>
    <dc:creator>mauricelauze</dc:creator>
    <dc:date>2014-11-20T17:05:31Z</dc:date>
    <item>
      <title>Handling peripheral interrupts using MQX and KSDK</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Handling-peripheral-interrupts-using-MQX-and-KSDK/m-p/354626#M11563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am currently writing some code to handle ADC capture using PDB and eDMA.&lt;/P&gt;&lt;P&gt;I use FRDM-64F board, KDS v1.1.1, KSDK v1.0.0 and Processor Expert...&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a test project involving adc and pdb based on a Freescale KSDK demo application User's guide.&lt;/P&gt;&lt;P&gt;The test project is joined.&lt;/P&gt;&lt;P&gt;The code to initialize ADC and PDB is in the AdcPdb.c file.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Without using MQX, everything works fine, i.e. callback function interrupts are handled.&lt;/P&gt;&lt;P&gt;The&amp;nbsp; PDB_TEST_AdcTrigger() is then called from the main function.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But, adding MQX to the project makes the callback functions unavailable, they are never called...&lt;/P&gt;&lt;P&gt;All configuration and initialization code are disabled in Processor Expert to let the initialization process up to the user.&lt;/P&gt;&lt;P&gt;PDB_TEST_AdcTrigger() is called from one task instead of main().&lt;/P&gt;&lt;P&gt;Using the debugger, all callback functions are correctly setted using XXX_DRV_InstallCallback() and interruptions are enabled inside the XXX_DRV_Init() functions.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't know why these callback functions are not called when using MQX.&lt;/P&gt;&lt;P&gt;I haven't seen anything about interrupts masking or preemption when MQX is used...&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And of course, I need MQX for my project :-)&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there anybody who can help me on this issue ?&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Maurice&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338559"&gt;Test_AdcPdb_PE.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Nov 2014 17:38:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Handling-peripheral-interrupts-using-MQX-and-KSDK/m-p/354626#M11563</guid>
      <dc:creator>mauricelauze</dc:creator>
      <dc:date>2014-11-19T17:38:53Z</dc:date>
    </item>
    <item>
      <title>Re: Handling peripheral interrupts using MQX and KSDK</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Handling-peripheral-interrupts-using-MQX-and-KSDK/m-p/354627#M11564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This issue was solved after reading this excellent post : &lt;A href="https://community.nxp.com/message/432718"&gt;How To: use Kinetis SDK drivers within MQX apps - General overview&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2014 17:05:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Handling-peripheral-interrupts-using-MQX-and-KSDK/m-p/354627#M11564</guid>
      <dc:creator>mauricelauze</dc:creator>
      <dc:date>2014-11-20T17:05:31Z</dc:date>
    </item>
  </channel>
</rss>

