<?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>Model-Based Design Toolbox (MBDT)中的主题 Re: SPI no data transfer in S32K344_T172 MBDT example project</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/SPI-no-data-transfer-in-S32K344-T172-MBDT-example-project/m-p/2060405#M10116</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/203341"&gt;@stefanvlad&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;I tried changing from LPSPI2 to LPSPI4 and it seemed to work. The LPSPI4 (&lt;SPAN&gt;PTB10-SCK, PTB11-SIN, PTB9-SOUT, PTC10-PCS0)&lt;/SPAN&gt; is set up as a slave and the LPSPI1 is set as master. Although the MOSI signal is now working, the MISO signal isn't working yet and by viewing the FreeMaster window it seems that slave_recv variable is not changing its value. So probably it may be a matter of correctly setting up the SLAVE channel and the Simulink block..&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Config_Tool.jpg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/327714i6AF3D5C55E885D5E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Config_Tool.jpg" alt="Config_Tool.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IMG_2138.jpg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/327712i1EC7801321E8314A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="IMG_2138.jpg" alt="IMG_2138.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="freemaster.jpg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/327713iA1925774A647A2D9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="freemaster.jpg" alt="freemaster.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
    <pubDate>Wed, 12 Mar 2025 11:34:24 GMT</pubDate>
    <dc:creator>ErwinR</dc:creator>
    <dc:date>2025-03-12T11:34:24Z</dc:date>
    <item>
      <title>SPI no data transfer in S32K344_T172 MBDT example project</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/SPI-no-data-transfer-in-S32K344-T172-MBDT-example-project/m-p/2058632#M10098</link>
      <description>&lt;P&gt;I've been trying to adjust/fix the example project "s32k3xx_spi_async_interr_s32ct" for the K344 172 pin version since by default it was configured for the 257 pin version.&amp;nbsp;&lt;BR /&gt;The problem I encoutered first was that there was no other signal working except for the clock.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IMG_2087.jpg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/327336i18A5DC373FFF8CF8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="IMG_2087.jpg" alt="IMG_2087.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; After analysing the Configuration tool project I've managed to switch the PCS pin to PTC12 and change the configuration for ExternalDevice_0 to PCS1 LOW. This resulted in the CS signal working as shown in the image below. ALthough, even if the PCS is working, there is no exchange of data bewteen MOSI and MISO pins, and there is an odd HIGH signal before PCS LOW on the MISO pin. I would like to know which configurations are needed to be modified additionally for the SPI communication to work properly.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SPI_Config.jpg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/327338iC5F911A10D449A61/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SPI_Config.jpg" alt="SPI_Config.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IMG_2115.jpg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/327337iFBB9B0AD845A34D1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="IMG_2115.jpg" alt="IMG_2115.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Setup.jpg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/327339iE30B5F52BB27E560/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Setup.jpg" alt="Setup.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Mar 2025 09:12:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/SPI-no-data-transfer-in-S32K344-T172-MBDT-example-project/m-p/2058632#M10098</guid>
      <dc:creator>ErwinR</dc:creator>
      <dc:date>2025-03-10T09:12:56Z</dc:date>
    </item>
    <item>
      <title>Re: SPI no data transfer in S32K344_T172 MBDT example project</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/SPI-no-data-transfer-in-S32K344-T172-MBDT-example-project/m-p/2058784#M10100</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/225358"&gt;@ErwinR&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Before we start, what revision of the S32K3X4EVB-T172 board do you have? for example: SCH-53148 Rev B1&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-teams="true"&gt;Have you selected the &lt;STRONG&gt;S32K344-Q172&lt;/STRONG&gt;&amp;nbsp;&lt;STRONG&gt;S32 CT&lt;/STRONG&gt; in the Hardware Implementation menu? (&lt;FONT color="#FF0000"&gt;Step1&lt;/FONT&gt;&lt;FONT color="#000000"&gt;)&lt;/FONT&gt;&lt;LI-EMOJI id="lia_disappointed-face" title=":disappointed_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="s32k3xx_spi_async_interr_s32ct_HW.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/327362iD1E29AE78620F1D8/image-size/large?v=v2&amp;amp;px=999" role="button" title="s32k3xx_spi_async_interr_s32ct_HW.png" alt="s32k3xx_spi_async_interr_s32ct_HW.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Please select &lt;STRONG&gt;S32K344-Q172 S32 Config Tool&lt;/STRONG&gt; in the Project Template (&lt;FONT color="#FF0000"&gt;Step2&lt;/FONT&gt;) then a pop-up will appear:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="s32k3xx_spi_async_interr_s32ct_Ok.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/327364iF817E6FED7449048/image-size/medium?v=v2&amp;amp;px=400" role="button" title="s32k3xx_spi_async_interr_s32ct_Ok.png" alt="s32k3xx_spi_async_interr_s32ct_Ok.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Press "OK" , another Pop-up will appear "Please wait...", this will disappear in 1-2min, then press Apply (&lt;FONT color="#FF0000"&gt;Step3&lt;/FONT&gt;) and OK.&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-teams="true"&gt;This has the purpose of loading the specific configuration made for the selected hardware part/board.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Then you need to Build, Deploy &amp;amp; Start (&lt;STRONG&gt;CTRL+B&lt;/STRONG&gt;) to rebuild and deploy the code on the T172 board. Wait for the process to complete and flash the board, then proceed to wiring.&lt;/P&gt;
&lt;P&gt;Download the board schematics from&amp;nbsp;&lt;A href="https://www.nxp.com/webapp/Download?colCode=S32K3X4EVB-T172-HWPACK" target="_blank" rel="noopener"&gt;https://www.nxp.com/webapp/Download?colCode=S32K3X4EVB-T172-HWPACK&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Just to be sure, have you made the same connections as in the table below:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="s32k3xx_spi_async_interr_s32ct_Table.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/327365iCECCDAB23540F521/image-size/medium?v=v2&amp;amp;px=400" role="button" title="s32k3xx_spi_async_interr_s32ct_Table.png" alt="s32k3xx_spi_async_interr_s32ct_Table.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I have made same connections on my board, for example connecting pin &lt;STRONG&gt;PTB3&lt;/STRONG&gt; with &lt;STRONG&gt;PTB15, PTB2 &lt;/STRONG&gt;with &lt;STRONG&gt;PTB16&lt;/STRONG&gt;&amp;nbsp;on so on, according to the table above:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="s32k3xx_spi_async_interr_s32ct_Pins.jpg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/327507i9E1936EA9570DCAB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="s32k3xx_spi_async_interr_s32ct_Pins.jpg" alt="s32k3xx_spi_async_interr_s32ct_Pins.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; The blue LED will start blinking once per second.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Open the&amp;nbsp;&lt;STRONG&gt;s32k3xx_spi_async_interr_s32ct.pmpx&lt;/STRONG&gt; with FreeMASTER and see the values increasing:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="s32k3xx_spi_async_interr_s32ct_FM.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/327363iD7D7634AF34D5299/image-size/medium?v=v2&amp;amp;px=400" role="button" title="s32k3xx_spi_async_interr_s32ct_FM.png" alt="s32k3xx_spi_async_interr_s32ct_FM.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;master_send&lt;/LI&gt;
&lt;LI&gt;master_recv&lt;/LI&gt;
&lt;LI&gt;slave_recv&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Assuming the connections have been properly wired up, can you provide details about the board you are using?&lt;/P&gt;
&lt;P&gt;Also, are you using the latest version of &lt;A href="https://community.nxp.com/t5/NXP-Model-Based-Design-Tools/NXP-Model-Based-Design-Toolbox-for-S32K3-version-1-6-0-Product/ta-p/2035020" target="_blank" rel="noopener"&gt;NXP Model-Based Design Toolbox for S32K3 version 1.6.0&lt;/A&gt;?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this works also on your side,&lt;/P&gt;
&lt;P&gt;Stefan V.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Mar 2025 12:40:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/SPI-no-data-transfer-in-S32K344-T172-MBDT-example-project/m-p/2058784#M10100</guid>
      <dc:creator>stefanvlad</dc:creator>
      <dc:date>2025-03-11T12:40:22Z</dc:date>
    </item>
    <item>
      <title>Re: SPI no data transfer in S32K344_T172 MBDT example project</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/SPI-no-data-transfer-in-S32K344-T172-MBDT-example-project/m-p/2059355#M10107</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/203341"&gt;@stefanvlad&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Concerning your questions about the S32K344 evb and Simulink, the Revision of the board is SCH-53148 Rev B. The version of the MDBT for S32K3 is 1.6.0 &lt;/P&gt;&lt;P&gt;I did not change to&amp;nbsp;&lt;STRONG&gt;S32K344-Q172 S32 Config Tool&amp;nbsp;&lt;/STRONG&gt;from the simulink project but I switched the processor from the &lt;STRONG&gt;Configuration Tool&amp;nbsp;&lt;/STRONG&gt;window &lt;STRONG&gt;Switch package&lt;/STRONG&gt; option.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Config_Tool.jpg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/327463iF18F8CCBA4AE482E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Config_Tool.jpg" alt="Config_Tool.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SwitchPackage.jpg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/327464i2F1650A5B57B07D6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SwitchPackage.jpg" alt="SwitchPackage.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;  It let me switch to the 172 pin version of the board while saving the LPSPI configuration. I just needed to change the LPSPI2 Chip Select pin to &lt;STRONG&gt;PCS1(PTC12).&amp;nbsp;&lt;/STRONG&gt;And this gave me the result that I mentioned in my post.&lt;/P&gt;&lt;P&gt;As for Your guide, I tried switching to&amp;nbsp;&lt;STRONG&gt;S32K344-Q172 S32 Config Tool &lt;/STRONG&gt;from Simulink Hardware Settings&amp;nbsp;and build the project. This resulted in the same issue of no data exchange between MOSI and MISO pins.&amp;nbsp; What comes to FreeMaster preview, only the master_send variable was displaying a change in value.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FreeMaster_Screen.jpg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/327457iCAE1AEEC9E09C11A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="FreeMaster_Screen.jpg" alt="FreeMaster_Screen.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IMG_2125.jpg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/327472i07AA682578A27ABA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="IMG_2125.jpg" alt="IMG_2125.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IMG_2127.jpg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/327473i6103D8E579C26BE1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="IMG_2127.jpg" alt="IMG_2127.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Tue, 11 Mar 2025 09:04:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/SPI-no-data-transfer-in-S32K344-T172-MBDT-example-project/m-p/2059355#M10107</guid>
      <dc:creator>ErwinR</dc:creator>
      <dc:date>2025-03-11T09:04:49Z</dc:date>
    </item>
    <item>
      <title>Re: SPI no data transfer in S32K344_T172 MBDT example project</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/SPI-no-data-transfer-in-S32K344-T172-MBDT-example-project/m-p/2059522#M10108</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/225358"&gt;@ErwinR&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have presented above the steps needed to change&amp;nbsp;&lt;SPAN&gt;to&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;S32K344-Q172 S32 Config Tool&amp;nbsp;&lt;/STRONG&gt;in the Hardware Settings, please always use that workflow.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In order to test easier the recommended setup,&amp;nbsp; please download the attached s32k3xx_spi_async_interr_s32ct.&lt;STRONG&gt;zip&lt;/STRONG&gt;, and rewrite your local files with the ones from the archive.&lt;/P&gt;
&lt;P&gt;Flash the&amp;nbsp;&lt;STRONG&gt;s32k3xx_spi_async_interr_s32ct&lt;/STRONG&gt;.&lt;STRONG&gt;elf&amp;nbsp;&lt;/STRONG&gt;file by using the MATLAB command:&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&amp;gt;&amp;gt; mbd_s32k3.nxp.download.jtag('s32k3xx_spi_async_interr_s32ct.elf','S32K344')&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Also please connect the 4 wires as in the diagram below:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="s32k3xx_spi_async_interr_s32ct_Connections2.png" style="width: 908px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/328460iBA71D1680659DEB9/image-dimensions/908x564?v=v2" width="908" height="564" role="button" title="s32k3xx_spi_async_interr_s32ct_Connections2.png" alt="s32k3xx_spi_async_interr_s32ct_Connections2.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The above connections are the same in the table provided in the help&amp;nbsp;&lt;STRONG&gt;s32k3xx_spi_async_interr_s32ct_example_readme&lt;/STRONG&gt;.html:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanvlad_0-1742225415484.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/328461i71A86793843E0B7B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanvlad_0-1742225415484.png" alt="stefanvlad_0-1742225415484.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Please follow the steps above and this will result in a working setup for the SPI model.&lt;/P&gt;
&lt;P&gt;My last question is why did you change the&amp;nbsp;&lt;STRONG&gt;PCS1(PTC12)&lt;/STRONG&gt; pin?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Stefan V. &lt;/P&gt;</description>
      <pubDate>Mon, 17 Mar 2025 15:30:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/SPI-no-data-transfer-in-S32K344-T172-MBDT-example-project/m-p/2059522#M10108</guid>
      <dc:creator>stefanvlad</dc:creator>
      <dc:date>2025-03-17T15:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: SPI no data transfer in S32K344_T172 MBDT example project</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/SPI-no-data-transfer-in-S32K344-T172-MBDT-example-project/m-p/2059565#M10111</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/203341"&gt;@stefanvlad&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;I have uploaded your project .elf file and unfortunately I am getting the same result. I tried uploading the same file onto my colleagues evalboard and got the same result. Could this be some sort of hardware defect/error?&lt;BR /&gt;&lt;BR /&gt;In my previous project I switched the PCS to PTC12 because after doing the package switch to the 172 pin version in Configuration Tool the PTB25 pin was occupied by another peripheral.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IMG_2129.jpg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/327519iB0EA128AF32DC572/image-size/medium?v=v2&amp;amp;px=400" role="button" title="IMG_2129.jpg" alt="IMG_2129.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="freemaster.jpg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/327520i73F989FA256A5AE3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="freemaster.jpg" alt="freemaster.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Tue, 11 Mar 2025 13:12:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/SPI-no-data-transfer-in-S32K344-T172-MBDT-example-project/m-p/2059565#M10111</guid>
      <dc:creator>ErwinR</dc:creator>
      <dc:date>2025-03-11T13:12:18Z</dc:date>
    </item>
    <item>
      <title>Re: SPI no data transfer in S32K344_T172 MBDT example project</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/SPI-no-data-transfer-in-S32K344-T172-MBDT-example-project/m-p/2059708#M10113</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/225358"&gt;@ErwinR&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've manage to also test the .elf on a S32K3X4EVB-&lt;SPAN data-teams="true"&gt;T172 &lt;STRONG&gt;RevB&lt;/STRONG&gt;, same as your board.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-teams="true"&gt;With this board, i was able to reproduce the issue, with the Logic Analyzer, i saw that PTB15-MOSI signal is missing:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="s32k3xx_spi_async_interr_s32ct_T172RevB.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/327550iD1D8996D6D0B0C79/image-size/large?v=v2&amp;amp;px=999" role="button" title="s32k3xx_spi_async_interr_s32ct_T172RevB.png" alt="s32k3xx_spi_async_interr_s32ct_T172RevB.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; While on the other board we have better results, working well with T172 RevB1 , Q172 boards:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="s32k3xx_spi_async_interr_s32ct_T172RevB1.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/327551iF7ECA39AC437BF0A/image-size/large?v=v2&amp;amp;px=999" role="button" title="s32k3xx_spi_async_interr_s32ct_T172RevB1.png" alt="s32k3xx_spi_async_interr_s32ct_T172RevB1.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;We are further investigating this issue, so far i have tested on multiple boards:&lt;/P&gt;
&lt;TABLE&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="134px"&gt;S32K344-Q172&lt;/TD&gt;
&lt;TD width="136px"&gt;S32K344-T172 RevB&lt;/TD&gt;
&lt;TD width="102.094px"&gt;S32K344-T172 RevB1&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="134px"&gt;P32K344EHVPBS&lt;/TD&gt;
&lt;TD width="136px"&gt;P32K344EHVPBS&lt;/TD&gt;
&lt;TD width="102.094px"&gt;32K344HMS&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="134px"&gt;1P55A&lt;/TD&gt;
&lt;TD width="136px"&gt;0P55A&lt;/TD&gt;
&lt;TD width="102.094px"&gt;1P55A&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="134px"&gt;CTZX2128B&lt;/TD&gt;
&lt;TD width="136px"&gt;CTZW22130&lt;/TD&gt;
&lt;TD width="102.094px"&gt;
&lt;P&gt;CTAK2228M&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="134px"&gt;
&lt;P&gt;SPI works&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="136px"&gt;
&lt;P&gt;SPI doesn't work&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="102.094px"&gt;
&lt;P&gt;SPI works&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;P&gt;Can you provide the revision of the S32K344 you have, these are the markings on the chip, they are similar to the table above.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Stefan V.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Mar 2025 16:35:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/SPI-no-data-transfer-in-S32K344-T172-MBDT-example-project/m-p/2059708#M10113</guid>
      <dc:creator>stefanvlad</dc:creator>
      <dc:date>2025-03-11T16:35:45Z</dc:date>
    </item>
    <item>
      <title>Re: SPI no data transfer in S32K344_T172 MBDT example project</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/SPI-no-data-transfer-in-S32K344-T172-MBDT-example-project/m-p/2060187#M10114</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/203341"&gt;@stefanvlad&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Thank You for the information,&lt;BR /&gt;We'll be awaiting any possible solution for this error.&amp;nbsp;&lt;BR /&gt;The exact s32k344 boeard that we have is &lt;STRONG&gt;P32K344EHVPBS 0P55A CTZW22130&lt;/STRONG&gt; which is the board on which SPI does not work&lt;/P&gt;</description>
      <pubDate>Wed, 12 Mar 2025 07:32:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/SPI-no-data-transfer-in-S32K344-T172-MBDT-example-project/m-p/2060187#M10114</guid>
      <dc:creator>ErwinR</dc:creator>
      <dc:date>2025-03-12T07:32:45Z</dc:date>
    </item>
    <item>
      <title>Re: SPI no data transfer in S32K344_T172 MBDT example project</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/SPI-no-data-transfer-in-S32K344-T172-MBDT-example-project/m-p/2060405#M10116</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/203341"&gt;@stefanvlad&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;I tried changing from LPSPI2 to LPSPI4 and it seemed to work. The LPSPI4 (&lt;SPAN&gt;PTB10-SCK, PTB11-SIN, PTB9-SOUT, PTC10-PCS0)&lt;/SPAN&gt; is set up as a slave and the LPSPI1 is set as master. Although the MOSI signal is now working, the MISO signal isn't working yet and by viewing the FreeMaster window it seems that slave_recv variable is not changing its value. So probably it may be a matter of correctly setting up the SLAVE channel and the Simulink block..&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Config_Tool.jpg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/327714i6AF3D5C55E885D5E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Config_Tool.jpg" alt="Config_Tool.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IMG_2138.jpg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/327712i1EC7801321E8314A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="IMG_2138.jpg" alt="IMG_2138.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="freemaster.jpg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/327713iA1925774A647A2D9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="freemaster.jpg" alt="freemaster.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Wed, 12 Mar 2025 11:34:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/SPI-no-data-transfer-in-S32K344-T172-MBDT-example-project/m-p/2060405#M10116</guid>
      <dc:creator>ErwinR</dc:creator>
      <dc:date>2025-03-12T11:34:24Z</dc:date>
    </item>
    <item>
      <title>Re: SPI no data transfer in S32K344_T172 MBDT example project</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/SPI-no-data-transfer-in-S32K344-T172-MBDT-example-project/m-p/2060436#M10117</link>
      <description>&lt;P&gt;Small update:&lt;BR /&gt;I've switched LPSPI1 to be SLAVE and LPSPI4 to be MASTER and the communication works now. The only problem is that the signal in connection between PTB9 and PTB15 pins shifts to 2-2.5V as HIGH halfway through the signal.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IMG_2140.jpg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/327722iAC8AB2EF958C2A9A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="IMG_2140.jpg" alt="IMG_2140.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Wed, 12 Mar 2025 12:26:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/SPI-no-data-transfer-in-S32K344-T172-MBDT-example-project/m-p/2060436#M10117</guid>
      <dc:creator>ErwinR</dc:creator>
      <dc:date>2025-03-12T12:26:56Z</dc:date>
    </item>
    <item>
      <title>Re: SPI no data transfer in S32K344_T172 MBDT example project</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/SPI-no-data-transfer-in-S32K344-T172-MBDT-example-project/m-p/2060456#M10118</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/225358"&gt;@ErwinR&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The problem with that pin &lt;STRONG&gt;PTB9&lt;/STRONG&gt; is that is also connected to &lt;STRONG&gt;LIN1_RX&lt;/STRONG&gt; as in schematic:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="s32k3xx_spi_async_interr_s32ct_PTB9.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/327726iDEA289FC464706BB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="s32k3xx_spi_async_interr_s32ct_PTB9.png" alt="s32k3xx_spi_async_interr_s32ct_PTB9.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; This way the pin PTB9 is connected to LIN1_RX that goes to the TJA1022T:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="s32k3xx_spi_async_interr_s32ct_TJA1022T.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/327727iE66DA05AEF143816/image-size/medium?v=v2&amp;amp;px=400" role="button" title="s32k3xx_spi_async_interr_s32ct_TJA1022T.png" alt="s32k3xx_spi_async_interr_s32ct_TJA1022T.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;This might act like a voltage divider because of the R363 10kOhm pull-up.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I was also testing another LPSPI instance for the Master instance, my advice is to change &lt;STRONG&gt;PTB9&lt;/STRONG&gt; pin with &lt;STRONG&gt;PTE25&lt;/STRONG&gt;, that is free, with no other connections on the board:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="s32k3xx_spi_async_interr_s32ct_PTE25.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/327729i356B02FB4AC0BC9E/image-size/large?v=v2&amp;amp;px=999" role="button" title="s32k3xx_spi_async_interr_s32ct_PTE25.png" alt="s32k3xx_spi_async_interr_s32ct_PTE25.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me know if it works with &lt;STRONG&gt;PTE25&lt;/STRONG&gt;,&lt;/P&gt;
&lt;P&gt;Stefan V.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Mar 2025 12:52:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/SPI-no-data-transfer-in-S32K344-T172-MBDT-example-project/m-p/2060456#M10118</guid>
      <dc:creator>stefanvlad</dc:creator>
      <dc:date>2025-03-12T12:52:16Z</dc:date>
    </item>
    <item>
      <title>Re: SPI no data transfer in S32K344_T172 MBDT example project</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/SPI-no-data-transfer-in-S32K344-T172-MBDT-example-project/m-p/2060489#M10120</link>
      <description>&lt;P&gt;Everything works now. Thank You for the help!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="freemaster.jpg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/327745i45081F9CC84704F7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="freemaster.jpg" alt="freemaster.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Mar 2025 13:27:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/SPI-no-data-transfer-in-S32K344-T172-MBDT-example-project/m-p/2060489#M10120</guid>
      <dc:creator>ErwinR</dc:creator>
      <dc:date>2025-03-12T13:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: SPI no data transfer in S32K344_T172 MBDT example project</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/SPI-no-data-transfer-in-S32K344-T172-MBDT-example-project/m-p/2060574#M10122</link>
      <description>&lt;P&gt;You're welcome, glad to help &lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/P&gt;
&lt;P&gt;Stefan V.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Mar 2025 15:40:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/SPI-no-data-transfer-in-S32K344-T172-MBDT-example-project/m-p/2060574#M10122</guid>
      <dc:creator>stefanvlad</dc:creator>
      <dc:date>2025-03-12T15:40:19Z</dc:date>
    </item>
  </channel>
</rss>

