<?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: MBDT - CAN on S32K144EVB in Model-Based Design Toolbox (MBDT)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/MBDT-CAN-on-S32K144EVB/m-p/825945#M2592</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Thank you for your response and for the example.&lt;/P&gt;&lt;P&gt;Your example works fine and thank to it I think I've found the error I made on my own model.&lt;/P&gt;&lt;P&gt;I think that the reception of the second frame was not done because of a bad setting of the&amp;nbsp;"FCAN_Receive" block.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Arthur&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Nov 2018 09:38:34 GMT</pubDate>
    <dc:creator>arthur_lubat_ex</dc:creator>
    <dc:date>2018-11-15T09:38:34Z</dc:date>
    <item>
      <title>MBDT - CAN on S32K144EVB</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/MBDT-CAN-on-S32K144EVB/m-p/825943#M2590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;I am currently trying to make a model with MBDT for a S32K144 EVB. On this model I need to receive 2 CAN messages on the CAN 0 channel (ID 1D7 and 1D8). These two messages are emitted one after another every 20ms.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem I have is I don’t manage to receive both messages on the board (Although I manage to read 1 message by doing something similar&amp;nbsp;to the example “&lt;STRONG&gt;How to Build and Configure a CAN with S32K to Emulate Automotive Body Control Infrastructure&lt;/STRONG&gt; “ - &lt;A _jive_internal="true" href="https://community.nxp.com/thread/465130"&gt;https://community.nxp.com/thread/465130&lt;/A&gt; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you give me an example of a model able to read two CAN messages? Shall I use the RxFIFO option? If yes can you give me some &amp;nbsp;information on how to set the “FCAN_Isr” and “FCAN_Config” blocks to make it work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks by advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Arthur&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2018 15:57:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/MBDT-CAN-on-S32K144EVB/m-p/825943#M2590</guid>
      <dc:creator>arthur_lubat_ex</dc:creator>
      <dc:date>2018-11-12T15:57:19Z</dc:date>
    </item>
    <item>
      <title>Re: MBDT - CAN on S32K144EVB</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/MBDT-CAN-on-S32K144EVB/m-p/825944#M2591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/arthur.lubat.ext@valeo.com"&gt;arthur.lubat.ext@valeo.com&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First of all, what version of the toolbox are you using? Our latest available for S32K14x is 2018.R1 available &lt;A href="https://www.nxp.com/support/developer-resources/run-time-software/automotive-software-and-tools/model-based-design-toolbox:MC_TOOLBOX?tab=Design_Tools_Tab"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Secondly, I have attached here a basic example that receives messages (with ids 1D7 and 1D8) and, on Rx Complete event, triggers a subsystem that toggles the RED LED and echoes back the data you've sent.&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;STRONG&gt;Example&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;Send &lt;SPAN style="color: #0000ff;"&gt;&lt;EM&gt;AABBCCDD&lt;/EM&gt;&lt;/SPAN&gt; data with id &lt;SPAN style="color: #008000;"&gt;&lt;EM&gt;1D7&lt;/EM&gt;&lt;/SPAN&gt; - the &lt;SPAN style="color: #ff0000;"&gt;RED&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;LED&lt;/SPAN&gt; toggles + message &lt;SPAN style="color: #0000ff;"&gt;&lt;EM&gt;AABBCCDD&lt;/EM&gt;&lt;/SPAN&gt; is sent with id &lt;EM style="color: #008000;"&gt;3FF&lt;/EM&gt; back. The same happens for id &lt;EM style="color: #008000;"&gt;1D8&lt;/EM&gt;. I have a switch/case grouped by ID. I think this can be a good starting point for what you were asking. I'm not sure what the problem was with your approach, but let me know if this model attached here works for you.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Razvan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Nov 2018 14:58:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/MBDT-CAN-on-S32K144EVB/m-p/825944#M2591</guid>
      <dc:creator>constantinrazva</dc:creator>
      <dc:date>2018-11-14T14:58:11Z</dc:date>
    </item>
    <item>
      <title>Re: MBDT - CAN on S32K144EVB</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/MBDT-CAN-on-S32K144EVB/m-p/825945#M2592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Thank you for your response and for the example.&lt;/P&gt;&lt;P&gt;Your example works fine and thank to it I think I've found the error I made on my own model.&lt;/P&gt;&lt;P&gt;I think that the reception of the second frame was not done because of a bad setting of the&amp;nbsp;"FCAN_Receive" block.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Arthur&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Nov 2018 09:38:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/MBDT-CAN-on-S32K144EVB/m-p/825945#M2592</guid>
      <dc:creator>arthur_lubat_ex</dc:creator>
      <dc:date>2018-11-15T09:38:34Z</dc:date>
    </item>
    <item>
      <title>Re: MBDT - CAN on S32K144EVB</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/MBDT-CAN-on-S32K144EVB/m-p/825946#M2593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;@&lt;SPAN class=""&gt;&lt;A _jive_internal="true" data-userid="298737" data-username="constantinrazvan.chivu" href="https://community.nxp.com/people/constantinrazvan.chivu"&gt;Constantin Razvan Chivu&lt;/A&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I has the same problem that was can't receiving multi-CAN ID message with one channel. I reference your example model but it was still can't working. Could you give me some recommend? My platform is NXP S32K144 EVM with Matlab R2019b, NXP_MBDToolbox_S32K1xx ver4.1.0 and NXP Support Package S32K1xx ver2.1.0. My model put on the below attached thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jan 2020 01:51:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/MBDT-CAN-on-S32K144EVB/m-p/825946#M2593</guid>
      <dc:creator>oscar_cheng1103</dc:creator>
      <dc:date>2020-01-13T01:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: MBDT - CAN on S32K144EVB</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/MBDT-CAN-on-S32K144EVB/m-p/825947#M2594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Razvzn,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I thinks I have resolved the problem. The reason is Message Buffer(MB) setting error. I setting input message use the same MB number, so it always just only one message can be received. More information about Message Buffer(MB) parameter can reference Multiple CAN ID via CAN0 MPC5744P&amp;nbsp; topic in NXP community, thanks!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2020 09:06:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/MBDT-CAN-on-S32K144EVB/m-p/825947#M2594</guid>
      <dc:creator>oscar_cheng1103</dc:creator>
      <dc:date>2020-01-14T09:06:22Z</dc:date>
    </item>
  </channel>
</rss>

