<?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: S32K144 MBD CAN configuration</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-MBD-CAN-configuration/m-p/1053783#M4449</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have the same question. i don't know how to have a correct configuration to receive multiple messages from different IDs. The examples i find in MBDT can only receive messages from the same ID, what if I have a huge number of messages from different IDs on the same bus?&amp;nbsp;&lt;BR /&gt;And if i receive and send multiple messages, i don't know how distribute interrupt timer.&lt;/P&gt;&lt;P&gt;really want to get some examples!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Aug 2020 07:58:46 GMT</pubDate>
    <dc:creator>bearman_m</dc:creator>
    <dc:date>2020-08-03T07:58:46Z</dc:date>
    <item>
      <title>S32K144 MBD CAN configuration</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-MBD-CAN-configuration/m-p/1053782#M4448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Based on S32K144, how&amp;nbsp;to configure the CAN on Simulink/Matlab in order that we can recieve a few（not one）messages? Is there any examples?&lt;/P&gt;&lt;P&gt;Thanks for your answer!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Aug 2020 00:21:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-MBD-CAN-configuration/m-p/1053782#M4448</guid>
      <dc:creator>1750632</dc:creator>
      <dc:date>2020-08-03T00:21:23Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 MBD CAN configuration</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-MBD-CAN-configuration/m-p/1053783#M4449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have the same question. i don't know how to have a correct configuration to receive multiple messages from different IDs. The examples i find in MBDT can only receive messages from the same ID, what if I have a huge number of messages from different IDs on the same bus?&amp;nbsp;&lt;BR /&gt;And if i receive and send multiple messages, i don't know how distribute interrupt timer.&lt;/P&gt;&lt;P&gt;really want to get some examples!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Aug 2020 07:58:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-MBD-CAN-configuration/m-p/1053783#M4449</guid>
      <dc:creator>bearman_m</dc:creator>
      <dc:date>2020-08-03T07:58:46Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 MBD CAN configuration</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-MBD-CAN-configuration/m-p/1053784#M4450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&amp;nbsp;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/1750632@tongji.edu.cn"&gt;1750632@tongji.edu.cn&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would suggest you watch&amp;nbsp;&lt;A class="link-titled" href="https://www.nxp.com/design/training/introducing-the-can-communication-blocks-from-nxp-mbdt:TIP-INTRODUCING-THE-CAN-COMMUNICATION-BLOCKS" title="https://www.nxp.com/design/training/introducing-the-can-communication-blocks-from-nxp-mbdt:TIP-INTRODUCING-THE-CAN-COMMUNICATION-BLOCKS"&gt;Introducing the CAN Communication Blocks from NXP MBDT | NXP&lt;/A&gt;&amp;nbsp;video - you can skip the first part as it mainly talks about how CAN was introduced and how the protocol works; after that it goes through some examples.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mainly what you'll want to do is set-up the acceptance filter - this means that in the receive block, you'll set-up the ID and mask so that it fits your acceptance criteria (the range of IDs you want to accept).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works like this:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;(ID &amp;amp; mask) == (incoming_ID &amp;amp; mask) ?&amp;nbsp;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Where ID and mask&amp;nbsp;are the ones you set-up in the Simulink block and incoming_ID is the ID of the message on the bus. To put it simpler, you just have to put a '1' bit in the mask on the position where you want the incoming_ID to match the ID, and '0' bit where you don't really care what bit is there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this clarifies things a bit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Razvan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Aug 2020 08:07:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-MBD-CAN-configuration/m-p/1053784#M4450</guid>
      <dc:creator>constantinrazva</dc:creator>
      <dc:date>2020-08-03T08:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 MBD CAN configuration</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-MBD-CAN-configuration/m-p/1053785#M4451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&amp;nbsp;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/bearman.m"&gt;bearman.m&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope the reply I put earlier clarifies how to set-up the CAN to get an entire range of IDs. I would suggest you watch the same video (&lt;A class="link-titled" href="https://www.nxp.com/design/training/introducing-the-can-communication-blocks-from-nxp-mbdt:TIP-INTRODUCING-THE-CAN-COMMUNICATION-BLOCKS" title="https://www.nxp.com/design/training/introducing-the-can-communication-blocks-from-nxp-mbdt:TIP-INTRODUCING-THE-CAN-COMMUNICATION-BLOCKS"&gt;Introducing the CAN Communication Blocks from NXP MBDT | NXP&lt;/A&gt;&amp;nbsp;) - there it shows some examples for setting up the range.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As for the interrupt timer, I'm not really sure I understand your question. We have support for interrupt timers in the form of PIT blocks. There you can set-up the timers to give you an interrupt over a certain period (user-defined). The number of such independent interrupts is dependent on the number of channels available on the MCU you are using. You could get to a higher number, but with a bit of software involved (not pure hardware interrupts).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe give me an example on what you are trying to achieve so I understand a little better what you are having issues with.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Razvan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Aug 2020 08:12:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-MBD-CAN-configuration/m-p/1053785#M4451</guid>
      <dc:creator>constantinrazva</dc:creator>
      <dc:date>2020-08-03T08:12:23Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 MBD CAN configuration</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-MBD-CAN-configuration/m-p/1053786#M4452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Razvan,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;I am honored to receive your reply. I want to receive messages from two different IDs and i want to send with two different IDs for what we have received. i cant find the way to give you my file. i will put some photos.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/109289i7BAE5A6AD4563601/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;1.In the Tx part's function-call subsystem:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/109319i13B9B6AFEE2AFBA4/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;1.1 in the FCAN_Isr's&amp;nbsp;&lt;SPAN&gt;function-call subsystem:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/109367i390055654DCC51DA/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;in the case action, we have two LED to toggle so we can know that we have received the messages, and&amp;nbsp; we save these received data to 2 memory blocks and them send them with two differet IDs.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;2.In the TX part's&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;function-call subsystem:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff; "&gt;we use two blocking TX parts to send these two kinds of messages.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff; "&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/109290i8056D28190CCC4BA/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The situation we encountered is that:&lt;/P&gt;&lt;P&gt;1. If we delete the whole "Tx parts", we can observe that the LEDs defined in 1.1 are Flashing, thus we konw that the MCU received the mesaages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. If we dont delete the "Tx parts", we can oberve that the MCU sents the 2 messages defind in 2., but LEDs are not flashing and the truth is , MCU can not receive messages any more.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are new to MBDT and this kind of MCU.&lt;/P&gt;&lt;P&gt;I don’t know if what configuration caused this result, so I’m confused. Hope you can help me, thank you very much&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Aug 2020 08:50:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-MBD-CAN-configuration/m-p/1053786#M4452</guid>
      <dc:creator>bearman_m</dc:creator>
      <dc:date>2020-08-03T08:50:36Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 MBD CAN configuration</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-MBD-CAN-configuration/m-p/1053787#M4453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&amp;nbsp;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/bearman.m"&gt;bearman.m&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would apreciate if you could send the model -- easier to follow than in the images. Can you select different message buffers (MB) for every block and see if you still have issues?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Razvan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Aug 2020 13:30:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-MBD-CAN-configuration/m-p/1053787#M4453</guid>
      <dc:creator>constantinrazva</dc:creator>
      <dc:date>2020-08-03T13:30:31Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 MBD CAN configuration</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-MBD-CAN-configuration/m-p/1053788#M4454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had a try about that. It's useful to solve the problem. So I want to know the meaning of the "buffer". And what should we do if the number of messages is more than that of the buffers(add up to 32) ?&lt;/P&gt;&lt;P&gt;Thank you again!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Aug 2020 13:54:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-MBD-CAN-configuration/m-p/1053788#M4454</guid>
      <dc:creator>1750632</dc:creator>
      <dc:date>2020-08-03T13:54:17Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 MBD CAN configuration</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-MBD-CAN-configuration/m-p/1053789#M4455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&amp;nbsp;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/1750632@tongji.edu.cn"&gt;1750632@tongji.edu.cn&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First of all, for each MB used you can select an entire range of messages - so you can map any amount of IDs to 1 MB. In the unlikely scenario where you have more than 32 ranges selected, you can multiplex a MB as long as you are careful in regard to the timing - you should make sure 1 operation is fully finished before the next one starts; otherwise it will just abort the first one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to read more about message buffers, you can check the reference manual for S32K1xx, in chapter&amp;nbsp;53.4.3 Message buffer structure and&amp;nbsp;53.5 Functional description.&lt;/P&gt;&lt;P&gt;&lt;/P&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, 05 Aug 2020 07:12:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-MBD-CAN-configuration/m-p/1053789#M4455</guid>
      <dc:creator>constantinrazva</dc:creator>
      <dc:date>2020-08-05T07:12:51Z</dc:date>
    </item>
  </channel>
</rss>

