<?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のトピックDS ConfigTool - Port PCR ID</title>
    <link>https://community.nxp.com/t5/S32K/DS-ConfigTool-Port-PCR-ID/m-p/2116850#M49909</link>
    <description>&lt;P&gt;Hello NXP team&amp;nbsp;&lt;/P&gt;&lt;P&gt;One question for pin PCR id. For the S32K144 PWM example project,&amp;nbsp; pin22 - PTS15 is configured as&amp;nbsp;FTM0_CH0 muxing mode. But in port_cfg.h,&amp;nbsp;FTM0_CH0 can be enabled for three port ID - 44, 64, 111.&amp;nbsp; Why is 111 the correct number? How can pin 22 be mapped to port PCR ID 111&amp;nbsp; in the port config setting of peripheral ?&amp;nbsp; &amp;nbsp;(I chose 44, 64 while some error is reported and Port attribute is not correct)&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;#define PORT111_FTM0_CH0 (PORT_ALT2_FUNC_MODE)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="speed999_0-1750068193229.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/343055iC1852FA5DF833AD7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="speed999_0-1750068193229.png" alt="speed999_0-1750068193229.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 16 Jun 2025 10:03:47 GMT</pubDate>
    <dc:creator>speed999</dc:creator>
    <dc:date>2025-06-16T10:03:47Z</dc:date>
    <item>
      <title>DS ConfigTool - Port PCR ID</title>
      <link>https://community.nxp.com/t5/S32K/DS-ConfigTool-Port-PCR-ID/m-p/2116850#M49909</link>
      <description>&lt;P&gt;Hello NXP team&amp;nbsp;&lt;/P&gt;&lt;P&gt;One question for pin PCR id. For the S32K144 PWM example project,&amp;nbsp; pin22 - PTS15 is configured as&amp;nbsp;FTM0_CH0 muxing mode. But in port_cfg.h,&amp;nbsp;FTM0_CH0 can be enabled for three port ID - 44, 64, 111.&amp;nbsp; Why is 111 the correct number? How can pin 22 be mapped to port PCR ID 111&amp;nbsp; in the port config setting of peripheral ?&amp;nbsp; &amp;nbsp;(I chose 44, 64 while some error is reported and Port attribute is not correct)&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;#define PORT111_FTM0_CH0 (PORT_ALT2_FUNC_MODE)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="speed999_0-1750068193229.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/343055iC1852FA5DF833AD7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="speed999_0-1750068193229.png" alt="speed999_0-1750068193229.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jun 2025 10:03:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/DS-ConfigTool-Port-PCR-ID/m-p/2116850#M49909</guid>
      <dc:creator>speed999</dc:creator>
      <dc:date>2025-06-16T10:03:47Z</dc:date>
    </item>
    <item>
      <title>Re: DS ConfigTool - Port PCR ID</title>
      <link>https://community.nxp.com/t5/S32K/DS-ConfigTool-Port-PCR-ID/m-p/2117133#M49931</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/251623"&gt;@speed999&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;The "PortPin PCR" is a numeric value representing the Port Configuration Register. It can be calculated using the following formula:&lt;/P&gt;
&lt;P&gt;PortPin Pcr = PinId + (PortId × 32)&lt;/P&gt;
&lt;P&gt;Where:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;PortId is the numeric identifier of the port (e.g., PortA = 0, PortB = 1, PortC = 2, etc.).&lt;/LI&gt;
&lt;LI&gt;PinId is the index of the selected pin within the port.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;For PTD15, the calculation would be:&lt;/P&gt;
&lt;P&gt;PortPin Pcr = 15 + (3 × 32) = 111&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, VaneB&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jun 2025 17:54:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/DS-ConfigTool-Port-PCR-ID/m-p/2117133#M49931</guid>
      <dc:creator>VaneB</dc:creator>
      <dc:date>2025-06-16T17:54:54Z</dc:date>
    </item>
  </channel>
</rss>

