<?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のトピックNXP S32K118Q048 Red LED blinking Problem</title>
    <link>https://community.nxp.com/t5/S32K/NXP-S32K118Q048-Red-LED-blinking-Problem/m-p/2108638#M49481</link>
    <description>&lt;P&gt;am currently working with the S32K118Q048 Evaluation Board (EVB). I have successfully configured and toggled the blue LED on the board using the standard driver interface. However, I am encountering issues when attempting to control the red and green LEDs.&lt;/P&gt;&lt;P&gt;The red LED is connected to pin &lt;STRONG&gt;PTD16&lt;/STRONG&gt;, and the green LED is connected to &lt;STRONG&gt;PTD15&lt;/STRONG&gt;. According to the standard driver configuration, the corresponding channel addresses should be:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Red LED (PTD16)&lt;/STRONG&gt;: 0x0070&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Green LED (PTD15)&lt;/STRONG&gt;: 0x006F&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Despite configuring these channel addresses correctly, neither LED responds when I attempt to toggle them. I have verified the configuration using the S32 Design Studio's Pin Settings and Pin Configuration tool—both PTD15 and PTD16 are set as &lt;STRONG&gt;GPIO outputs&lt;/STRONG&gt;. I have also cross checked it in the debugger section by reading the respective PCR registers.&lt;/P&gt;&lt;P&gt;I have also implemented a for loop to iterate over a range of channel addresses, including 0x006F and 0x0070, in an attempt to detect any response from the LEDs. However, no visible output was observed.&lt;/P&gt;&lt;P&gt;The question is now why does this happen? Am I missing on a specfic constraint?&lt;/P&gt;</description>
    <pubDate>Mon, 02 Jun 2025 12:23:17 GMT</pubDate>
    <dc:creator>yousefdessouki123</dc:creator>
    <dc:date>2025-06-02T12:23:17Z</dc:date>
    <item>
      <title>NXP S32K118Q048 Red LED blinking Problem</title>
      <link>https://community.nxp.com/t5/S32K/NXP-S32K118Q048-Red-LED-blinking-Problem/m-p/2108638#M49481</link>
      <description>&lt;P&gt;am currently working with the S32K118Q048 Evaluation Board (EVB). I have successfully configured and toggled the blue LED on the board using the standard driver interface. However, I am encountering issues when attempting to control the red and green LEDs.&lt;/P&gt;&lt;P&gt;The red LED is connected to pin &lt;STRONG&gt;PTD16&lt;/STRONG&gt;, and the green LED is connected to &lt;STRONG&gt;PTD15&lt;/STRONG&gt;. According to the standard driver configuration, the corresponding channel addresses should be:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Red LED (PTD16)&lt;/STRONG&gt;: 0x0070&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Green LED (PTD15)&lt;/STRONG&gt;: 0x006F&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Despite configuring these channel addresses correctly, neither LED responds when I attempt to toggle them. I have verified the configuration using the S32 Design Studio's Pin Settings and Pin Configuration tool—both PTD15 and PTD16 are set as &lt;STRONG&gt;GPIO outputs&lt;/STRONG&gt;. I have also cross checked it in the debugger section by reading the respective PCR registers.&lt;/P&gt;&lt;P&gt;I have also implemented a for loop to iterate over a range of channel addresses, including 0x006F and 0x0070, in an attempt to detect any response from the LEDs. However, no visible output was observed.&lt;/P&gt;&lt;P&gt;The question is now why does this happen? Am I missing on a specfic constraint?&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jun 2025 12:23:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/NXP-S32K118Q048-Red-LED-blinking-Problem/m-p/2108638#M49481</guid>
      <dc:creator>yousefdessouki123</dc:creator>
      <dc:date>2025-06-02T12:23:17Z</dc:date>
    </item>
    <item>
      <title>Re: NXP S32K118Q048 Red LED blinking Problem</title>
      <link>https://community.nxp.com/t5/S32K/NXP-S32K118Q048-Red-LED-blinking-Problem/m-p/2108888#M49493</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/251159"&gt;@yousefdessouki123&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;According to the information provided, the pin assignments for the RGB_LED are correct.&lt;/P&gt;
&lt;P&gt;However, I am confused about the section of code where you toggle the pin state. The Dio_WriteChannel() function requires two parameters: the channel ID and the desired logic level. For reference, the channel ID for PTD15 is 0x006F and for PTD16 is 0x0070, which you have correctly identified.&lt;/P&gt;
&lt;P&gt;That said, in your code, the variable "i" is used to iterate from trial (0x0000) to 0x009E, and its value is passed as the channel ID to Dio_WriteChannel(). Could you clarify if this is the intended behavior? It seems that each LED color is being toggled only once during this loop. If your goal is to toggle specific LEDs, I would recommend passing the known channel IDs (e.g., 0x006F, 0x0070) directly to the function, rather than using "i" as the channel ID, since you already know the exact values you want to control.&lt;/P&gt;
&lt;P&gt;Additionally, I am not sure which version of the RTD you are using, but since you are working with S32DS, please ensure that the pins are properly configured in both the Pin Tool and the Peripheral Tool.&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 20:25:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/NXP-S32K118Q048-Red-LED-blinking-Problem/m-p/2108888#M49493</guid>
      <dc:creator>VaneB</dc:creator>
      <dc:date>2025-06-02T20:25:36Z</dc:date>
    </item>
  </channel>
</rss>

