<?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>MPC5xxx中的主题 Re: MPC5746R FlexCAN</title>
    <link>https://community.nxp.com/t5/MPC5xxx/MPC5746R-FlexCAN/m-p/645910#M6540</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Qiao,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please see file in the attachment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have any other questions, please feel free to write me back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Dec 2016 07:48:39 GMT</pubDate>
    <dc:creator>martin_kovar</dc:creator>
    <dc:date>2016-12-05T07:48:39Z</dc:date>
    <item>
      <title>MPC5746R FlexCAN</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5746R-FlexCAN/m-p/645909#M6539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; I am initiating FlexCAN of MPC5746R. &amp;nbsp;As the manual said, I negate&amp;nbsp; &lt;SPAN class=""&gt;CAN_MCR[MDIS] &amp;nbsp;to enable this module as&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;the first step, but&amp;nbsp;after this step, the program seems to run fly, it enters some kind of interrupt handler IVOR4, as the figure shows below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="170764_170764.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/122596i30EC56343A669DD5/image-size/large?v=v2&amp;amp;px=999" role="button" title="170764_170764.png" alt="170764_170764.png" /&gt;&lt;/span&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/11115iD198A60B3FDCA4E7/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;It would be highly appreciated if you can provide successful&amp;nbsp;&amp;nbsp;CAN init&amp;nbsp;code for MPC5746R.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Qiao&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Dec 2016 13:09:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5746R-FlexCAN/m-p/645909#M6539</guid>
      <dc:creator>qiaodeng</dc:creator>
      <dc:date>2016-12-02T13:09:01Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5746R FlexCAN</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5746R-FlexCAN/m-p/645910#M6540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Qiao,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please see file in the attachment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have any other questions, please feel free to write me back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2016 07:48:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5746R-FlexCAN/m-p/645910#M6540</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2016-12-05T07:48:39Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5746R FlexCAN</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5746R-FlexCAN/m-p/645911#M6541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martin,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Thanks for your reply. I am debugging using your code. I found at the end of initiation, the&amp;nbsp;FRZACK and&amp;nbsp;NOTRDY bit will turn to 0, but soon return to 1. I add a delay at the end of initiation, then the program can never be out of the circulation : &amp;nbsp;&amp;nbsp;&amp;nbsp;while(1 == CAN_1.MCR.B.FRZACK) {};&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/10395iFAB551F14726AAC4/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;It makes me confused.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 05:08:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5746R-FlexCAN/m-p/645911#M6541</guid>
      <dc:creator>qiaodeng</dc:creator>
      <dc:date>2016-12-06T05:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5746R FlexCAN</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5746R-FlexCAN/m-p/645912#M6542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Qiao,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tested the CAN init function and the behavior is following:&lt;/P&gt;&lt;P&gt;1) You must not have opened FlexCAN registers in debugger window&lt;/P&gt;&lt;P&gt;2) You must not stepping the code CAN init function. I tried in Lauterbach debugger and when I was stepping the code, it got stuck in last while loop. When I was not stepping the function, it worked correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 10:40:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5746R-FlexCAN/m-p/645912#M6542</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2016-12-06T10:40:44Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5746R FlexCAN</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5746R-FlexCAN/m-p/645913#M6543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martin,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Thanks for your patient explanation. I tested again, and didn't open any register or&amp;nbsp;step the function.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;To check if&amp;nbsp;the FlexCAN is in normal mode after the initiation, I give the value of NOTRDY bit to a GPIO, but the &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;output&amp;nbsp;of GPIO is still 5V.&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/12171i3DFC9350B68A4350/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;It seems that after the Init function, the FlexCAN goes back to freeze mode again, so it still can not work correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Qiao&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 11:15:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5746R-FlexCAN/m-p/645913#M6543</guid>
      <dc:creator>qiaodeng</dc:creator>
      <dc:date>2016-12-06T11:15:28Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5746R FlexCAN</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5746R-FlexCAN/m-p/645914#M6544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Qiao,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tested the code I sent you once again and the behavior was the same as you described (I do not know why, because I had tested it many times before and it worked correct). So I copy the code to IDE once again, build it and load to microcontroller once again and now it works correct. I tried with Lauterbach and also with Multilink Universal FX debug probe. Also there was no problem when I was stepping the code (really strange).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only difference I found were two breakpoints place in the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see attachment, there is the example which I tried last and which worked correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 11:37:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5746R-FlexCAN/m-p/645914#M6544</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2016-12-06T11:37:10Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5746R FlexCAN</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5746R-FlexCAN/m-p/645915#M6545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martin,&lt;/P&gt;&lt;P&gt;&amp;nbsp;Now this project can work correct. I guess maybe it's the difference of the IDE? I can not even create a project named Z4_2 like the one you give me . Which version of S32 Studio are you using? Any update package need to be installed? I am using&amp;nbsp;S32 Design Studio for Power v1.1 .&lt;/P&gt;&lt;P&gt;&amp;nbsp;Really appreciate for your help!&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Qiao&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 12:06:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5746R-FlexCAN/m-p/645915#M6545</guid>
      <dc:creator>qiaodeng</dc:creator>
      <dc:date>2016-12-06T12:06:52Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5746R FlexCAN</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5746R-FlexCAN/m-p/645916#M6546</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;/P&gt;&lt;P&gt;it was older project and it was created in S32DS version 1.0, but it does not explain the behavior on my side (but it is good that it works now ;-)).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For S32DS version 1.1, there is an update 1 you can install.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-333045"&gt;https://community.nxp.com/docs/DOC-333045&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are welcome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 12:14:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5746R-FlexCAN/m-p/645916#M6546</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2016-12-06T12:14:20Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5746R FlexCAN</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5746R-FlexCAN/m-p/645917#M6547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martin,&lt;/P&gt;&lt;P&gt;Finally I found the difference, in the debugger configuration of your project, the device name is MPC5745R ：&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/12425iB9ECBA527BA2DF40/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;I changed the device name to MPC5745R in&amp;nbsp;my project, it can also work correct. Maybe it's a bug of the compiler?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Qiao&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 13:10:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5746R-FlexCAN/m-p/645917#M6547</guid>
      <dc:creator>qiaodeng</dc:creator>
      <dc:date>2016-12-06T13:10:32Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5746R FlexCAN</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5746R-FlexCAN/m-p/645918#M6548</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;/P&gt;&lt;P&gt;I think the is not the root cause, because I used Lauterbach debugger and it is independent to S32 Design Studio. Important point is that it works now. Thanks for the cooperation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 15:51:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5746R-FlexCAN/m-p/645918#M6548</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2016-12-06T15:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5746R FlexCAN</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5746R-FlexCAN/m-p/645919#M6549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martin,&lt;/P&gt;&lt;P&gt;&amp;nbsp;Really sorry to bother you again. Now the problem is that although the FlexCAN is initiated successfully, I can't transmit a message. I tried self reception mode and normal mode, after I write 0xC to the CS.CODE to activate the MB, &amp;nbsp;it didn't complete a transmission. The MB code is always 0xC，according to the manual it should&amp;nbsp;returns to the&amp;nbsp;INACTIVE state&amp;nbsp;automatically . &amp;nbsp;Here is my transmission code :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void Transmit_Message()&lt;BR /&gt;{&lt;BR /&gt; CAN_0.MB[6].CS.B.CODE = 0x8; //MB TX inactive&lt;BR /&gt; CAN_0.MB[6].CS.B.IDE = 0; //extended bit disable&lt;BR /&gt; CAN_0.MB[6].ID.R = (0x555&amp;lt;&amp;lt;18); //set message STD ID&lt;BR /&gt; CAN_0.MB[6].DATA.W[1] = 0x90ABCDEF; //data1 set&lt;BR /&gt; CAN_0.MB[6].DATA.W[0] = 0x12345678; //data0 set&lt;BR /&gt; CAN_0.MB[6].CS.B.DLC = 8; //message length 8 bytes&lt;BR /&gt; CAN_0.MB[6].CS.B.RTR = 0; //remote frame disable&lt;BR /&gt; CAN_0.MB[6].CS.B.CODE = 0xC; //MB once transmit data&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Qiao&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Dec 2016 03:07:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5746R-FlexCAN/m-p/645919#M6549</guid>
      <dc:creator>qiaodeng</dc:creator>
      <dc:date>2016-12-07T03:07:47Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5746R FlexCAN</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5746R-FlexCAN/m-p/645920#M6550</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;/P&gt;&lt;P&gt;could you please share your SIUL2 settings? It is possible, you have incorrectly configured GPIO pins.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you use NXP EVB, or your own design board? Have you correctly connected CAN transceiver?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2016 09:10:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5746R-FlexCAN/m-p/645920#M6550</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2016-12-09T09:10:11Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5746R FlexCAN</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5746R-FlexCAN/m-p/645921#M6551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martin,&lt;/P&gt;&lt;P&gt;I am using &amp;nbsp;MCAN2 of&amp;nbsp; &lt;SPAN class=""&gt;MPC57xx EVB .Here is my SIUL2 code:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;void Port_Init(void){&lt;BR /&gt; SIUL2.MSCR0_255[92].R = 0x32000008; /* Pad PF12: Source signal is CAN0_TX */&lt;BR /&gt; SIUL2.MSCR0_255[93].R = 0x00380000; /* Pad PF13: Enable pad for input - CAN0_RX */&lt;BR /&gt; SIUL2.MSCR512_995[700].R = 0x00000004;/* CAN0_RX: connected to pad PF13 */&lt;BR /&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;The schematic of MSCAN2 is as follows, I have connected J32, J33,J23&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&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/9437i609A34E12D547572/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Dec 2016 06:52:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5746R-FlexCAN/m-p/645921#M6551</guid>
      <dc:creator>qiaodeng</dc:creator>
      <dc:date>2016-12-10T06:52:37Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5746R FlexCAN</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5746R-FlexCAN/m-p/645922#M6552</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;/P&gt;&lt;P&gt;I found one error in your configuration.&lt;/P&gt;&lt;P&gt;Instead of &lt;SPAN class=""&gt;SIUL2.MSCR512_995[700].R, you have to use SIUL2.MSCR512_995[188].R, because definition in header file is following:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;#define SIUL2_MSCR700&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SIUL2.MSCR512_995[188].R&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Dec 2016 20:23:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5746R-FlexCAN/m-p/645922#M6552</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2016-12-12T20:23:46Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5746R FlexCAN</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5746R-FlexCAN/m-p/645923#M6553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martin,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; I have corrected the SIUL2 error. Now FlexCAN transmits a message successfully , then it returns to freeze mode. Here is the&amp;nbsp;Error Status Register I read from S32:&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/9977i0038619A13D68D6B/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;The attachment is my CAN code. Do you have any sample code of MPC5746R FlexCAN including sending and receiving message? It would be very helpful to speed up my work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Qiao&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2016 07:32:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5746R-FlexCAN/m-p/645923#M6553</guid>
      <dc:creator>qiaodeng</dc:creator>
      <dc:date>2016-12-13T07:32:48Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5746R FlexCAN</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5746R-FlexCAN/m-p/645924#M6554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Qiao,&lt;/P&gt;&lt;P&gt;I had the same problem. &amp;nbsp;I believe it may have to do with using the FlexCAN while in debug mode. &amp;nbsp;Adding the following code allowed RX function to work for me:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CAN_0.CTRL2.B.ECRWRE = 0x01u; //enable MECR register updates&lt;BR /&gt; CAN_0.MECR.B.ECRWRDIS = 0x00u; //enable writes to the MECR register&lt;BR /&gt; CAN_0.MECR.B.NCEFAFRZ = 0x00u; //keep normal operation if memory error is detected&lt;BR /&gt; CAN_0.MECR.B.ECRWRDIS = 0x01u; //disable writes to the MECR register&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shane&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Feb 2017 01:17:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5746R-FlexCAN/m-p/645924#M6554</guid>
      <dc:creator>shanescott</dc:creator>
      <dc:date>2017-02-04T01:17:55Z</dc:date>
    </item>
  </channel>
</rss>

