<?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: FRDM-KL25Z ADC OnMeasurementComplete() never gets called in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL25Z-ADC-OnMeasurementComplete-never-gets-called/m-p/354236#M17626</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Stephen:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please give a check to the attached project. You were missing some code and enabling a couple of ADC component methods for the HW trigger to work properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if this does not solve the problem.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards!,&lt;BR /&gt;Jorge Gonzalez&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Mar 2015 17:19:08 GMT</pubDate>
    <dc:creator>Jorge_Gonzalez</dc:creator>
    <dc:date>2015-03-30T17:19:08Z</dc:date>
    <item>
      <title>FRDM-KL25Z ADC OnMeasurementComplete() never gets called</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL25Z-ADC-OnMeasurementComplete-never-gets-called/m-p/354235#M17625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to setup a single channel of an ADC on a FRDM-KL25Z board to use hardware triggering from a PIT (to get periodic samples delivered to an MQX-lite task, but I hope that is not relevant).&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can see my PIT interrupt going off (TU1_OnCounterRestart() is called), but my ADC's OnMeasurementComplete() event is never called.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have also tried with software triggering instead of the PIT but that does not appear to work either, so I'm pretty sure it's an issue with the ADC.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas?&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-337585"&gt;Test.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2015 16:07:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL25Z-ADC-OnMeasurementComplete-never-gets-called/m-p/354235#M17625</guid>
      <dc:creator>stephenlangstaf</dc:creator>
      <dc:date>2015-03-26T16:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-KL25Z ADC OnMeasurementComplete() never gets called</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL25Z-ADC-OnMeasurementComplete-never-gets-called/m-p/354236#M17626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Stephen:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please give a check to the attached project. You were missing some code and enabling a couple of ADC component methods for the HW trigger to work properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if this does not solve the problem.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards!,&lt;BR /&gt;Jorge Gonzalez&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 17:19:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL25Z-ADC-OnMeasurementComplete-never-gets-called/m-p/354236#M17626</guid>
      <dc:creator>Jorge_Gonzalez</dc:creator>
      <dc:date>2015-03-30T17:19:08Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-KL25Z ADC OnMeasurementComplete() never gets called</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL25Z-ADC-OnMeasurementComplete-never-gets-called/m-p/354237#M17627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jorge&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I didn't realise that I had to call AD1_SelectSampleGroup() even though I had defined only a single group in PE, nor that I had to call AD1_StartLoopTriggeredMeasurement().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once that was working it didn't take me long to catch the error of calling AD1_GetMeasuredValues() with the wrong device handle!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once again, thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 20:12:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL25Z-ADC-OnMeasurementComplete-never-gets-called/m-p/354237#M17627</guid>
      <dc:creator>stephenlangstaf</dc:creator>
      <dc:date>2015-03-30T20:12:15Z</dc:date>
    </item>
  </channel>
</rss>

