<?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 S32K118 FreeRTOS + ADC in S32K</title>
    <link>https://community.nxp.com/t5/S32K/S32K118-FreeRTOS-ADC/m-p/2085065#M48032</link>
    <description>&lt;P&gt;Hello NXP Team,&lt;/P&gt;&lt;P&gt;I'm currently porting the &lt;STRONG&gt;Adc_Pdb_Ip_example_S32K118&lt;/STRONG&gt; to the &lt;STRONG&gt;FreeRTOS_Toggle_Led_Example_S32K118&lt;/STRONG&gt; project.&lt;/P&gt;&lt;P&gt;I’m able to retrieve ADC values successfully in the ADC callback (&lt;STRONG&gt;AdcConversionCompleteNotif&lt;/STRONG&gt;).&lt;BR /&gt;However, once I call &lt;STRONG&gt;xQueueCreate&lt;/STRONG&gt;, the ADC callback (&lt;STRONG&gt;AdcConversionCompleteNotif&lt;/STRONG&gt;) no longer gets executed.&lt;/P&gt;&lt;P&gt;Is there any configuration I might be missing?&lt;/P&gt;&lt;P&gt;Please see my attached code for reference. Thank you for your assistance.&lt;/P&gt;</description>
    <pubDate>Wed, 23 Apr 2025 04:10:46 GMT</pubDate>
    <dc:creator>Pohsuan</dc:creator>
    <dc:date>2025-04-23T04:10:46Z</dc:date>
    <item>
      <title>S32K118 FreeRTOS + ADC</title>
      <link>https://community.nxp.com/t5/S32K/S32K118-FreeRTOS-ADC/m-p/2085065#M48032</link>
      <description>&lt;P&gt;Hello NXP Team,&lt;/P&gt;&lt;P&gt;I'm currently porting the &lt;STRONG&gt;Adc_Pdb_Ip_example_S32K118&lt;/STRONG&gt; to the &lt;STRONG&gt;FreeRTOS_Toggle_Led_Example_S32K118&lt;/STRONG&gt; project.&lt;/P&gt;&lt;P&gt;I’m able to retrieve ADC values successfully in the ADC callback (&lt;STRONG&gt;AdcConversionCompleteNotif&lt;/STRONG&gt;).&lt;BR /&gt;However, once I call &lt;STRONG&gt;xQueueCreate&lt;/STRONG&gt;, the ADC callback (&lt;STRONG&gt;AdcConversionCompleteNotif&lt;/STRONG&gt;) no longer gets executed.&lt;/P&gt;&lt;P&gt;Is there any configuration I might be missing?&lt;/P&gt;&lt;P&gt;Please see my attached code for reference. Thank you for your assistance.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Apr 2025 04:10:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K118-FreeRTOS-ADC/m-p/2085065#M48032</guid>
      <dc:creator>Pohsuan</dc:creator>
      <dc:date>2025-04-23T04:10:46Z</dc:date>
    </item>
    <item>
      <title>Re: S32K118 FreeRTOS + ADC</title>
      <link>https://community.nxp.com/t5/S32K/S32K118-FreeRTOS-ADC/m-p/2088033#M48213</link>
      <description>&lt;P&gt;Hello NXP team&lt;/P&gt;&lt;P&gt;Would you happen to have any suggestions regarding this issue?&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;</description>
      <pubDate>Mon, 28 Apr 2025 07:03:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K118-FreeRTOS-ADC/m-p/2088033#M48213</guid>
      <dc:creator>Pohsuan</dc:creator>
      <dc:date>2025-04-28T07:03:34Z</dc:date>
    </item>
    <item>
      <title>Re: S32K118 FreeRTOS + ADC</title>
      <link>https://community.nxp.com/t5/S32K/S32K118-FreeRTOS-ADC/m-p/2088121#M48223</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;this could relate to interrupt priority, as outlined e,g, in&amp;nbsp;&lt;A href="https://community.nxp.com/t5/S32K/Interrupt-in-FreeRTOS-for-S32K144/td-p/1396065" target="_blank"&gt;https://community.nxp.com/t5/S32K/Interrupt-in-FreeRTOS-for-S32K144/td-p/1396065&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Also could be recommended to use latest RTD and FreeRTOS driver versions.&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;</description>
      <pubDate>Mon, 28 Apr 2025 08:01:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K118-FreeRTOS-ADC/m-p/2088121#M48223</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2025-04-28T08:01:20Z</dc:date>
    </item>
    <item>
      <title>Re: S32K118 FreeRTOS + ADC</title>
      <link>https://community.nxp.com/t5/S32K/S32K118-FreeRTOS-ADC/m-p/2088253#M48233</link>
      <description>&lt;P&gt;Hello PertS&lt;/P&gt;&lt;P&gt;Thank you very much for your response.&lt;/P&gt;&lt;P&gt;I’ve attempted to change &lt;STRONG&gt;configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY&lt;/STRONG&gt; from 1 to 9, and also used &lt;STRONG&gt;NVIC_SetPriority&lt;/STRONG&gt; set &lt;STRONG&gt;ADC0_IRQn&lt;/STRONG&gt; to 7, but unfortunately, the &lt;STRONG&gt;AdcConversionCompleteNotif&lt;/STRONG&gt; is still not being triggered.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Pohsuan_1-1745832988774.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/335213i1C82D21905FC6604/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Pohsuan_1-1745832988774.png" alt="Pohsuan_1-1745832988774.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Are there any other suggestions you could provide?&lt;BR /&gt;Alternatively, can I use the &lt;STRONG&gt;IntCtrl_IP&lt;/STRONG&gt; driver to capture the ADC Conversion Complete flag?&lt;/P&gt;&lt;P&gt;It will be any different?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Apr 2025 09:50:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K118-FreeRTOS-ADC/m-p/2088253#M48233</guid>
      <dc:creator>Pohsuan</dc:creator>
      <dc:date>2025-04-28T09:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: S32K118 FreeRTOS + ADC</title>
      <link>https://community.nxp.com/t5/S32K/S32K118-FreeRTOS-ADC/m-p/2092858#M48530</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;another&amp;nbsp;common issue could be: if a function/driver uses OS services, it's mandatory to call them after starting the scheduler. Maybe this is the reason.&lt;/P&gt;
&lt;P&gt;You can refer to below discussion which could be helpful:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.freertos.org/FreeRTOS_Support_Forum_Archive/March_2017/freertos_What_is_normal_method_for_running_initialization_code_in_FreerTOS_92042073j.html" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.freertos.org/FreeRTOS_Support_Forum_Archive/March_2017/freertos_What_is_normal_method_fo...&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;</description>
      <pubDate>Wed, 07 May 2025 13:40:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K118-FreeRTOS-ADC/m-p/2092858#M48530</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2025-05-07T13:40:14Z</dc:date>
    </item>
  </channel>
</rss>

