<?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 S32K144 FlexCAN SUPV in S32K</title>
    <link>https://community.nxp.com/t5/S32K/S32K144-FlexCAN-SUPV/m-p/1553989#M18884</link>
    <description>&lt;P&gt;Hi, I met a problem when i access S32K144 FlexCAN_IMASK1 in user mode with CAN_MCR_SUPV=0 will cause BusFault, But the description of SUPV in RM is "0b - FlexCAN is in User mode. Affected registers allow both Supervisor and Unrestricted accesses.", I wonder it is normal ?&lt;/P&gt;</description>
    <pubDate>Tue, 15 Nov 2022 10:20:13 GMT</pubDate>
    <dc:creator>Junkie</dc:creator>
    <dc:date>2022-11-15T10:20:13Z</dc:date>
    <item>
      <title>S32K144 FlexCAN SUPV</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-FlexCAN-SUPV/m-p/1553989#M18884</link>
      <description>&lt;P&gt;Hi, I met a problem when i access S32K144 FlexCAN_IMASK1 in user mode with CAN_MCR_SUPV=0 will cause BusFault, But the description of SUPV in RM is "0b - FlexCAN is in User mode. Affected registers allow both Supervisor and Unrestricted accesses.", I wonder it is normal ?&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 10:20:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-FlexCAN-SUPV/m-p/1553989#M18884</guid>
      <dc:creator>Junkie</dc:creator>
      <dc:date>2022-11-15T10:20:13Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 FlexCAN SUPV</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-FlexCAN-SUPV/m-p/1556429#M18954</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Junkie,&lt;/P&gt;
&lt;P&gt;The MCR[SUPV]=1 by default(FlexCAN is in Supervisor mode). Did you change the&amp;nbsp;bit in Freeze mode?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MCR[SUPV].png" style="width: 762px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/200929i5EF6275BC489ED13/image-size/large?v=v2&amp;amp;px=999" role="button" title="MCR[SUPV].png" alt="MCR[SUPV].png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I try to debug the&amp;nbsp;&lt;STRONG&gt;can_pal_s32k144&lt;/STRONG&gt; example in&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;S32 SDK for S32K1xx RTM 4.0.2&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;First breakpoint: access&amp;nbsp;the&amp;nbsp;IMASK1 when MCR[SUPV]=1 &lt;STRONG&gt;did not&lt;/STRONG&gt; cause BusFault.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="flexcan_hw_access.c [line 505].png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/200931i6C5BC1F8CC426802/image-size/large?v=v2&amp;amp;px=999" role="button" title="flexcan_hw_access.c [line 505].png" alt="flexcan_hw_access.c [line 505].png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Second breakpoint: access&amp;nbsp;the&amp;nbsp;IMASK1 when MCR[SUPV]=0 &lt;STRONG&gt;did not&lt;/STRONG&gt; cause BusFault.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="flexcan_hw_access.c [line 1272].png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/200932iC329A8A8A3282E37/image-size/large?v=v2&amp;amp;px=999" role="button" title="flexcan_hw_access.c [line 1272].png" alt="flexcan_hw_access.c [line 1272].png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Robin&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Fri, 18 Nov 2022 10:15:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-FlexCAN-SUPV/m-p/1556429#M18954</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2022-11-18T10:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 FlexCAN SUPV</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-FlexCAN-SUPV/m-p/1557632#M19011</link>
      <description>&lt;P&gt;Do you enter user mode when SUPV = 0 ? I try your method, if in Supervisor mode (control[bit0] = 0), The phenomenon is as what you say&amp;nbsp;, but when control[bit0] = 1 in user mode, BusFault will happen.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2022 08:39:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-FlexCAN-SUPV/m-p/1557632#M19011</guid>
      <dc:creator>Junkie</dc:creator>
      <dc:date>2022-11-22T08:39:03Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 FlexCAN SUPV</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-FlexCAN-SUPV/m-p/1558663#M19053</link>
      <description>&lt;P&gt;Sorry for my previous reply. The core was in Supervisor (privileged) mode, I forgot change it in User(Unprivileged) mode.&lt;/P&gt;
&lt;P&gt;Also cause BusFault when I access S32K144 FlexCAN_IMASK1 in User(Unprivileged) mode with CAN_MCR_SUPV=0. It seems that it does not match &lt;STRONG&gt;Table 55-19. Access permissions&lt;/STRONG&gt; of S32K-RM Rev14&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Table 55-19. Access permissions.png" style="width: 941px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/201491i39162723BD696C40/image-size/large?v=v2&amp;amp;px=999" role="button" title="Table 55-19. Access permissions.png" alt="Table 55-19. Access permissions.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I need to consult it with our AE team and will update as soon as I have their feedback.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2022 15:11:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-FlexCAN-SUPV/m-p/1558663#M19053</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2022-11-23T15:11:18Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 FlexCAN SUPV</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-FlexCAN-SUPV/m-p/1558983#M19058</link>
      <description>&lt;P&gt;Ok, thank you，I will wait for that.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2022 01:21:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-FlexCAN-SUPV/m-p/1558983#M19058</guid>
      <dc:creator>Junkie</dc:creator>
      <dc:date>2022-11-24T01:21:10Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 FlexCAN SUPV</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-FlexCAN-SUPV/m-p/1564787#M19237</link>
      <description>&lt;P&gt;Thanks for sharing your solution to me:&lt;BR /&gt;&lt;EM&gt;I have solved the problem, user mode access FlexCAN register is prevented by AIPS, as AIPS-&amp;gt;OPACRL[0]_TP5 = 1, access FlexCAN register only in supervisor mode.&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2022 01:06:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-FlexCAN-SUPV/m-p/1564787#M19237</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2022-12-06T01:06:13Z</dc:date>
    </item>
  </channel>
</rss>

