<?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: MCAL Port_Init(NULL_PTR) error in S32K</title>
    <link>https://community.nxp.com/t5/S32K/MCAL-Port-Init-NULL-PTR-error/m-p/2155708#M52027</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;Please check whether the debug pins are still present in the &lt;STRONG&gt;UnTouchedPortPin&lt;/STRONG&gt; field.&lt;/P&gt;
&lt;DIV&gt;If you refer to the S32K3 PORT Driver User Manual(RTD_PORT_UM.pdf), you will find an important note:&lt;/DIV&gt;
&lt;DIV&gt;&lt;EM&gt;In order to be able to use the debug capabilities, the JTAG and Reset pins need to be configured in the Port driver using mechanism B. This means that the following pins/functionalities need to be added in the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;UnTouchedPortPin&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;list:&lt;/EM&gt;&lt;BR clear="none" /&gt;&lt;EM&gt;– Reset_b having PortPin Mscr set to 5 and SIUL2 Instance set to SIUL2_0&lt;/EM&gt;&lt;BR clear="none" /&gt;&lt;EM&gt;– JTAG_TMS having PortPin Mscr set to 4 and SIUL2 Instance set to SIUL2_0&lt;/EM&gt;&lt;BR clear="none" /&gt;&lt;EM&gt;– JTAG_TDO having PortPin Mscr set to 10 and SIUL2 Instance set to SIUL2_0&lt;/EM&gt;&lt;BR clear="none" /&gt;&lt;EM&gt;– JTAG_TCK having PortPin Mscr set to 68 and SIUL2 Instance set to SIUL2_0&lt;/EM&gt;&lt;BR clear="none" /&gt;&lt;EM&gt;– JTAG_TDI having PortPin Mscr set to 69 and SIUL2 Instance set to SIUL2_0&lt;/EM&gt;&lt;/DIV&gt;
&lt;P&gt;&lt;BR /&gt;If you have modified the debug pin functionality,&amp;nbsp;can you try this solution?&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32-SDK/failed-to-power-up-dap-after-program-s32k312-with-pll0-equal/td-p/1609010" target="_blank" rel="noopener"&gt;https://community.nxp.com/t5/S32-SDK/failed-to-power-up-dap-after-program-s32k312-with-pll0-equal/td-p/1609010&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;If you have also reconfigured the Reset_b pin (PTA5), the MCU can only be reset by a POR.&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 "ACCEPT AS SOLUTION" 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>Thu, 21 Aug 2025 04:32:05 GMT</pubDate>
    <dc:creator>Robin_Shen</dc:creator>
    <dc:date>2025-08-21T04:32:05Z</dc:date>
    <item>
      <title>MCAL Port_Init(NULL_PTR) error</title>
      <link>https://community.nxp.com/t5/S32K/MCAL-Port-Init-NULL-PTR-error/m-p/2155604#M52019</link>
      <description>&lt;P&gt;hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i tried to use port driver of MCAL.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but whenever i initialize the Port Driver the error was occurred and debugger be disconnected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and F/W seems to be working.(is that reset?)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so can you find the way do not occurred the error?&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="jwjung_0-1755740652121.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/353399i7E184010870C3C25/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jwjung_0-1755740652121.png" alt="jwjung_0-1755740652121.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jwjung_1-1755740693453.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/353400i319E6BD7804AD1C3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jwjung_1-1755740693453.png" alt="jwjung_1-1755740693453.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;attachment&lt;/P&gt;&lt;P&gt;chip : NXP S32K312&lt;/P&gt;&lt;P&gt;RTD : SW32K3_RTD4.4_R11-21_3.0.0_DS2303&lt;/P&gt;&lt;P&gt;DS : S32 Design Studio for S32 Platform,&amp;nbsp;Version: 3.5&lt;/P&gt;</description>
      <pubDate>Thu, 21 Aug 2025 01:45:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/MCAL-Port-Init-NULL-PTR-error/m-p/2155604#M52019</guid>
      <dc:creator>jwjung</dc:creator>
      <dc:date>2025-08-21T01:45:05Z</dc:date>
    </item>
    <item>
      <title>Re: MCAL Port_Init(NULL_PTR) error</title>
      <link>https://community.nxp.com/t5/S32K/MCAL-Port-Init-NULL-PTR-error/m-p/2155610#M52021</link>
      <description>&lt;P&gt;run the Port_Init(NULL_PTR);&lt;/P&gt;&lt;P&gt;Port Configuration\ConfigTimeSupport\Config Variant\VARIANT-PRE-COMPLE.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if not, &lt;SPAN&gt;the error does not occur, but the F/W does not work either.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Aug 2025 01:54:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/MCAL-Port-Init-NULL-PTR-error/m-p/2155610#M52021</guid>
      <dc:creator>jwjung</dc:creator>
      <dc:date>2025-08-21T01:54:14Z</dc:date>
    </item>
    <item>
      <title>Re: MCAL Port_Init(NULL_PTR) error</title>
      <link>https://community.nxp.com/t5/S32K/MCAL-Port-Init-NULL-PTR-error/m-p/2155708#M52027</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;Please check whether the debug pins are still present in the &lt;STRONG&gt;UnTouchedPortPin&lt;/STRONG&gt; field.&lt;/P&gt;
&lt;DIV&gt;If you refer to the S32K3 PORT Driver User Manual(RTD_PORT_UM.pdf), you will find an important note:&lt;/DIV&gt;
&lt;DIV&gt;&lt;EM&gt;In order to be able to use the debug capabilities, the JTAG and Reset pins need to be configured in the Port driver using mechanism B. This means that the following pins/functionalities need to be added in the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;UnTouchedPortPin&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;list:&lt;/EM&gt;&lt;BR clear="none" /&gt;&lt;EM&gt;– Reset_b having PortPin Mscr set to 5 and SIUL2 Instance set to SIUL2_0&lt;/EM&gt;&lt;BR clear="none" /&gt;&lt;EM&gt;– JTAG_TMS having PortPin Mscr set to 4 and SIUL2 Instance set to SIUL2_0&lt;/EM&gt;&lt;BR clear="none" /&gt;&lt;EM&gt;– JTAG_TDO having PortPin Mscr set to 10 and SIUL2 Instance set to SIUL2_0&lt;/EM&gt;&lt;BR clear="none" /&gt;&lt;EM&gt;– JTAG_TCK having PortPin Mscr set to 68 and SIUL2 Instance set to SIUL2_0&lt;/EM&gt;&lt;BR clear="none" /&gt;&lt;EM&gt;– JTAG_TDI having PortPin Mscr set to 69 and SIUL2 Instance set to SIUL2_0&lt;/EM&gt;&lt;/DIV&gt;
&lt;P&gt;&lt;BR /&gt;If you have modified the debug pin functionality,&amp;nbsp;can you try this solution?&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32-SDK/failed-to-power-up-dap-after-program-s32k312-with-pll0-equal/td-p/1609010" target="_blank" rel="noopener"&gt;https://community.nxp.com/t5/S32-SDK/failed-to-power-up-dap-after-program-s32k312-with-pll0-equal/td-p/1609010&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;If you have also reconfigured the Reset_b pin (PTA5), the MCU can only be reset by a POR.&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 "ACCEPT AS SOLUTION" 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>Thu, 21 Aug 2025 04:32:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/MCAL-Port-Init-NULL-PTR-error/m-p/2155708#M52027</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2025-08-21T04:32:05Z</dc:date>
    </item>
    <item>
      <title>Re: MCAL Port_Init(NULL_PTR) error</title>
      <link>https://community.nxp.com/t5/S32K/MCAL-Port-Init-NULL-PTR-error/m-p/2155760#M52029</link>
      <description>&lt;P&gt;thanks for reply robin.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;solve the error and confirm the User Manual for RTD Port Driver.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Aug 2025 06:18:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/MCAL-Port-Init-NULL-PTR-error/m-p/2155760#M52029</guid>
      <dc:creator>jwjung</dc:creator>
      <dc:date>2025-08-21T06:18:58Z</dc:date>
    </item>
  </channel>
</rss>

