<?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: S32K376 VCU – How to implement SPI-based DIO (MSDI) in S32DS? in Model-Based Design Toolbox (MBDT)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K376-VCU-How-to-implement-SPI-based-DIO-MSDI-in-S32DS/m-p/2358690#M10729</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Please check the following article to get help regarding the configuration of the SPI peripheral to retrieve data from the MC33CD1030 IC:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/NXP-Model-Based-Design-Tools/How-to-MSDI-MC33CD1030-on-S32K396BMS-EVB-using-NXP-MBDT/ta-p/2358666" target="_blank" rel="noopener"&gt;How to: MSDI MC33CD1030 on S32K396BMS-EVB using NXP MBDT&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note that the article is focused on the SPI configuration to send and receive data from the MC33CD1030 IC. For further information about the CD1030, please consult its datasheet.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Sorin Bancila&lt;/P&gt;</description>
    <pubDate>Wed, 29 Apr 2026 15:02:28 GMT</pubDate>
    <dc:creator>SorinIBancila</dc:creator>
    <dc:date>2026-04-29T15:02:28Z</dc:date>
    <item>
      <title>S32K376 VCU – How to implement SPI-based DIO (MSDI) in S32DS?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K376-VCU-How-to-implement-SPI-based-DIO-MSDI-in-S32DS/m-p/2304439#M10616</link>
      <description>&lt;P&gt;I am working on an &lt;STRONG&gt;S32K376 VCU POC board&lt;/STRONG&gt; where an &lt;STRONG&gt;MSDI device is connected over SPI&lt;/STRONG&gt;.&lt;BR /&gt;From the schematic, the following MSDI-related signals are used:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="schourasiya_0-1770014720752.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/375107iEFA8841D7E8DD4AC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="schourasiya_0-1770014720752.png" alt="schourasiya_0-1770014720752.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;SPI signals&lt;/STRONG&gt;: MSDI_CS, MSDI_SCLK, MSDI_MOSI, MSDI_MISO&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Control/status signals&lt;/STRONG&gt;: MSDI_INTB, MSDI_WAKEB&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Analog / mux signal&lt;/STRONG&gt;: MSDI_AMUX&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;MSDI SGx / SPx pins&lt;/STRONG&gt; used for digital inputs and outputs&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I want to implement this using &lt;STRONG&gt;MBDT (Simulink) with S32 Configuration Tools (S32CT)&lt;/STRONG&gt;, but I am not clear on the &lt;STRONG&gt;correct software approach&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;Specifically, I need guidance on:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;How to configure and use the SPI pins&lt;/STRONG&gt; in S32CT so that they work with an external MSDI device&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;How MSDI_INTB it MSDI_WAKEB should be configured&lt;/STRONG&gt; (DIO vs ICU/EXTI) and handled in MBDT&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;How MSDI digital inputs/outputs (SGx / SPx)&lt;/STRONG&gt; are expected to be accessed in software&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Is there any MCAL support pattern?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Or should this be implemented as &lt;STRONG&gt;custom SPI commands + application-level abstraction&lt;/STRONG&gt;?&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;How MSDI_AMUX should typically be handled (ADC path / usage expectation)&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I do not have a &lt;STRONG&gt;working reference or example&lt;/STRONG&gt; showing this flow using &lt;STRONG&gt;MBDT + S32CT&lt;/STRONG&gt; for S32K376/96 VCU &amp;amp; BMS Example POC project.&lt;/P&gt;&lt;P&gt;Could you please suggest the &lt;STRONG&gt;recommended implementation approach&lt;/STRONG&gt; (step-by-step or block-level)&lt;/P&gt;</description>
      <pubDate>Mon, 02 Feb 2026 06:48:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K376-VCU-How-to-implement-SPI-based-DIO-MSDI-in-S32DS/m-p/2304439#M10616</guid>
      <dc:creator>schourasiya</dc:creator>
      <dc:date>2026-02-02T06:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: S32K376 VCU – How to implement SPI-based DIO (MSDI) in S32DS?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K376-VCU-How-to-implement-SPI-based-DIO-MSDI-in-S32DS/m-p/2314472#M10632</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/72088"&gt;@mariuslucianand&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;could you please comment on this?&lt;/P&gt;
&lt;P&gt;Thanks in advance.&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;</description>
      <pubDate>Mon, 09 Feb 2026 08:50:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K376-VCU-How-to-implement-SPI-based-DIO-MSDI-in-S32DS/m-p/2314472#M10632</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2026-02-09T08:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: S32K376 VCU – How to implement SPI-based DIO (MSDI) in S32DS?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K376-VCU-How-to-implement-SPI-based-DIO-MSDI-in-S32DS/m-p/2354668#M10726</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;Since no one replied, I tried multiple things on my end and found while working on the same VCU POC board using S32K396, where an external MSDI device is connected over LPSPI3.&amp;nbsp;However, SPI initialization fails during runtime with a BusFault.&lt;/P&gt;&lt;P&gt;Observed issue&lt;/P&gt;&lt;P&gt;During execution of Lpspi_Ip_Init(), the code faults at:&lt;/P&gt;&lt;P&gt;Base-&amp;gt;CFGR1 = PhyUnitConfigPtr-&amp;gt;Cfgr1;&lt;/P&gt;&lt;P&gt;Debugger observation:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="schourasiya_0-1776852999802.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/383182i34A29E686DA2B7F0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="schourasiya_0-1776852999802.png" alt="schourasiya_0-1776852999802.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="schourasiya_1-1776853010374.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/383183iB40F2F53CC4A838E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="schourasiya_1-1776853010374.png" alt="schourasiya_1-1776853010374.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Instance = 3&lt;BR /&gt;Base address = 0x40364000&lt;/P&gt;&lt;P&gt;The register reads: VERID = 53248&lt;BR /&gt;PARAM = 53249&lt;BR /&gt;CR = 53249&lt;BR /&gt;SR = 53249&lt;/P&gt;&lt;P&gt;Followed by: BusFault: imprecise data access error&lt;BR /&gt;HardFault escalation: This happens on the register access to LPSPI3.&lt;/P&gt;&lt;P&gt;Please help with:&lt;BR /&gt;Which exact configuration/settings (refer to the attached) are incorrect? or&lt;BR /&gt;What additional settings/MBDT Blockset are required to correctly access MSDI I/O pin data?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="schourasiya_2-1776853047143.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/383184i342209A23DDD3FDA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="schourasiya_2-1776853047143.png" alt="schourasiya_2-1776853047143.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2026 10:31:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K376-VCU-How-to-implement-SPI-based-DIO-MSDI-in-S32DS/m-p/2354668#M10726</guid>
      <dc:creator>schourasiya</dc:creator>
      <dc:date>2026-04-22T10:31:07Z</dc:date>
    </item>
    <item>
      <title>Re: S32K376 VCU – How to implement SPI-based DIO (MSDI) in S32DS?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K376-VCU-How-to-implement-SPI-based-DIO-MSDI-in-S32DS/m-p/2358690#M10729</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Please check the following article to get help regarding the configuration of the SPI peripheral to retrieve data from the MC33CD1030 IC:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/NXP-Model-Based-Design-Tools/How-to-MSDI-MC33CD1030-on-S32K396BMS-EVB-using-NXP-MBDT/ta-p/2358666" target="_blank" rel="noopener"&gt;How to: MSDI MC33CD1030 on S32K396BMS-EVB using NXP MBDT&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note that the article is focused on the SPI configuration to send and receive data from the MC33CD1030 IC. For further information about the CD1030, please consult its datasheet.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Sorin Bancila&lt;/P&gt;</description>
      <pubDate>Wed, 29 Apr 2026 15:02:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K376-VCU-How-to-implement-SPI-based-DIO-MSDI-in-S32DS/m-p/2358690#M10729</guid>
      <dc:creator>SorinIBancila</dc:creator>
      <dc:date>2026-04-29T15:02:28Z</dc:date>
    </item>
  </channel>
</rss>

