<?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>S32KのトピックRe: read adc without interrupt in s32k312,</title>
    <link>https://community.nxp.com/t5/S32K/read-adc-without-interrupt-in-s32k312/m-p/1579916#M19934</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/210023"&gt;@vasanth-sr&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;To use Adc read without interrupt, you need to enable this feature in Group configurations array container&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cuongnguyenphu_0-1673341950417.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/206660i7C0916A2339159F4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cuongnguyenphu_0-1673341950417.png" alt="cuongnguyenphu_0-1673341950417.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Then disable Interrupt EOC in AdcInterrupt container:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cuongnguyenphu_1-1673341988069.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/206661i1EF0FE192A6B2438/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cuongnguyenphu_1-1673341988069.png" alt="cuongnguyenphu_1-1673341988069.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;When using this feature, you don't need to config interrupt after conversions, instead, only&amp;nbsp;Adc_ReadGroup() can be used to get conversion results.&amp;nbsp;&lt;BR /&gt;So the sequence in implementation should be:&lt;BR /&gt;Adc_SetupResultBuffer();&lt;BR /&gt;Adc_StartGroupConversion();&lt;BR /&gt;Adc_ReadGroup();&lt;BR /&gt;&lt;BR /&gt;Please see my example in attachment, it's modified from S32K344 ADC example, but you can use the same sequence for S32K312&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 10 Jan 2023 09:19:10 GMT</pubDate>
    <dc:creator>cuongnguyenphu</dc:creator>
    <dc:date>2023-01-10T09:19:10Z</dc:date>
    <item>
      <title>read adc without interrupt in s32k312,</title>
      <link>https://community.nxp.com/t5/S32K/read-adc-without-interrupt-in-s32k312/m-p/1576015#M19740</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;i am using the s32k312 ev board. In that adc read example code was interrupt based code.&lt;/P&gt;&lt;P&gt;how to read the ADC value without interrupt?&lt;/P&gt;&lt;P&gt;how to enable AdcWithoutInterrupts flag in s32k312 .&lt;/P&gt;&lt;P&gt;please share the steps and examples.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;vasanth sr.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jan 2023 09:39:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/read-adc-without-interrupt-in-s32k312/m-p/1576015#M19740</guid>
      <dc:creator>vasanth-sr</dc:creator>
      <dc:date>2023-01-02T09:39:27Z</dc:date>
    </item>
    <item>
      <title>Re: read adc without interrupt in s32k312,</title>
      <link>https://community.nxp.com/t5/S32K/read-adc-without-interrupt-in-s32k312/m-p/1579916#M19934</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/210023"&gt;@vasanth-sr&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;To use Adc read without interrupt, you need to enable this feature in Group configurations array container&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cuongnguyenphu_0-1673341950417.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/206660i7C0916A2339159F4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cuongnguyenphu_0-1673341950417.png" alt="cuongnguyenphu_0-1673341950417.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Then disable Interrupt EOC in AdcInterrupt container:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cuongnguyenphu_1-1673341988069.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/206661i1EF0FE192A6B2438/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cuongnguyenphu_1-1673341988069.png" alt="cuongnguyenphu_1-1673341988069.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;When using this feature, you don't need to config interrupt after conversions, instead, only&amp;nbsp;Adc_ReadGroup() can be used to get conversion results.&amp;nbsp;&lt;BR /&gt;So the sequence in implementation should be:&lt;BR /&gt;Adc_SetupResultBuffer();&lt;BR /&gt;Adc_StartGroupConversion();&lt;BR /&gt;Adc_ReadGroup();&lt;BR /&gt;&lt;BR /&gt;Please see my example in attachment, it's modified from S32K344 ADC example, but you can use the same sequence for S32K312&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2023 09:19:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/read-adc-without-interrupt-in-s32k312/m-p/1579916#M19934</guid>
      <dc:creator>cuongnguyenphu</dc:creator>
      <dc:date>2023-01-10T09:19:10Z</dc:date>
    </item>
    <item>
      <title>Re: read adc without interrupt in s32k312,</title>
      <link>https://community.nxp.com/t5/S32K/read-adc-without-interrupt-in-s32k312/m-p/1579928#M19937</link>
      <description>&lt;P&gt;&lt;SPAN&gt;According to the approach in your codes, inside the while (1) loop, you are just polling the timer overflow interrupt flag and simply get the ADC result after timer, so timer and ADC interrupts are not required to enable and hence global interrupt is not required to enable.&amp;nbsp; &amp;nbsp;&lt;A href="https://www.mygeorgiasouthern.net/" target="_self"&gt;MyGeorgiaSouthern&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2023 04:10:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/read-adc-without-interrupt-in-s32k312/m-p/1579928#M19937</guid>
      <dc:creator>Nanettebreaux</dc:creator>
      <dc:date>2023-01-11T04:10:11Z</dc:date>
    </item>
    <item>
      <title>Re: read adc without interrupt in s32k312,</title>
      <link>https://community.nxp.com/t5/S32K/read-adc-without-interrupt-in-s32k312/m-p/1579942#M19938</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I m using S32design studio 3.5.&lt;/P&gt;&lt;P&gt;I don't have this enable option.&lt;/P&gt;&lt;P&gt;I attached the screen short , please find the attachment.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;vasanth&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2023 09:49:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/read-adc-without-interrupt-in-s32k312/m-p/1579942#M19938</guid>
      <dc:creator>vasanth-sr</dc:creator>
      <dc:date>2023-01-10T09:49:10Z</dc:date>
    </item>
    <item>
      <title>Re: read adc without interrupt in s32k312,</title>
      <link>https://community.nxp.com/t5/S32K/read-adc-without-interrupt-in-s32k312/m-p/1580498#M19951</link>
      <description>&lt;P&gt;Let's follow this to enable Adc without interrupt:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cuongnguyenphu_0-1673408057843.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/206802i2C1426E28D3D3514/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cuongnguyenphu_0-1673408057843.png" alt="cuongnguyenphu_0-1673408057843.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cuongnguyenphu_1-1673408076919.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/206803i9BFA2C0C62C1A5D1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cuongnguyenphu_1-1673408076919.png" alt="cuongnguyenphu_1-1673408076919.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cuongnguyenphu_2-1673408086674.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/206804iA9417BF78B6861E4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cuongnguyenphu_2-1673408086674.png" alt="cuongnguyenphu_2-1673408086674.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Because we cannot check Interrupt notification to notify the conversion finished, then we need to use timer and polling function ReadGroup() to get Adc results&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2023 03:40:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/read-adc-without-interrupt-in-s32k312/m-p/1580498#M19951</guid>
      <dc:creator>cuongnguyenphu</dc:creator>
      <dc:date>2023-01-11T03:40:52Z</dc:date>
    </item>
    <item>
      <title>Re: read adc without interrupt in s32k312,</title>
      <link>https://community.nxp.com/t5/S32K/read-adc-without-interrupt-in-s32k312/m-p/1737044#M27740</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/195919"&gt;@cuongnguyenphu&lt;/a&gt;&amp;nbsp;Hi,&lt;/P&gt;&lt;P&gt;Why is the ADC initialization interface in this example "NULL_PTR" so that the ADC can be used normally after initialization?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;#define ADC_PRECOMPILE_SUPPORT (STD_ON)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;#if (ADC_PRECOMPILE_SUPPORT == STD_ON)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Adc_Init(NULL_PTR);&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;#else&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Adc_Init(&amp;amp;Adc_Config_VS_0);&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;#endif /* (ADC_PRECOMPILE_SUPPORT == STD_ON) */&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Oct 2023 03:50:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/read-adc-without-interrupt-in-s32k312/m-p/1737044#M27740</guid>
      <dc:creator>shunyizhang</dc:creator>
      <dc:date>2023-10-11T03:50:35Z</dc:date>
    </item>
  </channel>
</rss>

