<?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: SPI communication issue with example model in Model-Based Design Toolbox (MBDT)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/SPI-communication-issue-with-example-model/m-p/2086700#M10233</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/232522"&gt;@Vijay98&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What revision of the S32K312 chip do you have?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If it is revision&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;0P55A&lt;/STRONG&gt; there might be a problem with the LPSPI Instance 2 and you need to change it to LPSPI Instance 3:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanvlad_0-1745506906792.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/334770i3AD4FD4009752119/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanvlad_0-1745506906792.png" alt="stefanvlad_0-1745506906792.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The pins above are just an example, other pins can be selected but must check the&amp;nbsp;&lt;STRONG&gt;S32K312EVB-Q172 &lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;schematic to be sure.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You can find more details in the following community post: &lt;A href="https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/SPI-no-data-transfer-in-S32K344-T172-MBDT-example-project/m-p/2060574#M10122" target="_blank"&gt;Solved: Re: SPI no data transfer in S32K344_T172 MBDT example project - NXP Community&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please follow the steps in the link above and let me know,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Stefan V.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 24 Apr 2025 15:03:38 GMT</pubDate>
    <dc:creator>stefanvlad</dc:creator>
    <dc:date>2025-04-24T15:03:38Z</dc:date>
    <item>
      <title>SPI communication issue with example model</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/SPI-communication-issue-with-example-model/m-p/2080911#M10220</link>
      <description>&lt;P&gt;Hello NXP team,&lt;/P&gt;&lt;P&gt;Currently we are working in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;SPI communication in MBDT with MATLAB&lt;/STRONG&gt;, and we checked the SPI communication with example model (&lt;STRONG&gt;s32k3xx_spi_async_interr_s32ct&lt;/STRONG&gt;) using&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;S32K312-Q172 EVK board&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;And we are facing an issue that SPI master sends the data and gets incremented but slave doesn't receive the data.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vijay98_0-1744724441707.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/333218i1EC71A9C8258FB60/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Vijay98_0-1744724441707.png" alt="Vijay98_0-1744724441707.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We checked the results in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;freemaster&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;tool&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vijay98_1-1744724442122.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/333219iF251454B040A04FB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Vijay98_1-1744724442122.png" alt="Vijay98_1-1744724442122.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In that result,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;master_send&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;sends the data to SPI master &amp;amp; but&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;slave_recv&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;doesn't receive the data.&lt;/P&gt;&lt;P&gt;And we used the hardware pins connection as mentioned in the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;HW_SW_setup&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vijay98_2-1744724443924.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/333220i1DAC593E6E2F8A52/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Vijay98_2-1744724443924.png" alt="Vijay98_2-1744724443924.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We checked the configuration in S32CT, we can't be able to find any issue in that.&lt;/P&gt;&lt;P&gt;And we have checked the status of each block in SPI example model, we seen that "&lt;STRONG&gt;&lt;EM&gt;SPISequence1&lt;/EM&gt;&lt;/STRONG&gt;" throws error.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vijay98_3-1744724565848.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/333222iA3561C85E31B5149/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Vijay98_3-1744724565848.png" alt="Vijay98_3-1744724565848.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vijay98_4-1744724584501.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/333223iC96B6E8A4DA79639/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Vijay98_4-1744724584501.png" alt="Vijay98_4-1744724584501.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and we checked using logic analyzer in master SDO (mosi) the data is transmitted to slave pin via hardware connection.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kindly help us to resolve this issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/203341" target="_blank"&gt;@stefanvlad&lt;/A&gt;&amp;nbsp;&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/221333" target="_blank"&gt;@FlorinCiuca&lt;/A&gt;&amp;nbsp;&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/221383" target="_blank"&gt;@Adrian_Gherca&lt;/A&gt;&amp;nbsp;&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/199423" target="_blank"&gt;@dragostoma&lt;/A&gt;&amp;nbsp;&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/100054" target="_blank"&gt;@Irina_Costachescu&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Apr 2025 13:43:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/SPI-communication-issue-with-example-model/m-p/2080911#M10220</guid>
      <dc:creator>Vijay98</dc:creator>
      <dc:date>2025-04-15T13:43:47Z</dc:date>
    </item>
    <item>
      <title>Re: SPI communication issue with example model</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/SPI-communication-issue-with-example-model/m-p/2086700#M10233</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/232522"&gt;@Vijay98&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What revision of the S32K312 chip do you have?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If it is revision&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;0P55A&lt;/STRONG&gt; there might be a problem with the LPSPI Instance 2 and you need to change it to LPSPI Instance 3:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanvlad_0-1745506906792.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/334770i3AD4FD4009752119/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanvlad_0-1745506906792.png" alt="stefanvlad_0-1745506906792.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The pins above are just an example, other pins can be selected but must check the&amp;nbsp;&lt;STRONG&gt;S32K312EVB-Q172 &lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;schematic to be sure.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You can find more details in the following community post: &lt;A href="https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/SPI-no-data-transfer-in-S32K344-T172-MBDT-example-project/m-p/2060574#M10122" target="_blank"&gt;Solved: Re: SPI no data transfer in S32K344_T172 MBDT example project - NXP Community&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please follow the steps in the link above and let me know,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Stefan V.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Apr 2025 15:03:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/SPI-communication-issue-with-example-model/m-p/2086700#M10233</guid>
      <dc:creator>stefanvlad</dc:creator>
      <dc:date>2025-04-24T15:03:38Z</dc:date>
    </item>
  </channel>
</rss>

