<?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: S32K118 EVB SDK 4.0.2 Change pin function during runtime in S32 SDK</title>
    <link>https://community.nxp.com/t5/S32-SDK/S32K118-EVB-SDK-4-0-2-Change-pin-function-during-runtime/m-p/1699304#M3238</link>
    <description>So I have to initialize ADC pheriperal and desired pin as an GPIO output, and then I can change its function at any time?&lt;BR /&gt;Now I see that in S32K118_features.h there is a macro FEATURE_PINS_HAS_ADC_INTERLEAVE_EN which is defined as (0), so I am not sure it would work. It seems like it is not available on this chip. Any other ideas? &lt;LI-EMOJI id="lia_disappointed-face" title=":disappointed_face:"&gt;&lt;/LI-EMOJI&gt;</description>
    <pubDate>Fri, 04 Aug 2023 09:17:12 GMT</pubDate>
    <dc:creator>JakubPyznar</dc:creator>
    <dc:date>2023-08-04T09:17:12Z</dc:date>
    <item>
      <title>S32K118 EVB SDK 4.0.2 Change pin function during runtime</title>
      <link>https://community.nxp.com/t5/S32-SDK/S32K118-EVB-SDK-4-0-2-Change-pin-function-during-runtime/m-p/1699207#M3236</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am currently working on a S32DS project for S32K118 EVB with SDK 4.0.2 included. I cannot find in mex configuration or in drivers files how to change pin mode in runtime. I need to change pin mode from default GPIO output to ADC input and back.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Fri, 04 Aug 2023 07:49:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/S32K118-EVB-SDK-4-0-2-Change-pin-function-during-runtime/m-p/1699207#M3236</guid>
      <dc:creator>JakubPyznar</dc:creator>
      <dc:date>2023-08-04T07:49:42Z</dc:date>
    </item>
    <item>
      <title>Re: S32K118 EVB SDK 4.0.2 Change pin function during runtime</title>
      <link>https://community.nxp.com/t5/S32-SDK/S32K118-EVB-SDK-4-0-2-Change-pin-function-during-runtime/m-p/1699277#M3237</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a look at the&amp;nbsp;&lt;STRONG&gt;PINS_DRV_SetMuxModeSel &lt;/STRONG&gt;(hello_world_s32k118_SDK402/SDK/platform/drivers/src/pins/pins_driver.c)&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Robin&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Fri, 04 Aug 2023 09:01:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/S32K118-EVB-SDK-4-0-2-Change-pin-function-during-runtime/m-p/1699277#M3237</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2023-08-04T09:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: S32K118 EVB SDK 4.0.2 Change pin function during runtime</title>
      <link>https://community.nxp.com/t5/S32-SDK/S32K118-EVB-SDK-4-0-2-Change-pin-function-during-runtime/m-p/1699304#M3238</link>
      <description>So I have to initialize ADC pheriperal and desired pin as an GPIO output, and then I can change its function at any time?&lt;BR /&gt;Now I see that in S32K118_features.h there is a macro FEATURE_PINS_HAS_ADC_INTERLEAVE_EN which is defined as (0), so I am not sure it would work. It seems like it is not available on this chip. Any other ideas? &lt;LI-EMOJI id="lia_disappointed-face" title=":disappointed_face:"&gt;&lt;/LI-EMOJI&gt;</description>
      <pubDate>Fri, 04 Aug 2023 09:17:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/S32K118-EVB-SDK-4-0-2-Change-pin-function-during-runtime/m-p/1699304#M3238</guid>
      <dc:creator>JakubPyznar</dc:creator>
      <dc:date>2023-08-04T09:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: S32K118 EVB SDK 4.0.2 Change pin function during runtime</title>
      <link>https://community.nxp.com/t5/S32-SDK/S32K118-EVB-SDK-4-0-2-Change-pin-function-during-runtime/m-p/1699431#M3239</link>
      <description>&lt;P&gt;You need to initialize&amp;nbsp;ADC peripheral and GPIO output. But before ADC sample that channel, please change the pin from GPIO output to ADC input.&lt;BR /&gt;Since S32K11x does not support ADC interleave channel, the macro FEATURE_PINS_HAS_ADC_INTERLEAVE_EN defined as (0).&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ADC_INTERLEAVE_EN.png" style="width: 886px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/235148iD0961A0A03E762A6/image-size/large?v=v2&amp;amp;px=999" role="button" title="ADC_INTERLEAVE_EN.png" alt="ADC_INTERLEAVE_EN.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Aug 2023 13:18:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/S32K118-EVB-SDK-4-0-2-Change-pin-function-during-runtime/m-p/1699431#M3239</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2023-08-04T13:18:53Z</dc:date>
    </item>
  </channel>
</rss>

