<?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: S32K144 Model-Base CAN RX mask in Model-Based Design Toolbox (MBDT)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-Model-Base-CAN-RX-mask/m-p/861907#M2818</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It didnt work, this is the error message while compiling:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;\NXP_MBDToolbox_S32K1xx\code\mbdtbx_s32k14x\mbdtbx_s32k14x\blocks\fcan\fcan_s32k14_receive.tlc Line: 61 Column: 28&lt;BR /&gt;Values of NULL type cannot be expanded&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Mar 2019 16:56:20 GMT</pubDate>
    <dc:creator>vinicius_olivei</dc:creator>
    <dc:date>2019-03-28T16:56:20Z</dc:date>
    <item>
      <title>S32K144 Model-Base CAN RX mask</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-Model-Base-CAN-RX-mask/m-p/861903#M2814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to configure CAN RX with Model-Base S32K144 to receive CAN Ext ID &lt;STRONG&gt;0x1CEC&lt;/STRONG&gt;&lt;EM&gt;XXXX.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I did the configuration for masking as the picture follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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/78050i415F854F376625DB/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I could receive all IDs that starts with 0x1CEC, but when I debug the model I can see it only accepts 0x1CEC0000, and for example not 0x1CECA232.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is the masking configuration right? Could someone give me some hints?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Mar 2019 15:00:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-Model-Base-CAN-RX-mask/m-p/861903#M2814</guid>
      <dc:creator>vinicius_olivei</dc:creator>
      <dc:date>2019-03-28T15:00:41Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 Model-Base CAN RX mask</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-Model-Base-CAN-RX-mask/m-p/861904#M2815</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/vinicius.oliveira@enfas.de"&gt;vinicius.oliveira@enfas.de&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The masking configuration is correct, I will take a look and come back soon with a solution for this problem.&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>Thu, 28 Mar 2019 16:31:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-Model-Base-CAN-RX-mask/m-p/861904#M2815</guid>
      <dc:creator>constantinrazva</dc:creator>
      <dc:date>2019-03-28T16:31:06Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 Model-Base CAN RX mask</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-Model-Base-CAN-RX-mask/m-p/861905#M2816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the fast response &lt;STRONG class=""&gt;&lt;SPAN class=""&gt;Razvan.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;This is how the code looks like:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&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/78408iD9EB4D5DCD432A26/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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Mar 2019 16:37:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-Model-Base-CAN-RX-mask/m-p/861905#M2816</guid>
      <dc:creator>vinicius_olivei</dc:creator>
      <dc:date>2019-03-28T16:37:42Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 Model-Base CAN RX mask</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-Model-Base-CAN-RX-mask/m-p/861906#M2817</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/vinicius.oliveira@enfas.de"&gt;vinicius.oliveira@enfas.de&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have come to the same conclusion and I made the changes necessary. Please replace the following file with the one attached here:&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;/P&gt;{ROOT_DIR}\mbdtbx_s32k14x\mbdtbx_s32k14x\blocks\fcan\fcan_s32k14_receive.tlc&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you confirm that with this fix everything is working?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S.: Thank you for pointing it out and for your advice on the matter. We will be posting it on the&amp;nbsp;&lt;A href="https://community.nxp.com/thread/489947"&gt;https://community.nxp.com/thread/489947&lt;/A&gt;&amp;nbsp;page, in our cumulative patch after we get your feedback and we make some tests internally.&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>Thu, 28 Mar 2019 16:40:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-Model-Base-CAN-RX-mask/m-p/861906#M2817</guid>
      <dc:creator>constantinrazva</dc:creator>
      <dc:date>2019-03-28T16:40:53Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 Model-Base CAN RX mask</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-Model-Base-CAN-RX-mask/m-p/861907#M2818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It didnt work, this is the error message while compiling:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;\NXP_MBDToolbox_S32K1xx\code\mbdtbx_s32k14x\mbdtbx_s32k14x\blocks\fcan\fcan_s32k14_receive.tlc Line: 61 Column: 28&lt;BR /&gt;Values of NULL type cannot be expanded&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Mar 2019 16:56:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-Model-Base-CAN-RX-mask/m-p/861907#M2818</guid>
      <dc:creator>vinicius_olivei</dc:creator>
      <dc:date>2019-03-28T16:56:20Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 Model-Base CAN RX mask</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-Model-Base-CAN-RX-mask/m-p/861908#M2819</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/vinicius.oliveira@enfas.de"&gt;vinicius.oliveira@enfas.de&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry, I had the fix made for another version. I have attached the file here for the version you have.&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>Thu, 28 Mar 2019 17:10:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-Model-Base-CAN-RX-mask/m-p/861908#M2819</guid>
      <dc:creator>constantinrazva</dc:creator>
      <dc:date>2019-03-28T17:10:49Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 Model-Base CAN RX mask</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-Model-Base-CAN-RX-mask/m-p/861909#M2820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Now it complies and flash.&lt;/P&gt;&lt;P&gt;I can see the difference in the code:&lt;/P&gt;&lt;P&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/78826iAE4502DB0A8DD357/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, the issue is the same, if I send 0x1CEC1234 for example it does not recognize it, sending 0x1CEC0000 the global RX_DATA variable is updated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 4 global variables that update its value when any CAN message is received (ID, DATA, LENGTH and TIMESTAMP) and I check this with FREEMaster.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Mar 2019 17:23:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-Model-Base-CAN-RX-mask/m-p/861909#M2820</guid>
      <dc:creator>vinicius_olivei</dc:creator>
      <dc:date>2019-03-28T17:23:06Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 Model-Base CAN RX mask</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-Model-Base-CAN-RX-mask/m-p/861910#M2821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi @&lt;SPAN class=""&gt;&lt;A _jive_internal="true" class="" data-content-finding="Community" data-userid="298737" data-username="constantinrazvan.chivu" href="https://community.nxp.com/people/constantinrazvan.chivu"&gt;Constantin Razvan Chivu&lt;/A&gt; &lt;span class="lia-inline-image-display-wrapper" image-alt="Mitarbeiter"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/123579i52F93C7E6F6B6690/image-size/large?v=v2&amp;amp;px=999" role="button" title="Mitarbeiter" alt="Mitarbeiter" /&gt;&lt;/span&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any work around for this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Apr 2019 13:10:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-Model-Base-CAN-RX-mask/m-p/861910#M2821</guid>
      <dc:creator>vinicius_olivei</dc:creator>
      <dc:date>2019-04-03T13:10:49Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 Model-Base CAN RX mask</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-Model-Base-CAN-RX-mask/m-p/861911#M2822</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/vinicius.oliveira@enfas.de"&gt;vinicius.oliveira@enfas.de&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for the delayed answer, I was caught up with other stuff, but I'm now looking at this issue. I'll probably get back to you tomorrow with my findings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your patience,&lt;/P&gt;&lt;P&gt;Razvan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Apr 2019 13:15:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-Model-Base-CAN-RX-mask/m-p/861911#M2822</guid>
      <dc:creator>constantinrazva</dc:creator>
      <dc:date>2019-04-03T13:15:52Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 Model-Base CAN RX mask</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-Model-Base-CAN-RX-mask/m-p/861912#M2823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello again &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/vinicius.oliveira@enfas.de"&gt;vinicius.oliveira@enfas.de&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have found the culprit - the global Rx mask was set by default 0xFFFFFFFF; so even after setting the individual Rx mask of the MB you wanted to use to 0xFFFF0000, the global mask still overwrites it - after changing this mask, your use-case worked on my end.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Later edit:&lt;/EM&gt; The problem is with MCR[IRMQ] - individual rx masking and queue enable bit. This controlls if individual rx masking and queue features are enabled or disabled. I have updated the file attached by calling&amp;nbsp;FLEXCAN_DRV_SetRxMaskType function to set Rx masking to individual.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find attached here the tlc-file you need to update:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;{ROOT_DIR}\mbdtbx_s32k14x\mbdtbx_s32k14x\blocks\fcan\fcan_s32k14_receive.tlc&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please confirm that everything works on your end too.&lt;/P&gt;&lt;P&gt;Thank you for posting this bug with details - that was helpful!&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, 03 Apr 2019 14:45:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-Model-Base-CAN-RX-mask/m-p/861912#M2823</guid>
      <dc:creator>constantinrazva</dc:creator>
      <dc:date>2019-04-03T14:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 Model-Base CAN RX mask</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-Model-Base-CAN-RX-mask/m-p/861913#M2824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi @&lt;SPAN class=""&gt;&lt;A _jive_internal="true" class="" data-containerid="-1" data-containertype="-1" data-content-finding="Community" data-objectid="298737" data-objecttype="3" href="https://community.nxp.com/people/constantinrazvan.chivu"&gt;Constantin Razvan Chivu&lt;/A&gt; &lt;span class="lia-inline-image-display-wrapper" image-alt="Mitarbeiter"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/123580iBCDA910DDF079E21/image-size/large?v=v2&amp;amp;px=999" role="button" title="Mitarbeiter" alt="Mitarbeiter" /&gt;&lt;/span&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Works like charm :smileyhappy:.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Thank you for your support in this issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Vinicius Oliveira.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Apr 2019 07:26:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-Model-Base-CAN-RX-mask/m-p/861913#M2824</guid>
      <dc:creator>vinicius_olivei</dc:creator>
      <dc:date>2019-04-04T07:26:10Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 Model-Base CAN RX mask</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-Model-Base-CAN-RX-mask/m-p/861914#M2825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are welcome &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/vinicius.oliveira@enfas.de"&gt;vinicius.oliveira@enfas.de&lt;/A&gt;‌!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will update our hotfixes patch for S32K available here&amp;nbsp;&lt;A _jive_internal="true" href="https://community.nxp.com/thread/489947#comment-1106251"&gt;https://community.nxp.com/thread/489947#comment-1106251&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you again for reporting this issue!&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>Thu, 04 Apr 2019 07:53:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-Model-Base-CAN-RX-mask/m-p/861914#M2825</guid>
      <dc:creator>constantinrazva</dc:creator>
      <dc:date>2019-04-04T07:53:07Z</dc:date>
    </item>
  </channel>
</rss>

