<?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>S32K中的主题 Re: Autosar - Setting acceptance code and mask at runtime</title>
    <link>https://community.nxp.com/t5/S32K/Autosar-Setting-acceptance-code-and-mask-at-runtime/m-p/1432615#M14570</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/195919"&gt;@cuongnguyenphu&lt;/a&gt;&amp;nbsp;!&lt;/P&gt;&lt;P&gt;Thanks for your feedback. I understand your answer. You suggest to create 2 or more variants to have the choice of the CAN parameter.&lt;/P&gt;&lt;P&gt;Today,&amp;nbsp; I just need to change the acceptance code and mask filter. Does it mean creating a complete configuration just for this 2 parameters ? My SW manages 30 or more acceptance code/ mask filter configuration, so I'll need 30+ functionnal groups. And what happen if I need to change 1 commun parameter ? do I have to update all 30+ configurations ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 23 Mar 2022 13:25:27 GMT</pubDate>
    <dc:creator>BeCy</dc:creator>
    <dc:date>2022-03-23T13:25:27Z</dc:date>
    <item>
      <title>Autosar - Setting acceptance code and mask at runtime</title>
      <link>https://community.nxp.com/t5/S32K/Autosar-Setting-acceptance-code-and-mask-at-runtime/m-p/1430226#M14499</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm using AUTOSAR and I trying to find a way to change some parameters which are defined in AUTOSAR configurator, but at runtime (during init phase), according to "project parameters" passed by compilation -D option.&lt;/P&gt;&lt;P&gt;At best I want to change Can_Config_BOARD_InitPeripherals variable before initializing the CAN using&amp;nbsp;Can_Init, but this variable is located in flash and defined as const. For exemple, I want to change the CAN filter code/ filter mask for some of the CAN received objects.&lt;/P&gt;&lt;P&gt;Do you have a suggestion ?&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Cyrille&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2022 16:24:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Autosar-Setting-acceptance-code-and-mask-at-runtime/m-p/1430226#M14499</guid>
      <dc:creator>BeCy</dc:creator>
      <dc:date>2022-03-17T16:24:44Z</dc:date>
    </item>
    <item>
      <title>Re: Autosar - Setting acceptance code and mask at runtime</title>
      <link>https://community.nxp.com/t5/S32K/Autosar-Setting-acceptance-code-and-mask-at-runtime/m-p/1432543#M14565</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/196171"&gt;@BeCy&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;In your case, I think you should use Functional Group option in S32DS&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Update your latest S32DS. &lt;BR /&gt;Help &amp;gt; S32DS Extensions and Updates &amp;gt; Install available updates&lt;/LI&gt;
&lt;LI&gt;S32Configuration Tools &amp;gt; Peripherals/Pins/Clocks&lt;BR /&gt;From here you can add more than 1 configure in Functional groups:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cuongnguyenphu_0-1648031297141.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/174534iAFAC69847937EA4F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cuongnguyenphu_0-1648031297141.png" alt="cuongnguyenphu_0-1648031297141.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;For each functional configure, you can configure it as you want:&lt;BR /&gt;Remember to choose Config Variant as&amp;nbsp;VARIANT-POST-BUILD&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cuongnguyenphu_1-1648031297253.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/174535iDA1E90BBBAB39261/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cuongnguyenphu_1-1648031297253.png" alt="cuongnguyenphu_1-1648031297253.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cuongnguyenphu_2-1648031297345.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/174536i03BCD42305B92552/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cuongnguyenphu_2-1648031297345.png" alt="cuongnguyenphu_2-1648031297345.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;OL start="4"&gt;
&lt;LI&gt;Click on Update Code button&lt;/LI&gt;
&lt;LI&gt;After update code, you will have more than 1 configure of CAN config:&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cuongnguyenphu_3-1648031297475.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/174537iE14F693CAAB2135C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cuongnguyenphu_3-1648031297475.png" alt="cuongnguyenphu_3-1648031297475.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;OL start="6"&gt;
&lt;LI&gt;You can use one of these config in you main application by Can_Init:&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Can_Init(&amp;amp;Can_Config_VS_0);&lt;/P&gt;
&lt;P&gt;OR&amp;nbsp; Can_Init(&amp;amp;Can_Config_VS_1);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 10:30:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Autosar-Setting-acceptance-code-and-mask-at-runtime/m-p/1432543#M14565</guid>
      <dc:creator>cuongnguyenphu</dc:creator>
      <dc:date>2022-03-23T10:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: Autosar - Setting acceptance code and mask at runtime</title>
      <link>https://community.nxp.com/t5/S32K/Autosar-Setting-acceptance-code-and-mask-at-runtime/m-p/1432615#M14570</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/195919"&gt;@cuongnguyenphu&lt;/a&gt;&amp;nbsp;!&lt;/P&gt;&lt;P&gt;Thanks for your feedback. I understand your answer. You suggest to create 2 or more variants to have the choice of the CAN parameter.&lt;/P&gt;&lt;P&gt;Today,&amp;nbsp; I just need to change the acceptance code and mask filter. Does it mean creating a complete configuration just for this 2 parameters ? My SW manages 30 or more acceptance code/ mask filter configuration, so I'll need 30+ functionnal groups. And what happen if I need to change 1 commun parameter ? do I have to update all 30+ configurations ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 13:25:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Autosar-Setting-acceptance-code-and-mask-at-runtime/m-p/1432615#M14570</guid>
      <dc:creator>BeCy</dc:creator>
      <dc:date>2022-03-23T13:25:27Z</dc:date>
    </item>
    <item>
      <title>Re: Autosar - Setting acceptance code and mask at runtime</title>
      <link>https://community.nxp.com/t5/S32K/Autosar-Setting-acceptance-code-and-mask-at-runtime/m-p/1432655#M14573</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/195919"&gt;@cuongnguyenphu&lt;/a&gt;&amp;nbsp;I just tried to test it but I don't know why, I can't add a new groups, it's disabled&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BeCy_0-1648045626773.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/174557i973F1E06013B10A3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BeCy_0-1648045626773.png" alt="BeCy_0-1648045626773.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 14:29:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Autosar-Setting-acceptance-code-and-mask-at-runtime/m-p/1432655#M14573</guid>
      <dc:creator>BeCy</dc:creator>
      <dc:date>2022-03-23T14:29:01Z</dc:date>
    </item>
    <item>
      <title>Re: Autosar - Setting acceptance code and mask at runtime</title>
      <link>https://community.nxp.com/t5/S32K/Autosar-Setting-acceptance-code-and-mask-at-runtime/m-p/1432739#M14578</link>
      <description>&lt;P&gt;May be your S32DS tool hasn't up-to-date yet, could you try to update it as my suggest in step#1?&lt;BR /&gt;Btw, which is chip series you are going to use?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 17:20:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Autosar-Setting-acceptance-code-and-mask-at-runtime/m-p/1432739#M14578</guid>
      <dc:creator>cuongnguyenphu</dc:creator>
      <dc:date>2022-03-23T17:20:42Z</dc:date>
    </item>
    <item>
      <title>Re: Autosar - Setting acceptance code and mask at runtime</title>
      <link>https://community.nxp.com/t5/S32K/Autosar-Setting-acceptance-code-and-mask-at-runtime/m-p/1433206#M14594</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/195919"&gt;@cuongnguyenphu&lt;/a&gt;&amp;nbsp;!&lt;/P&gt;&lt;P&gt;I think I'm already on the last version of S32DS :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BeCy_0-1648103176858.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/174675i98C72DE41505AFA4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BeCy_0-1648103176858.png" alt="BeCy_0-1648103176858.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using S32K144W.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2022 06:26:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Autosar-Setting-acceptance-code-and-mask-at-runtime/m-p/1433206#M14594</guid>
      <dc:creator>BeCy</dc:creator>
      <dc:date>2022-03-24T06:26:41Z</dc:date>
    </item>
    <item>
      <title>Re: Autosar - Setting acceptance code and mask at runtime</title>
      <link>https://community.nxp.com/t5/S32K/Autosar-Setting-acceptance-code-and-mask-at-runtime/m-p/1433453#M14603</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/196171"&gt;@BeCy&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;If you just want to change &lt;SPAN&gt;the acceptance code and mask filter during run-time, you can use these two following functions:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;1.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;FlexCAN_Ip_SetRxIndividualMask: to set the individual mask for each MB&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;2.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;FlexCAN_Ip_ConfigRxMb: to set the acceptance code for each MB&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Also, you can use&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;FlexCAN_Ip_SetRxMbGlobalMask to set the global mask.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Nam&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2022 12:18:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Autosar-Setting-acceptance-code-and-mask-at-runtime/m-p/1433453#M14603</guid>
      <dc:creator>namnguyenviet</dc:creator>
      <dc:date>2022-03-24T12:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: Autosar - Setting acceptance code and mask at runtime</title>
      <link>https://community.nxp.com/t5/S32K/Autosar-Setting-acceptance-code-and-mask-at-runtime/m-p/1434559#M14631</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/83222"&gt;@namnguyenviet&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For&amp;nbsp;&lt;SPAN&gt;acceptance code and mask filter this solution is ok. The best would be using AUTOSAR functions, but I think it's not existing.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;For other parameters without RTD or AUTOSAR api, the solution from&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/195919"&gt;@cuongnguyenphu&lt;/a&gt;&amp;nbsp;is good too.&lt;/P&gt;&lt;P&gt;Thank you both !&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2022 06:07:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Autosar-Setting-acceptance-code-and-mask-at-runtime/m-p/1434559#M14631</guid>
      <dc:creator>BeCy</dc:creator>
      <dc:date>2022-03-28T06:07:05Z</dc:date>
    </item>
  </channel>
</rss>

