<?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)中的主题 S32K144 Board Functional Questions</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-Board-Functional-Questions/m-p/857258#M2770</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a couple of questions regarding the board.&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) I have noticed recently that while using FreeMaster I will occasionally get some fields with really large values, when I am expecting a small number such as a&amp;nbsp;control state, has anyone seen this before? Could it be because I have too many memory blocks and there is overflow?&lt;/P&gt;&lt;P&gt;2) Every time that I receive a new CAN message it looks like an ISR runs, does this mean that my control loop will be interrupted due to this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance, any insight would be greatly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Feb 2019 06:03:13 GMT</pubDate>
    <dc:creator>fernando_barrio</dc:creator>
    <dc:date>2019-02-12T06:03:13Z</dc:date>
    <item>
      <title>S32K144 Board Functional Questions</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-Board-Functional-Questions/m-p/857258#M2770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a couple of questions regarding the board.&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) I have noticed recently that while using FreeMaster I will occasionally get some fields with really large values, when I am expecting a small number such as a&amp;nbsp;control state, has anyone seen this before? Could it be because I have too many memory blocks and there is overflow?&lt;/P&gt;&lt;P&gt;2) Every time that I receive a new CAN message it looks like an ISR runs, does this mean that my control loop will be interrupted due to this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance, any insight would be greatly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2019 06:03:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-Board-Functional-Questions/m-p/857258#M2770</guid>
      <dc:creator>fernando_barrio</dc:creator>
      <dc:date>2019-02-12T06:03:13Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 Board Functional Questions</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-Board-Functional-Questions/m-p/857259#M2771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Fernando,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Could it be because I have too many memory blocks and there is overflow?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;That should not happen. Have you tried to use the RECORDER to capture the data and check if the issue is still present? It might be something in your program - an overflow ???&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you using the same data type in the FreeMASTER as the variable type in Simulink ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;2) Every time that I receive a new CAN message it looks like an ISR runs, does this mean that my control loop will be interrupted due to this?&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Depends on the relative priorities you have set in Simulink blocks. If you want to be absolutely sure that your control loop is not interrupted, then you could add a custom code block to disable all the interrupts while your control loop executes and re-enable those at the end of control loop processing. You can have a look at the SDK functions and disable the interrupts you might be interested to avoid.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2019 08:05:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-Board-Functional-Questions/m-p/857259#M2771</guid>
      <dc:creator>Daniel_Popa</dc:creator>
      <dc:date>2019-02-13T08:05:33Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 Board Functional Questions</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-Board-Functional-Questions/m-p/857260#M2772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You were right it was a data type problem, it was just not being represented correctly in FreeMaster. I will also try&amp;nbsp;your suggestion for the CAN ISR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help,&lt;/P&gt;&lt;P&gt;Fernando&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2019 18:07:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-Board-Functional-Questions/m-p/857260#M2772</guid>
      <dc:creator>fernando_barrio</dc:creator>
      <dc:date>2019-02-20T18:07:42Z</dc:date>
    </item>
  </channel>
</rss>

