<?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: S32K344 RTD 3.0.0: empty .slewRateCtrlSel generated for LPSPI4 pins — build fails</title>
    <link>https://community.nxp.com/t5/S32K/S32K344-RTD-3-0-0-empty-slewRateCtrlSel-generated-for-LPSPI4/m-p/2400686#M60144</link>
    <description>&lt;P class=""&gt;Hi VaneB,&lt;/P&gt;&lt;P class=""&gt;Thank you very much — that was exactly the problem. The Pins tool had been updated to LPSPI4 (PTB8–PTB11), but the &lt;STRONG&gt;Port&lt;/STRONG&gt; component's PortPin entries were still pointing at the original LPSPI0 pads, so the PortPin Pcr (Mscr) values were stale.&lt;/P&gt;&lt;P class=""&gt;I updated the four PortPin Pcr values in the Port configuration to match the new pin assignment:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;PCS0 → PTB8 (Pcr 40)&lt;/LI&gt;&lt;LI&gt;SOUT → PTB9 (Pcr 41)&lt;/LI&gt;&lt;LI&gt;SCK → PTB10 (Pcr 42)&lt;/LI&gt;&lt;LI&gt;SIN → PTB11 (Pcr 43)&lt;/LI&gt;&lt;/UL&gt;&lt;P class=""&gt;After running &lt;STRONG&gt;Update Code&lt;/STRONG&gt; and rebuilding, the empty .slewRateCtrlSel / .inputMuxReg errors in Siul2_Port_Ip_VS_0_PBcfg.c are gone and the project &lt;STRONG&gt;builds cleanly&lt;/STRONG&gt;.&lt;/P&gt;&lt;P class=""&gt;I really appreciate the quick and precise answer — it saved me a lot of time. Marking this as the solution.&lt;/P&gt;&lt;P class=""&gt;Best regards,&lt;BR /&gt;Hyunsik&lt;/P&gt;</description>
    <pubDate>Fri, 31 Jul 2026 03:51:39 GMT</pubDate>
    <dc:creator>hyunsiksong</dc:creator>
    <dc:date>2026-07-31T03:51:39Z</dc:date>
    <item>
      <title>S32K344 RTD 3.0.0: empty .slewRateCtrlSel generated for LPSPI4 pins — build fails</title>
      <link>https://community.nxp.com/t5/S32K/S32K344-RTD-3-0-0-empty-slewRateCtrlSel-generated-for-LPSPI4/m-p/2400549#M60136</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am bringing up a battery-management application on an S32K344 (172-pin MQFP) custom board whose SPI wiring follows the NXP RD33772C14EVM reference design. I am using S32 Design Studio 3.5 with RTD 3.0.0 (the Platform, Port and Spi modules all report SW version 3.0.0) and the FS26 SBC CDD 2.0.0 (Sbc_fs26). My starting point is the Sbc_fs26_example_HLD example for S32K344.&lt;/P&gt;&lt;P&gt;In my system LPSPI0 is reserved for a future two-channel daisy-chain and the other SPI instances are already in use, so the FS26 SBC has to run on LPSPI4. Following the RD33772C14EVM schematic, I routed the four LPSPI4 signals to the same pads the reference design uses: lpspi4_pcs0 on PTB8, lpspi4_sout on PTB9, lpspi4_sck on PTB10 and lpspi4_sin on PTB11. On the peripheral side I set the SPI physical-unit mapping to LPSPI_4, left SpiHwUnit at CSIB0, and enabled the LPSPI_4 peripheral-clock gate in the Mcu component.&lt;/P&gt;&lt;P&gt;After running "Update Code" and building, the compiler stops with errors in the generated file generate/src/Siul2_Port_Ip_VS_0_PBcfg.c. The generator has produced an assignment with no right-hand side:&lt;/P&gt;&lt;P&gt;../generate/src/Siul2_Port_Ip_VS_0_PBcfg.c:118:34: error: expected expression before ',' token&lt;BR /&gt;118 | .slewRateCtrlSel = ,&lt;/P&gt;&lt;P&gt;The same empty .slewRateCtrlSel = , appears at lines 158, 198 and 238 — one for each of the four LPSPI4 pins. If I manually fill those four lines with PORT_SLEW_RATE_NOT_AVAILABLE, the build gets a little further and then fails the same way on .inputMuxReg = { (empty initializer, "ISO C forbids empty initializer braces"). In other words, the pin-configuration structures for these four pads are generated with empty fields that are not valid C.&lt;/P&gt;&lt;P&gt;When I look at the Pins tool "Routing Details" for PTB8–PTB11, the Slew Rate Control column (and the Input Filter column) shows n/a, and selecting the Slew Rate cell shows the tooltip: "The selected pin does not support the configuration of this feature. Selects the slew rate control." So these particular pads simply have no slew-rate-control hardware. My understanding is that in that case the generator should emit PORT_SLEW_RATE_NOT_AVAILABLE (that value does exist in the Siul2_Port_Ip_PortSlewRateControl enum on this device), the same way it uses *_NOT_AVAILABLE values for other unsupported pad features — but instead it emits nothing, which breaks the build.&lt;/P&gt;&lt;P&gt;What convinces me this is a tool/driver problem rather than a wrong pin choice is that NXP's own LVBMS_RD_Bring_up_Example uses the exact same four LPSPI4 pads (PTB8/PTB9/PTB10/PTB11) for the FS26 SBC and builds cleanly. The only difference I can find between that example and my project is the RTD version: the LVBMS example is built on RTD 2.0.0 (Platform/Port/Spi SW 2.0.0), while my project uses RTD 3.0.0. Same board pinout, same four pins, and the pin electrical features are identical (only direction is set in both). So it really looks like the Siul2_Port_Ip code generation for slew-rate-unsupported pads regressed between RTD 2.0.0 and RTD 3.0.0.&lt;/P&gt;&lt;P&gt;My questions:&lt;/P&gt;&lt;P&gt;Is this a known issue in RTD 3.0.0, and is there a fixed / patched RTD release?&lt;BR /&gt;What is the correct, supported way to configure LPSPI4 on PTB8–PTB11 (the RD33772C14EVM pinout) under RTD 3.0.0 so that the Pins tool generates valid code — i.e. slewRateCtrlSel = PORT_SLEW_RATE_NOT_AVAILABLE and a valid inputMuxReg, instead of empty fields?&lt;BR /&gt;If there is no configuration-level fix, is editing the generated Siul2_Port_Ip_VS_0_PBcfg.c by hand the only workaround (it is overwritten on every "Update Code"), or is moving the project to Port/RTD 2.0.0 the recommended path?&lt;/P&gt;&lt;P&gt;I can attach the full build log, the Pins "Routing Details" screenshot with the tooltip, and a side-by-side of the two projects' module versions if that helps.&lt;/P&gt;&lt;P&gt;Thank you,&lt;BR /&gt;Hyunsik Song&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jul 2026 13:50:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K344-RTD-3-0-0-empty-slewRateCtrlSel-generated-for-LPSPI4/m-p/2400549#M60136</guid>
      <dc:creator>hyunsiksong</dc:creator>
      <dc:date>2026-07-30T13:50:40Z</dc:date>
    </item>
    <item>
      <title>Re: S32K344 RTD 3.0.0: empty .slewRateCtrlSel generated for LPSPI4 pins — build fails</title>
      <link>https://community.nxp.com/t5/S32K/S32K344-RTD-3-0-0-empty-slewRateCtrlSel-generated-for-LPSPI4/m-p/2400650#M60141</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/76568"&gt;@hyunsiksong&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This issue is not related to the RTD itself, nor with the code generated by the S32DS Configuration Tools. Instead, it is related to the configurations.&lt;/P&gt;
&lt;P&gt;In the Port driver configuration within the Peripheral Tool, the values assigned to the PortPin Mscr parameters still correspond to the original project configuration. For example, the project was previously configured to use PTB1 as LPSPI0_PCS0, corresponds to PortPin Mscr = 33.&lt;/P&gt;
&lt;P&gt;In the updated configuration, however, LPSPI4 is being used and PCS0 has been reassigned to pin 8. Therefore, the corresponding PortPin Mscr value should be 40 instead of 33.&lt;/P&gt;
&lt;P&gt;Review the PortPin Mscr for all the pins and ensure they match the current pin assignments Updating these values to reflect the new configuration should resolve the issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, VaneB&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jul 2026 21:57:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K344-RTD-3-0-0-empty-slewRateCtrlSel-generated-for-LPSPI4/m-p/2400650#M60141</guid>
      <dc:creator>VaneB</dc:creator>
      <dc:date>2026-07-30T21:57:53Z</dc:date>
    </item>
    <item>
      <title>Re: S32K344 RTD 3.0.0: empty .slewRateCtrlSel generated for LPSPI4 pins — build fails</title>
      <link>https://community.nxp.com/t5/S32K/S32K344-RTD-3-0-0-empty-slewRateCtrlSel-generated-for-LPSPI4/m-p/2400686#M60144</link>
      <description>&lt;P class=""&gt;Hi VaneB,&lt;/P&gt;&lt;P class=""&gt;Thank you very much — that was exactly the problem. The Pins tool had been updated to LPSPI4 (PTB8–PTB11), but the &lt;STRONG&gt;Port&lt;/STRONG&gt; component's PortPin entries were still pointing at the original LPSPI0 pads, so the PortPin Pcr (Mscr) values were stale.&lt;/P&gt;&lt;P class=""&gt;I updated the four PortPin Pcr values in the Port configuration to match the new pin assignment:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;PCS0 → PTB8 (Pcr 40)&lt;/LI&gt;&lt;LI&gt;SOUT → PTB9 (Pcr 41)&lt;/LI&gt;&lt;LI&gt;SCK → PTB10 (Pcr 42)&lt;/LI&gt;&lt;LI&gt;SIN → PTB11 (Pcr 43)&lt;/LI&gt;&lt;/UL&gt;&lt;P class=""&gt;After running &lt;STRONG&gt;Update Code&lt;/STRONG&gt; and rebuilding, the empty .slewRateCtrlSel / .inputMuxReg errors in Siul2_Port_Ip_VS_0_PBcfg.c are gone and the project &lt;STRONG&gt;builds cleanly&lt;/STRONG&gt;.&lt;/P&gt;&lt;P class=""&gt;I really appreciate the quick and precise answer — it saved me a lot of time. Marking this as the solution.&lt;/P&gt;&lt;P class=""&gt;Best regards,&lt;BR /&gt;Hyunsik&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jul 2026 03:51:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K344-RTD-3-0-0-empty-slewRateCtrlSel-generated-for-LPSPI4/m-p/2400686#M60144</guid>
      <dc:creator>hyunsiksong</dc:creator>
      <dc:date>2026-07-31T03:51:39Z</dc:date>
    </item>
  </channel>
</rss>

