<?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: SIUL2 Configuration in S32K</title>
    <link>https://community.nxp.com/t5/S32K/SIUL2-Configuration/m-p/2108911#M49495</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/238430"&gt;@vignesh3&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have not tried this exact implementation, but the general idea is:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Disable the I2C module.&lt;/LI&gt;
&lt;LI&gt;Reconfigure the SCL pin as a GPIO.&lt;/LI&gt;
&lt;LI&gt;If you want to restore the pin’s I2C functionality, you will need to:&lt;/LI&gt;
&lt;LI&gt;Reconfigure the pin back to its I2C function.&lt;/LI&gt;
&lt;LI&gt;Reinitialize the I2C module.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;To manage pin configurations dynamically at runtime, I used a feature called "Functional Groups" in the S32 Configuration Tools. This feature allows you to define multiple configurations (groups), and the tool generates all of them in a single file for example Siul2_Port_Ip_Cfg.c for pins.&lt;/P&gt;
&lt;P&gt;In your application code, you just need to select the appropriate configuration structure and pass it to the initialization function at the right time.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, VaneB&lt;/P&gt;</description>
    <pubDate>Mon, 02 Jun 2025 21:08:31 GMT</pubDate>
    <dc:creator>VaneB</dc:creator>
    <dc:date>2025-06-02T21:08:31Z</dc:date>
    <item>
      <title>SIUL2 Configuration</title>
      <link>https://community.nxp.com/t5/S32K/SIUL2-Configuration/m-p/2108576#M49473</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I have configure I2C0, but I2C will not work as expected&amp;nbsp; in between some times.&lt;/P&gt;&lt;P&gt;So I need to toggle the SCL 9 times, But I have already configured I2C using generated code by S32DS tool, If I need to config the SCL as gpio in between means How can I do that, any suggestion on this?&lt;/P&gt;&lt;P&gt;And after sending 9 clock pulses I need to revert back the SCL functionality to that pin.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jun 2025 10:04:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SIUL2-Configuration/m-p/2108576#M49473</guid>
      <dc:creator>vignesh3</dc:creator>
      <dc:date>2025-06-02T10:04:34Z</dc:date>
    </item>
    <item>
      <title>Re: SIUL2 Configuration</title>
      <link>https://community.nxp.com/t5/S32K/SIUL2-Configuration/m-p/2108628#M49480</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I have configure I2C0, but I2C will not work as expected&amp;nbsp; in between some times.&lt;/P&gt;&lt;P&gt;So I need to toggle the SCL 9 times, But I have already configured I2C using generated code by S32DS tool, If I need to config the SCL as gpio in between means How can I do that, any suggestion on this?&lt;/P&gt;&lt;P&gt;And after sending 9 clock pulses I need to revert back the SCL functionality to that pin.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When your I2C bus gets stuck, toggling the SCL line nine times can often clear the issue. To do this with your S32DS-generated code, you'll need to temporarily reconfigure the SCL pin from its I2C function to a GPIO output. After setting it as a GPIO, make sure it's configured as open-drain output, then toggle it high and low nine times. Finally, revert the SCL pin back to its I2C peripheral function and potentially re-initialize your I2C module to restore normal communication. You'll use SDK functions like PORT_SetPinMux and GPIO_WritePinOutput for this.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jun 2025 12:10:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SIUL2-Configuration/m-p/2108628#M49480</guid>
      <dc:creator>halen45david</dc:creator>
      <dc:date>2025-06-02T12:10:37Z</dc:date>
    </item>
    <item>
      <title>Re: SIUL2 Configuration</title>
      <link>https://community.nxp.com/t5/S32K/SIUL2-Configuration/m-p/2108911#M49495</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/238430"&gt;@vignesh3&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have not tried this exact implementation, but the general idea is:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Disable the I2C module.&lt;/LI&gt;
&lt;LI&gt;Reconfigure the SCL pin as a GPIO.&lt;/LI&gt;
&lt;LI&gt;If you want to restore the pin’s I2C functionality, you will need to:&lt;/LI&gt;
&lt;LI&gt;Reconfigure the pin back to its I2C function.&lt;/LI&gt;
&lt;LI&gt;Reinitialize the I2C module.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;To manage pin configurations dynamically at runtime, I used a feature called "Functional Groups" in the S32 Configuration Tools. This feature allows you to define multiple configurations (groups), and the tool generates all of them in a single file for example Siul2_Port_Ip_Cfg.c for pins.&lt;/P&gt;
&lt;P&gt;In your application code, you just need to select the appropriate configuration structure and pass it to the initialization function at the right time.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, VaneB&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jun 2025 21:08:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SIUL2-Configuration/m-p/2108911#M49495</guid>
      <dc:creator>VaneB</dc:creator>
      <dc:date>2025-06-02T21:08:31Z</dc:date>
    </item>
    <item>
      <title>Re: SIUL2 Configuration</title>
      <link>https://community.nxp.com/t5/S32K/SIUL2-Configuration/m-p/2109581#M49542</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/201913"&gt;@VaneB&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;This is the one do I need config?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vignesh3_0-1748957688819.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/341131i374BBB96845C7192/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vignesh3_0-1748957688819.png" alt="vignesh3_0-1748957688819.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jun 2025 13:35:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SIUL2-Configuration/m-p/2109581#M49542</guid>
      <dc:creator>vignesh3</dc:creator>
      <dc:date>2025-06-03T13:35:36Z</dc:date>
    </item>
    <item>
      <title>Re: SIUL2 Configuration</title>
      <link>https://community.nxp.com/t5/S32K/SIUL2-Configuration/m-p/2109845#M49551</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/238430"&gt;@vignesh3&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can find additional information in the Help → Help Contents section of S32 Design Studio (S32DS).&lt;/P&gt;
&lt;P&gt;Please note that reconfiguring pin functionality multiple times is generally not recommended. However, if your application requires this approach, ensure that:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Ensure that the configuration does not conflict with other modules.&lt;/LI&gt;
&lt;LI&gt;The pin configuration structures are not dynamically altered in a way that could cause unintended behavior.&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Tue, 03 Jun 2025 23:40:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SIUL2-Configuration/m-p/2109845#M49551</guid>
      <dc:creator>VaneB</dc:creator>
      <dc:date>2025-06-03T23:40:49Z</dc:date>
    </item>
  </channel>
</rss>

