<?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: Vybrid ADC Interrupt in Vybrid Processors</title>
    <link>https://community.nxp.com/t5/Vybrid-Processors/Vybrid-ADC-Interrupt/m-p/327715#M3171</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/timesyssupport"&gt;timesyssupport&lt;/A&gt; can you help to&amp;nbsp; review this case?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Aug 2014 15:45:39 GMT</pubDate>
    <dc:creator>karina_valencia</dc:creator>
    <dc:date>2014-08-04T15:45:39Z</dc:date>
    <item>
      <title>Vybrid ADC Interrupt</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/Vybrid-ADC-Interrupt/m-p/327714#M3170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Previously we worked with the LWADC driver, but the "wait_next" function gives a delay, so I'm searching for an improved method to access the ADC.&lt;/P&gt;&lt;P&gt;My question is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I make the ADC interrupt driven (interrupt on conversion complete)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've checked the datasheet and there should be AIEN-Flag in the ADCx_HC0/1 registers, which might play a role here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jul 2014 10:33:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/Vybrid-ADC-Interrupt/m-p/327714#M3170</guid>
      <dc:creator>johannestraxler</dc:creator>
      <dc:date>2014-07-31T10:33:15Z</dc:date>
    </item>
    <item>
      <title>Re: Vybrid ADC Interrupt</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/Vybrid-ADC-Interrupt/m-p/327715#M3171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/timesyssupport"&gt;timesyssupport&lt;/A&gt; can you help to&amp;nbsp; review this case?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2014 15:45:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/Vybrid-ADC-Interrupt/m-p/327715#M3171</guid>
      <dc:creator>karina_valencia</dc:creator>
      <dc:date>2014-08-04T15:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: Vybrid ADC Interrupt</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/Vybrid-ADC-Interrupt/m-p/327716#M3172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately, we do not have any details about how to make the MQX lwadc driver interrupt driven. Does the Freescale MQX team have any comment on this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Timesys Support&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2014 16:38:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/Vybrid-ADC-Interrupt/m-p/327716#M3172</guid>
      <dc:creator>timesyssupport</dc:creator>
      <dc:date>2014-08-04T16:38:01Z</dc:date>
    </item>
    <item>
      <title>Re: Vybrid ADC Interrupt</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/Vybrid-ADC-Interrupt/m-p/327717#M3173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found the answer myself. You can use the MQX functions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; _int_install_isr(NVIC_ADC0, iADC_ISR, 0);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; _bsp_int_init(NVIC_ADC0, 3, 0, TRUE);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; _int_install_isr(NVIC_ADC1, iADC_ISR, 0);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; _bsp_int_init(NVIC_ADC1, 3, 0, TRUE);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with iADC_ISR is the function pointer to the ISR: iADC_ISR(void*ptr).&lt;/P&gt;&lt;P&gt;And then make sure to have the AIEN flag enabled in the ADCx_HC0 registers!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Aug 2014 13:55:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/Vybrid-ADC-Interrupt/m-p/327717#M3173</guid>
      <dc:creator>johannestraxler</dc:creator>
      <dc:date>2014-08-05T13:55:22Z</dc:date>
    </item>
    <item>
      <title>Re: Vybrid ADC Interrupt</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/Vybrid-ADC-Interrupt/m-p/327718#M3174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For new implementation in MQX, you can find inspiration in adc driver (for example in Freescale_MQX_4_1\mqx\source\io\adc directory).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jozef&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Aug 2014 09:57:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/Vybrid-ADC-Interrupt/m-p/327718#M3174</guid>
      <dc:creator>cyborgnegotiato</dc:creator>
      <dc:date>2014-08-07T09:57:11Z</dc:date>
    </item>
  </channel>
</rss>

