<?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)中的主题 MBD TOOLS :S32K144 SPI interface application problem</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/MBD-TOOLS-S32K144-SPI-interface-application-problem/m-p/1192894#M5451</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;There is a SPI interface application problem. When I send an array with the following structure, the configuration of SPI is as shown in the figure below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="liuqimin_0-1606975801570.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/131623i48418280EA17D00B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="liuqimin_0-1606975801570.png" alt="liuqimin_0-1606975801570.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="liuqimin_1-1606975828577.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/131624iFC2615C1C622E469/image-size/medium?v=v2&amp;amp;px=400" role="button" title="liuqimin_1-1606975828577.png" alt="liuqimin_1-1606975828577.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;In this case, is the sending order of the array 0-&amp;gt;1? Another question is: Will the SPI interface automatically stop sending after the array is sent?&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;My application needs to stop immediately after sending an array and wait for another array to be sent.&lt;/P&gt;&lt;P&gt;&amp;nbsp;Best Regards!&lt;/P&gt;&lt;P&gt;&amp;nbsp;Qimin Liu&lt;/P&gt;</description>
    <pubDate>Thu, 03 Dec 2020 06:15:04 GMT</pubDate>
    <dc:creator>liuqimin</dc:creator>
    <dc:date>2020-12-03T06:15:04Z</dc:date>
    <item>
      <title>MBD TOOLS :S32K144 SPI interface application problem</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/MBD-TOOLS-S32K144-SPI-interface-application-problem/m-p/1192894#M5451</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;There is a SPI interface application problem. When I send an array with the following structure, the configuration of SPI is as shown in the figure below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="liuqimin_0-1606975801570.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/131623i48418280EA17D00B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="liuqimin_0-1606975801570.png" alt="liuqimin_0-1606975801570.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="liuqimin_1-1606975828577.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/131624iFC2615C1C622E469/image-size/medium?v=v2&amp;amp;px=400" role="button" title="liuqimin_1-1606975828577.png" alt="liuqimin_1-1606975828577.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;In this case, is the sending order of the array 0-&amp;gt;1? Another question is: Will the SPI interface automatically stop sending after the array is sent?&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;My application needs to stop immediately after sending an array and wait for another array to be sent.&lt;/P&gt;&lt;P&gt;&amp;nbsp;Best Regards!&lt;/P&gt;&lt;P&gt;&amp;nbsp;Qimin Liu&lt;/P&gt;</description>
      <pubDate>Thu, 03 Dec 2020 06:15:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/MBD-TOOLS-S32K144-SPI-interface-application-problem/m-p/1192894#M5451</guid>
      <dc:creator>liuqimin</dc:creator>
      <dc:date>2020-12-03T06:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: MBD TOOLS :S32K144 SPI interface application problem</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/MBD-TOOLS-S32K144-SPI-interface-application-problem/m-p/1193166#M5452</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/162619"&gt;@liuqimin&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The sending order is 0 1 2 3 4, I have replicated your mentioned scenario and had a look on the bus with a logic analyzer.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mariuslucianand_1-1606992906151.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/131683i9E76F2923DBFA0E8/image-size/large?v=v2&amp;amp;px=999" role="button" title="mariuslucianand_1-1606992906151.png" alt="mariuslucianand_1-1606992906151.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="mariuslucianand_2-1606993067159.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/131684i19328814101906DA/image-size/large?v=v2&amp;amp;px=999" role="button" title="mariuslucianand_2-1606993067159.png" alt="mariuslucianand_2-1606993067159.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The SPI will send the uint8_t array and then stop, as you can see in the previous screenshot. You have selected the Continous transfer option, so the CS pin is set low at the beginning of the transfer and set high at the end.&lt;/P&gt;
&lt;P&gt;Also, I've noticed that the data type of your transferred variables is double, so please check to be uint8.&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;/P&gt;
&lt;P&gt;Marius&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Dec 2020 10:59:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/MBD-TOOLS-S32K144-SPI-interface-application-problem/m-p/1193166#M5452</guid>
      <dc:creator>mariuslucianand</dc:creator>
      <dc:date>2020-12-03T10:59:40Z</dc:date>
    </item>
    <item>
      <title>Re: MBD TOOLS :S32K144 SPI interface application problem</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/MBD-TOOLS-S32K144-SPI-interface-application-problem/m-p/1193199#M5453</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&amp;nbsp;Marius &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Thanks for your reply. &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; This state is exactly what I need. &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; If the SPI interface is connected to the back of a finite state machine, and the state machine modifies this array from time to time, can the SPI interface be sent correctly? The actual connection is as shown below. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="liuqimin_0-1606997481385.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/131689i96026AABD1FAF240/image-size/medium?v=v2&amp;amp;px=400" role="button" title="liuqimin_0-1606997481385.png" alt="liuqimin_0-1606997481385.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; The previous picture is just an example, the actual data sent is in uint8 format, thank you for your reminder &amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards! &amp;nbsp;&lt;/P&gt;&lt;P&gt;Qimin Liu&lt;/P&gt;</description>
      <pubDate>Thu, 03 Dec 2020 12:14:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/MBD-TOOLS-S32K144-SPI-interface-application-problem/m-p/1193199#M5453</guid>
      <dc:creator>liuqimin</dc:creator>
      <dc:date>2020-12-03T12:14:14Z</dc:date>
    </item>
  </channel>
</rss>

