<?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 Reading the ADC result at an ADC High Limit Interrupt service routine in Digital Signal Controllers</title>
    <link>https://community.nxp.com/t5/Digital-Signal-Controllers/Reading-the-ADC-result-at-an-ADC-High-Limit-Interrupt-service/m-p/796530#M1305</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In an ISR , ADC High Limit Interrupt,&amp;nbsp;I am trying to read the ADC value at a specific point (please see the attached figure- I am trying to read the minimum value). I am using the&amp;nbsp;attached simple code to read the ADC result when the interrupt happens (Sample 0 &amp;gt; 0.85 V). However, I am reading multiple values (gradually increasing between 0.85 to 1.6 V) instead of just one when the interrupt happens. Also the values are changing all the time. I am using a structure named adc0_array to save 100 values. Will&amp;nbsp;anyone please let me know&amp;nbsp;where is the problem?&lt;/P&gt;&lt;P&gt;Thanks. Rishad&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="tek00005.bmp"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/4700iA47225C728CCE039/image-size/large?v=v2&amp;amp;px=999" role="button" title="tek00005.bmp" alt="tek00005.bmp" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Nov 2018 17:48:57 GMT</pubDate>
    <dc:creator>rishadahmed</dc:creator>
    <dc:date>2018-11-02T17:48:57Z</dc:date>
    <item>
      <title>Reading the ADC result at an ADC High Limit Interrupt service routine</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/Reading-the-ADC-result-at-an-ADC-High-Limit-Interrupt-service/m-p/796530#M1305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In an ISR , ADC High Limit Interrupt,&amp;nbsp;I am trying to read the ADC value at a specific point (please see the attached figure- I am trying to read the minimum value). I am using the&amp;nbsp;attached simple code to read the ADC result when the interrupt happens (Sample 0 &amp;gt; 0.85 V). However, I am reading multiple values (gradually increasing between 0.85 to 1.6 V) instead of just one when the interrupt happens. Also the values are changing all the time. I am using a structure named adc0_array to save 100 values. Will&amp;nbsp;anyone please let me know&amp;nbsp;where is the problem?&lt;/P&gt;&lt;P&gt;Thanks. Rishad&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="tek00005.bmp"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/4700iA47225C728CCE039/image-size/large?v=v2&amp;amp;px=999" role="button" title="tek00005.bmp" alt="tek00005.bmp" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2018 17:48:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/Reading-the-ADC-result-at-an-ADC-High-Limit-Interrupt-service/m-p/796530#M1305</guid>
      <dc:creator>rishadahmed</dc:creator>
      <dc:date>2018-11-02T17:48:57Z</dc:date>
    </item>
    <item>
      <title>Re: Reading the ADC result at an ADC High Limit Interrupt service routine</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/Reading-the-ADC-result-at-an-ADC-High-Limit-Interrupt-service/m-p/796531#M1306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rishad&lt;/P&gt;&lt;P&gt;It looks to me like the ISR would be triggering whenever your input is greater than the threshold when using the HighLimit ISR so it looks like it is working as programmed.&lt;/P&gt;&lt;P&gt;If you use it that way you would probably have to add code to find the lowest value in a set of readings.&lt;/P&gt;&lt;P&gt;It would be best if you could trigger the ADC only at the location desired.&amp;nbsp; Not sure if you can set upt the PWM to trigger that way.&lt;/P&gt;&lt;P&gt;Just some thoughts.&lt;/P&gt;&lt;P&gt;Pete&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2018 15:34:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/Reading-the-ADC-result-at-an-ADC-High-Limit-Interrupt-service/m-p/796531#M1306</guid>
      <dc:creator>dynapb</dc:creator>
      <dc:date>2018-11-06T15:34:20Z</dc:date>
    </item>
  </channel>
</rss>

