<?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)のトピックMBDT: Can't update SPI message using StateFlow</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/MBDT-Can-t-update-SPI-message-using-StateFlow/m-p/1599133#M8026</link>
    <description>&lt;P&gt;I'm working with the MPC5744P and trying out Stateflow in addition to the required #MBDT&amp;nbsp;software. I'm interfacing with an SPI module and trying a sequence of steps to confirm proper communication and that a register write did in fact complete. It looks really nice in stateflow, but I couldn't get the input/output data to take effect on the SPI message. When I built a if statement version it seems to be working. It's not as pretty though, so I really hope I'm just missing something. Attached are screenshots of my working and non-working versions of the same code.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="top_level.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/210904i869D032380266E72/image-size/medium?v=v2&amp;amp;px=400" role="button" title="top_level.png" alt="top_level.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;^ Top level&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="working_SPI.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/210905iCCE6E8B445507649/image-size/medium?v=v2&amp;amp;px=400" role="button" title="working_SPI.png" alt="working_SPI.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;^ Working SPI trigger&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="non_working_SPI.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/210906i3FC306D8049FA922/image-size/medium?v=v2&amp;amp;px=400" role="button" title="non_working_SPI.png" alt="non_working_SPI.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;^ Non working SPI trigger &lt;/P&gt;</description>
    <pubDate>Tue, 14 Feb 2023 23:08:14 GMT</pubDate>
    <dc:creator>DN_at_Rix</dc:creator>
    <dc:date>2023-02-14T23:08:14Z</dc:date>
    <item>
      <title>MBDT: Can't update SPI message using StateFlow</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/MBDT-Can-t-update-SPI-message-using-StateFlow/m-p/1599133#M8026</link>
      <description>&lt;P&gt;I'm working with the MPC5744P and trying out Stateflow in addition to the required #MBDT&amp;nbsp;software. I'm interfacing with an SPI module and trying a sequence of steps to confirm proper communication and that a register write did in fact complete. It looks really nice in stateflow, but I couldn't get the input/output data to take effect on the SPI message. When I built a if statement version it seems to be working. It's not as pretty though, so I really hope I'm just missing something. Attached are screenshots of my working and non-working versions of the same code.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="top_level.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/210904i869D032380266E72/image-size/medium?v=v2&amp;amp;px=400" role="button" title="top_level.png" alt="top_level.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;^ Top level&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="working_SPI.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/210905iCCE6E8B445507649/image-size/medium?v=v2&amp;amp;px=400" role="button" title="working_SPI.png" alt="working_SPI.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;^ Working SPI trigger&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="non_working_SPI.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/210906i3FC306D8049FA922/image-size/medium?v=v2&amp;amp;px=400" role="button" title="non_working_SPI.png" alt="non_working_SPI.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;^ Non working SPI trigger &lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2023 23:08:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/MBDT-Can-t-update-SPI-message-using-StateFlow/m-p/1599133#M8026</guid>
      <dc:creator>DN_at_Rix</dc:creator>
      <dc:date>2023-02-14T23:08:14Z</dc:date>
    </item>
  </channel>
</rss>

