<?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: S32k312 EVB switch</title>
    <link>https://community.nxp.com/t5/S32K/S32k312-EVB-switch/m-p/2119773#M50092</link>
    <description>&lt;P&gt;&lt;SPAN&gt;I checked, and the switch seems to be working&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems like the light is not completely extinguished and only the brightness is decreasing..&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 20 Jun 2025 02:12:43 GMT</pubDate>
    <dc:creator>LEEYM</dc:creator>
    <dc:date>2025-06-20T02:12:43Z</dc:date>
    <item>
      <title>S32k312 EVB switch</title>
      <link>https://community.nxp.com/t5/S32K/S32k312-EVB-switch/m-p/2119744#M50091</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using the S32k312 EVB board&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm going to use an example of a switch&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't think the if statement of the main loop is written&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;int&lt;/SPAN&gt; &lt;SPAN&gt;main&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;void&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;/* Initialize all pins using the Port driver */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Siul2_Port_Ip_Init(NUM_OF_CONFIGURED_PINS0, g_pin_mux_InitConfigArr0);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Siul2_Dio_Ip_WritePin(LED_PORT, LED_PIN, 1U);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if&lt;/SPAN&gt;&lt;SPAN&gt;(1 == Siul2_Dio_Ip_ReadPin(SW5_PORT, SW5_PIN) ){&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Siul2_Dio_Ip_WritePin(LED_PORT, LED_PIN, 0U);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;else&lt;/SPAN&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Siul2_Dio_Ip_WritePin(LED_PORT, LED_PIN, 1U);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Debugging works properly, but the LED does not turn off when you press the switch.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there anything I missed?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LEEYM_0-1750381305556.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/343839i0B5001DBA6E7504E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LEEYM_0-1750381305556.png" alt="LEEYM_0-1750381305556.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jun 2025 01:01:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32k312-EVB-switch/m-p/2119744#M50091</guid>
      <dc:creator>LEEYM</dc:creator>
      <dc:date>2025-06-20T01:01:35Z</dc:date>
    </item>
    <item>
      <title>Re: S32k312 EVB switch</title>
      <link>https://community.nxp.com/t5/S32K/S32k312-EVB-switch/m-p/2119773#M50092</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I checked, and the switch seems to be working&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems like the light is not completely extinguished and only the brightness is decreasing..&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jun 2025 02:12:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32k312-EVB-switch/m-p/2119773#M50092</guid>
      <dc:creator>LEEYM</dc:creator>
      <dc:date>2025-06-20T02:12:43Z</dc:date>
    </item>
  </channel>
</rss>

