<?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: MPC5775K FlexCAN CAN0</title>
    <link>https://community.nxp.com/t5/MPC5xxx/MPC5775K-FlexCAN-CAN0/m-p/464877#M1754</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Martin,&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="fault.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/53737i3B0976E455AD8AE7/image-size/large?v=v2&amp;amp;px=999" role="button" title="fault.png" alt="fault.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I want to try the sample code, this problem occurs. Do I have to configure the IDE or the project ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ron&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Feb 2016 10:29:45 GMT</pubDate>
    <dc:creator>ronliu</dc:creator>
    <dc:date>2016-02-19T10:29:45Z</dc:date>
    <item>
      <title>MPC5775K FlexCAN CAN0</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5775K-FlexCAN-CAN0/m-p/464869#M1746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;Dear All,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;I'm using the MPC5775K now. But the CAN0 ( FlexCAN module) can not work well. And the program is always suspending in the below line.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #e23d39; font-size: 14pt;"&gt;while ( (CAN_0.IFLAG1.B.BUF31TO8I &amp;amp; 1) == 0) { } // wait until the tx is completed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;This problem bothers me all the day. Could someone give me advice about the CAN0, please? It would be better if you can share me the example code of&amp;nbsp; FlexCAN.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt; Thanks a lot.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;Ron&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" data-containerid="-1" data-containertype="-1" data-objectid="250581" data-objecttype="3" href="https://community.nxp.com/people/b55689"&gt;Martin Kovar&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2016 09:31:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5775K-FlexCAN-CAN0/m-p/464869#M1746</guid>
      <dc:creator>ronliu</dc:creator>
      <dc:date>2016-02-17T09:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5775K FlexCAN CAN0</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5775K-FlexCAN-CAN0/m-p/464870#M1747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ron,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am just working on FlexCAN module example. As soon as I will finish it, I will post it here.&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>Thu, 18 Feb 2016 12:11:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5775K-FlexCAN-CAN0/m-p/464870#M1747</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2016-02-18T12:11:43Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5775K FlexCAN CAN0</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5775K-FlexCAN-CAN0/m-p/464871#M1748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ron,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look at this example. It shows, how to configure FlexCAN modules, and how to transmit and receive data. But be careful about FlexCAN modules connection. Correct connection is described in the example description. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-329943"&gt;Example MPC5775K FlexCAN_with_interrupts S32DS&lt;/A&gt; &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>Thu, 18 Feb 2016 14:49:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5775K-FlexCAN-CAN0/m-p/464871#M1748</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2016-02-18T14:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5775K FlexCAN CAN0</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5775K-FlexCAN-CAN0/m-p/464872#M1749</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;Thanks for your sample code. When I test the code you provide in the MPC5775K demo board, the project can work correctly. But, when I copy all the codes into my S32 project, my project cannot work. The MCU doesn't output the signal on the CAN bus. My S32 project was created by IDE default wizard. Are there some points I&amp;nbsp; ignore？Could you give some directions？ Thanks a lot.&lt;/P&gt;&lt;P&gt;Regard,&lt;/P&gt;&lt;P&gt;Ron&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2016 06:16:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5775K-FlexCAN-CAN0/m-p/464872#M1749</guid>
      <dc:creator>ronliu</dc:creator>
      <dc:date>2016-02-19T06:16:14Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5775K FlexCAN CAN0</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5775K-FlexCAN-CAN0/m-p/464873#M1750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This is my test project. The FlexCAN module couldn't work correctly.:smileyangry:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;static void Sysclk_Init(void)&lt;BR /&gt;{&lt;BR /&gt; CGM.AC3_SC.B.SELCTL =0x01; //connect (40MHz) XTALL to the PLL0 input&lt;/P&gt;&lt;P&gt;/*Set PLL0 to 266MHz with XOSC 40MHz*/&lt;BR /&gt; PLLDIG.PLL0DV.R = 0x50024035;&amp;nbsp; //predefined PLL0 divider register&lt;/P&gt;&lt;P&gt;MC_ME.RUN_PC[0].R = 0xFE;&amp;nbsp; /*Enable all modes for all peripherals using&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ME_RUN_PC[0]*/&lt;BR /&gt; MC_ME.RUN_MC[0].B.XOSCON = 1; //Enable external oscillator&lt;BR /&gt; MC_ME.RUN_MC[0].B.PLL0ON = 1; //Enable PLL0 for RUN1 mode&lt;BR /&gt; MC_ME.RUN_MC[0].B.SYSCLK = 0x2; //source PLL0 PHI for RUN1 mode&lt;/P&gt;&lt;P&gt;//Mode transition to apply the PLL0 setup and set Normal mode with PLL running&lt;BR /&gt; MC_ME.MCTL.R = 0x40005AF0;&amp;nbsp; //DRUN Mode &amp;amp; Key&lt;BR /&gt; MC_ME.MCTL.R = 0x4000A50F;&amp;nbsp; //DRUN Mode &amp;amp; Key&lt;/P&gt;&lt;P&gt;while(!MC_ME.GS.B.S_PLL0);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //ME_GS Wait for PLL stabilization.&lt;BR /&gt; while(MC_ME.GS.B.S_MTRANS);&amp;nbsp;&amp;nbsp;&amp;nbsp; //Waiting for end of transaction&lt;/P&gt;&lt;P&gt;/* ME_GS Check RUN1 mode has successfully been entered*/&lt;BR /&gt; while(MC_ME.GS.B.S_CURRENT_MODE != 0x4);&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;static void InitPeriClkGen(void)&lt;BR /&gt;{&lt;BR /&gt; CGM.AC0_SC.B.SELCTL = 0x2; // Select PLL0 for auxiliary clock 0&lt;BR /&gt; CGM.AC0_DC0.B.DIV = 1;&amp;nbsp;&amp;nbsp;&amp;nbsp; // MC_CLK : Enable aux clk 0 div by 2 �133 MHz)&lt;BR /&gt; CGM.AC0_DC1.B.DIV = 15;&amp;nbsp;&amp;nbsp;&amp;nbsp; // SWG_CLK : Enable aux clk 0 div by 16 �16.625 MHz)&lt;BR /&gt; CGM.AC0_DC2.B.DIV = 3;&amp;nbsp;&amp;nbsp;&amp;nbsp; // ADC_CLK : Enable aux clk 0 div by 4 �66.6 MHz)&lt;/P&gt;&lt;P&gt;CGM.AC1_SC.B.SELCTL = 0x2; // Select PLL0 for auxiliary clock 1&lt;BR /&gt; CGM.AC1_DC0.B.DIV = 3;&amp;nbsp;&amp;nbsp;&amp;nbsp; // FR_CLK : Enable aux clk 1 div by 4 �(66.6 MHz)&lt;/P&gt;&lt;P&gt;CGM.AC2_SC.B.SELCTL = 0x2; // Select PLL0 for auxiliary clock 2&lt;BR /&gt; CGM.AC2_DC0.B.DIV = 3;&amp;nbsp;&amp;nbsp;&amp;nbsp; // CAN_CLK : Enable aux clk 2 div by 4 �(66.6 MHz)&lt;/P&gt;&lt;P&gt;CGM.AC7_SC.B.SELCTL = 0x2; // Select PLL0 for auxiliary clock 7&lt;BR /&gt; CGM.AC7_DC0.B.DIV = 1;&amp;nbsp;&amp;nbsp;&amp;nbsp; // CAN_CLK : Enable aux clk 7 div by 2 �(133 MHz)&lt;/P&gt;&lt;P&gt;CGM.AC13_SC.B.SELCTL = 0x6; // Select PBRIDGE_0_CLK for auxiliary clock 13&lt;BR /&gt; CGM.AC13_DC0.B.DIV = 0;&amp;nbsp;&amp;nbsp;&amp;nbsp; // LIN_CLK : Enable aux clk 13 div by 1 �(66 MHz)&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;static void GPIO_Init(void)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp; SIUL2.MSCR[16].B.SSS = 1;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Pad n17: Source signal is CAN0_TX */&lt;BR /&gt;&amp;nbsp; SIUL2.MSCR[16].B.OBE = 1;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Pad n17: Output Buffer Enable */&lt;BR /&gt;&amp;nbsp; SIUL2.MSCR[16].B.SRC = 3;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Pad n17: Maximum slew rate */&lt;/P&gt;&lt;P&gt;&amp;nbsp; SIUL2.MSCR[17].B.IBE = 1;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Pad n18: Enable pad for input - CAN0_RXD */&lt;BR /&gt;&amp;nbsp; SIUL2.IMCR[0].B.SSS = 0;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* CAN_0_RXD: connected to pad n18 */&lt;/P&gt;&lt;P&gt;&amp;nbsp; SIUL2.MSCR[14].B.SSS = 1;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Pad P17: Source signal is CAN0_TX */&lt;BR /&gt;&amp;nbsp; SIUL2.MSCR[14].B.OBE = 1;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Pad P17: Output Buffer Enable */&lt;BR /&gt;&amp;nbsp; SIUL2.MSCR[14].B.SRC = 3;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Pad P17: Maximum slew rate */&lt;/P&gt;&lt;P&gt;&amp;nbsp; SIUL2.MSCR[15].B.IBE = 1;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Pad P18: Enable pad for input - CAN0_RXD */&lt;BR /&gt;&amp;nbsp; SIUL2.IMCR[1].B.SSS = 2;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* CAN0_RXD: connected to pad P18 */&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;static void FlexCAN_0_Init()&lt;BR /&gt;{&lt;BR /&gt; int i = 0;&lt;/P&gt;&lt;P&gt;/*Module enable*/&lt;BR /&gt; CAN_0.MCR.B.MDIS = 0;&lt;/P&gt;&lt;P&gt;/*Source clk is oscillator clock (40MHz)*/&lt;BR /&gt; CAN_0.CTRL1.B.CLKSRC = 0;&lt;/P&gt;&lt;P&gt;/*Error correction configuration register enable*/&lt;BR /&gt; CAN_0.CTRL2.B.ECRWRE = 1;&lt;/P&gt;&lt;P&gt;/*Enable unrestricted write access to FlexCAN memory*/&lt;BR /&gt; CAN_0.CTRL2.B.WRMFRZ = 1;&lt;/P&gt;&lt;P&gt;/*Error configuration register write enable*/&lt;BR /&gt; CAN_0.MECR.B.ECRWRDIS = 0;&lt;/P&gt;&lt;P&gt;/*Disable memory error correction*/&lt;BR /&gt; CAN_0.MECR.B.ECCDIS = 1;&lt;/P&gt;&lt;P&gt;/*Keep normal operation*/&lt;BR /&gt; CAN_0.MECR.B.NCEFAFRZ = 0;&lt;/P&gt;&lt;P&gt;/*Error configuration register write disable*/&lt;BR /&gt; CAN_0.MECR.B.ECRWRDIS = 1;&lt;/P&gt;&lt;P&gt;/*Disable unrestricted write access to FlexCAN memory*/&lt;BR /&gt; CAN_0.CTRL2.B.WRMFRZ = 0;&lt;/P&gt;&lt;P&gt;/*Error correction configuration register disable*/&lt;BR /&gt; CAN_0.CTRL2.B.ECRWRE = 0;&lt;/P&gt;&lt;P&gt;/*CAN bit timing - 40MHz oscillator, 100kbps bit rate,*/&lt;BR /&gt; CAN_0.CTRL1.B.PRESDIV = 39; //40/(DIV + 1)&lt;BR /&gt; CAN_0.CTRL1.B.RJW = 3;&lt;BR /&gt; CAN_0.CTRL1.B.PSEG1 = 3;&lt;BR /&gt; CAN_0.CTRL1.B.PSEG2 = 3;&lt;BR /&gt; CAN_0.CTRL1.B.PROPSEG = 0;&lt;/P&gt;&lt;P&gt;/*Clear all RX individual Mask Registers The corresponding bit in the&lt;BR /&gt;&amp;nbsp; * filter is "don't care."*/&lt;BR /&gt; for(i = 0; i &amp;lt; 64; i++)&lt;BR /&gt; {&lt;BR /&gt;&amp;nbsp; CAN_0.RXIMR[i].R = 0x00000000;&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /*Set all message buffers RX inactive*/&lt;BR /&gt; for(i = 0; i &amp;lt;64; i++)&lt;BR /&gt; {&lt;BR /&gt;&amp;nbsp; CAN_0.MB[i].CS.R = 0x0000;&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;/*No freeze mode request*/&lt;BR /&gt; CAN_0.MCR.B.HALT = 0;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;static void Transmit_Message(void)&lt;BR /&gt;{&lt;BR /&gt; CAN_0.MB[0].CS.B.CODE = 0x8;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //MB TX inactive&lt;BR /&gt; CAN_0.MB[0].ID.B.ID_STD = 0;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //set message STD ID&lt;BR /&gt;// CAN_0.MB[0].DATA.W[1] = 0xAABBCCDD;&amp;nbsp; //data1 set&lt;BR /&gt;// CAN_0.MB[0].DATA.W[0] = 0x12345678;&amp;nbsp; //data0 set&lt;/P&gt;&lt;P&gt;CAN_0.MB[0].DATA.B[0] = 0x55;&lt;BR /&gt; CAN_0.MB[0].DATA.B[1] = 0x55;&lt;BR /&gt; CAN_0.MB[0].DATA.B[2] = 0x55;&lt;BR /&gt; CAN_0.MB[0].DATA.B[3] = 0x55;&lt;BR /&gt; CAN_0.MB[0].DATA.B[4] = 0x55;&lt;BR /&gt; CAN_0.MB[0].DATA.B[5] = 0x55;&lt;BR /&gt; CAN_0.MB[0].DATA.B[6] = 0x55;&lt;BR /&gt; CAN_0.MB[0].DATA.B[7] = 0x55;&lt;/P&gt;&lt;P&gt;CAN_0.MB[0].CS.B.DLC = 8;&amp;nbsp;&amp;nbsp;&amp;nbsp; //message length 8 bytes&lt;BR /&gt; CAN_0.MB[0].CS.B.RTR = 0;&amp;nbsp;&amp;nbsp;&amp;nbsp; //remote frame disable&lt;BR /&gt; CAN_0.MB[0].CS.B.IDE = 0;&amp;nbsp;&amp;nbsp;&amp;nbsp; //extended bit disable&lt;BR /&gt; CAN_0.MB[0].CS.B.SRR = 0;&amp;nbsp;&amp;nbsp;&amp;nbsp; //not used with STD_ID&lt;BR /&gt; CAN_0.MB[0].CS.B.CODE = 0xC;&amp;nbsp;&amp;nbsp;&amp;nbsp; //MB once transmit data&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;#define KEY_VALUE1 0x5AF0ul&lt;BR /&gt;#define KEY_VALUE2 0xA50Ful&lt;/P&gt;&lt;P&gt;extern void xcptn_xmpl(void);&lt;/P&gt;&lt;P&gt;void hw_init(void)&lt;BR /&gt;{&lt;BR /&gt;#if defined(TURN_ON_CPU1) || defined(TURN_ON_CPU2)&lt;BR /&gt; uint32_t mctl = MC_ME.MCTL.R;&lt;BR /&gt;#endif&lt;BR /&gt;#if defined(TURN_ON_CPU1)&lt;BR /&gt; /* enable core 1 in all modes */&lt;BR /&gt; MC_ME.CCTL2.R = 0x00FE;&lt;BR /&gt; /* Set Start address for core 1: Will reset and start */&lt;BR /&gt; MC_ME.CADDR2.R = 0x1100000 | 0x1;&lt;BR /&gt;#endif &lt;BR /&gt;#if defined(TURN_ON_CPU2)&lt;BR /&gt; /* enable core 2 in all modes */&lt;BR /&gt; MC_ME.CCTL3.R = 0x00FE;&lt;BR /&gt; /* Set Start address for core 2: Will reset and start */&lt;BR /&gt; MC_ME.CADDR3.R = 0x1200000 | 0x1;&lt;BR /&gt;#endif&lt;BR /&gt;#if defined(TURN_ON_CPU1) || defined(TURN_ON_CPU2)&lt;BR /&gt; MC_ME.MCTL.R = (mctl &amp;amp; 0xffff0000ul) | KEY_VALUE1;&lt;BR /&gt; MC_ME.MCTL.R =&amp;nbsp; mctl; /* key value 2 always from MCTL */&lt;BR /&gt;#endif&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;__attribute__ ((section(".text")))&lt;BR /&gt;int main(void)&lt;BR /&gt;{&lt;BR /&gt; int counter = 0;&lt;/P&gt;&lt;P&gt;xcptn_xmpl ();&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Configure and Enable Interrupts */&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; Sysclk_Init();&lt;BR /&gt; InitPeriClkGen();&lt;BR /&gt; GPIO_Init();&lt;BR /&gt; FlexCAN_0_Init();&lt;BR /&gt; Transmit_Message();&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; for(;;) {&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; counter++;&lt;BR /&gt; }&lt;BR /&gt; &lt;BR /&gt; return 0;&lt;BR /&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2016 06:49:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5775K-FlexCAN-CAN0/m-p/464873#M1750</guid>
      <dc:creator>ronliu</dc:creator>
      <dc:date>2016-02-19T06:49:41Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5775K FlexCAN CAN0</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5775K-FlexCAN-CAN0/m-p/464874#M1751</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 find that the sample can work correctly if I create the S32DS project in the single core mode. In single core mode, the below part doesn't processed. But if I create a new project in multi-core mode, the CAN module wouldn't work well. The hw_init() function is added by the S32 IDE. I don't know why this problem happens in mutli-core mode.&amp;nbsp; Thanks.&lt;/P&gt;&lt;P&gt;Regard,&lt;/P&gt;&lt;P&gt;Ron&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sample code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void hw_init(void)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;#if defined(TURN_ON_CPU1) || defined(TURN_ON_CPU2)&lt;/P&gt;&lt;P&gt; uint32_t mctl = MC_ME.MCTL.R;&lt;/P&gt;&lt;P&gt;#endif&lt;/P&gt;&lt;P&gt;#if defined(TURN_ON_CPU1)&lt;/P&gt;&lt;P&gt; /* enable core 1 in all modes */&lt;/P&gt;&lt;P&gt; MC_ME.CCTL2.R = 0x00FE;&lt;/P&gt;&lt;P&gt; /* Set Start address for core 1: Will reset and start */&lt;/P&gt;&lt;P&gt; MC_ME.CADDR2.R = 0x1100000 | 0x1;&lt;/P&gt;&lt;P&gt;#endif &lt;/P&gt;&lt;P&gt;#if defined(TURN_ON_CPU2)&lt;/P&gt;&lt;P&gt; /* enable core 2 in all modes */&lt;/P&gt;&lt;P&gt; MC_ME.CCTL3.R = 0x00FE;&lt;/P&gt;&lt;P&gt; /* Set Start address for core 2: Will reset and start */&lt;/P&gt;&lt;P&gt; MC_ME.CADDR3.R = 0x1200000 | 0x1;&lt;/P&gt;&lt;P&gt;#endif&lt;/P&gt;&lt;P&gt;#if defined(TURN_ON_CPU1) || defined(TURN_ON_CPU2)&lt;/P&gt;&lt;P&gt; MC_ME.MCTL.R = (mctl &amp;amp; 0xffff0000ul) | KEY_VALUE1;&lt;/P&gt;&lt;P&gt; MC_ME.MCTL.R =&amp;nbsp; mctl; /* key value 2 always from MCTL */&lt;/P&gt;&lt;P&gt;#endif&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2016 07:37:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5775K-FlexCAN-CAN0/m-p/464874#M1751</guid>
      <dc:creator>ronliu</dc:creator>
      <dc:date>2016-02-19T07:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5775K FlexCAN CAN0</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5775K-FlexCAN-CAN0/m-p/464875#M1752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ron,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you create multicore project, S32DS creates it's own hw_init, which starts other two cores. In this case it is important to rename my hw_init function or rename default S32DS function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will test FlexCAN with multicore project and I will write you back as soon as possible.&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, 19 Feb 2016 07:43:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5775K-FlexCAN-CAN0/m-p/464875#M1752</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2016-02-19T07:43:08Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5775K FlexCAN CAN0</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5775K-FlexCAN-CAN0/m-p/464876#M1753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ron,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this multicore. I tested it and it works correct. There is function hw_init, which boots cores Z7 (this function is created by S32). This function is called during startup. Function HW_Init initializes FMPLL, peripheral clocks and other hardware.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;About EVB connection there is not necessary to use connection, which I write in my first project. You can use jumpers J32 and J35 fitted and jumpers J37 and J38 fitted in the position 2-3.&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, 19 Feb 2016 09:42:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5775K-FlexCAN-CAN0/m-p/464876#M1753</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2016-02-19T09:42:31Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5775K FlexCAN CAN0</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5775K-FlexCAN-CAN0/m-p/464877#M1754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Martin,&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="fault.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/53737i3B0976E455AD8AE7/image-size/large?v=v2&amp;amp;px=999" role="button" title="fault.png" alt="fault.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I want to try the sample code, this problem occurs. Do I have to configure the IDE or the project ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ron&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2016 10:29:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5775K-FlexCAN-CAN0/m-p/464877#M1754</guid>
      <dc:creator>ronliu</dc:creator>
      <dc:date>2016-02-19T10:29:45Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5775K FlexCAN CAN0</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5775K-FlexCAN-CAN0/m-p/464878#M1755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ron,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;no, I use default project also IDE settings. But I have an idea. Exit S32DS, switch to the Windows task manager and kill processes s32de.exe and power-pc-eabivle-gdb.exe. Next step, right click on project and select Clean Project. Then build project again. Last step is to click on the arrow next to the bug and select MPC5775K-CAN_with_interrupts_Multicore-S32DS_LaunchGroup (look at the figure in the attachment). Now it should be OK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Password for connection is DEAD_DEED_FADE_BADE&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, 19 Feb 2016 11:01:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5775K-FlexCAN-CAN0/m-p/464878#M1755</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2016-02-19T11:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5775K FlexCAN CAN0</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5775K-FlexCAN-CAN0/m-p/464879#M1756</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;Thanks for your help. I don't quite understand the last step. Could you give me more details about&amp;nbsp; the last step. However， I want to add&amp;nbsp; the FlexCAN files which can work correctly into my own project. You know, the time is limited. I must make my project function well as soon as possible.Could you please send me the independent files? I'd like to use them directly.:smileyhappy:&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ron&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Feb 2016 08:21:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5775K-FlexCAN-CAN0/m-p/464879#M1756</guid>
      <dc:creator>ronliu</dc:creator>
      <dc:date>2016-02-21T08:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5775K FlexCAN CAN0</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5775K-FlexCAN-CAN0/m-p/464880#M1757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what do you mean about "Password for connection is DEAD_DEED_FADE_BADE"?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Feb 2016 09:26:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5775K-FlexCAN-CAN0/m-p/464880#M1757</guid>
      <dc:creator>ronliu</dc:creator>
      <dc:date>2016-02-22T09:26:08Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5775K FlexCAN CAN0</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5775K-FlexCAN-CAN0/m-p/464881#M1758</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;if you want to debug the project using PEMicro USB multilink, you have to enter this password during the connecting to the device.&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, 22 Feb 2016 09:34:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5775K-FlexCAN-CAN0/m-p/464881#M1758</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2016-02-22T09:34:55Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5775K FlexCAN CAN0</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5775K-FlexCAN-CAN0/m-p/464882#M1759</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;When I check your sample code, I couldn't find the function "void hw_init(void)".&lt;/P&gt;&lt;P&gt;I don't understand why the function is created in my new project by IDE default mode. But I couldn't find it in your project.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ron&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2016 04:15:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5775K-FlexCAN-CAN0/m-p/464882#M1759</guid>
      <dc:creator>ronliu</dc:creator>
      <dc:date>2016-02-23T04:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5775K FlexCAN CAN0</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5775K-FlexCAN-CAN0/m-p/464883#M1760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ron,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;function hw_init is created automatically by IDE when you create multicore project. This function starts other Z7 core(s) and it is called during startup (Startup.s file). If you open startup file you will see the calling of the function before function main is called. Calling of the function hw_init is conditioned by HW_INIT symbol definition. But you can modify the startup file and start other cores wherever you want. You can look at this project:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" data-containerid="11363" data-containertype="14" data-content-finding="Community" data-objectid="329809" data-objecttype="102" href="https://community.nxp.com/docs/DOC-329809"&gt;Example MPC5775K PinToggleStationery S32DS&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can find defined symbols in project Properties/C/C++ build/Assembler Symbols&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In single core projects IDE does not create hw_init function, because only Z4 core starts.&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, 23 Feb 2016 07:29:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5775K-FlexCAN-CAN0/m-p/464883#M1760</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2016-02-23T07:29:40Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5775K FlexCAN CAN0</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5775K-FlexCAN-CAN0/m-p/464884#M1761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Martin,&lt;/P&gt;&lt;P&gt;Thanks for your help again !&amp;nbsp; :smileylaugh: With your direction， my project can work now.&amp;nbsp; But there is a strange issues always troubling me. I don't understand why the flexCAN module can work correctly only when I close HW_INIT symbol. In my opinion , there might be some conflict between multicore and CAN. :smileyshocked:&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ron&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2016 08:23:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5775K-FlexCAN-CAN0/m-p/464884#M1761</guid>
      <dc:creator>ronliu</dc:creator>
      <dc:date>2016-02-23T08:23:44Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5775K FlexCAN CAN0</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5775K-FlexCAN-CAN0/m-p/464885#M1762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ron,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just a simple idea. Try to change the define in flashrchw.c file. There is #define MPC57xx_ID 0x005A0000 change the value to 0x005A0001. There is not any problem with CAN in multicore project. I had tried and it worked fine.&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, 23 Feb 2016 08:59:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5775K-FlexCAN-CAN0/m-p/464885#M1762</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2016-02-23T08:59:24Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5775K FlexCAN CAN0</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5775K-FlexCAN-CAN0/m-p/464886#M1763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Martin,&lt;/P&gt;&lt;P&gt;Thanks. I changed the MPC57xx_ID value to 0x005A0001. But my project still cannot work when I call the function"void CORE_INIT(void)". Maybe there are something wrong with my project. However , I couldn't figure it out now.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ron&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void CORE_INIT(void)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Enable cores if running from RAM or not using the BAF to boot cores*/&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Enable Cores - Will start on next mode transistion */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Enable or disable core 0 (Z4 - Lock Step Core) */&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MC_ME.CCTL1.R = 0x00FE;&amp;nbsp; /* enable core */&lt;BR /&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MC_ME.CCTL[1].R = 0x0000; /* disable core */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Enable or disable core 1 (z7a) */&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MC_ME.CCTL2.R = 0x00FE;&amp;nbsp; /* enable core */&lt;BR /&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MC_ME.CCTL[2].R = 0x0000; /* disable core */&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Enable or disable core 2 (z7b)*/&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MC_ME.CCTL3.R = 0x00FE;&amp;nbsp; /* enable core */&lt;BR /&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MC_ME.CCTL[3].R = 0x0000; /* disable core */&lt;BR /&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2016 10:08:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5775K-FlexCAN-CAN0/m-p/464886#M1763</guid>
      <dc:creator>ronliu</dc:creator>
      <dc:date>2016-02-23T10:08:36Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5775K FlexCAN CAN0</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5775K-FlexCAN-CAN0/m-p/464887#M1764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ron,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it seems that your function is not written correct. I do not see there mode transition. If you want to boot Z7 cores use this construction:&lt;/P&gt;&lt;P&gt;#define KEY_VALUE1 0x5AF0ul&lt;/P&gt;&lt;P&gt;#define KEY_VALUE2 0xA50Ful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void CORE_INIT(void)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; uint32_t mctl = MC_ME.MCTL.R;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; MC_ME.CCTL2.R = 0x00FE;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Set Start address for core 1: Will reset and start */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MC_ME.CADDR2.R = 0x1100000 | 0x1;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; MC_ME.CCTL3.R = 0x00FE;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Set Start address for core 2: Will reset and start */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MC_ME.CADDR3.R = 0x1200000 | 0x1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; /*Mode transition*/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MC_ME.MCTL.R = (mctl &amp;amp; 0xffff0000ul) | KEY_VALUE1;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MC_ME.MCTL.R =&amp;nbsp; mctl; /* key value 2 always from MCTL */&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Z4 core is the main core and this boot automatically. You cannot choose which core will be boot first. It is always Z4. From Z4 core you can boot other two cores.&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, 23 Feb 2016 11:13:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5775K-FlexCAN-CAN0/m-p/464887#M1764</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2016-02-23T11:13:23Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5775K FlexCAN CAN0</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5775K-FlexCAN-CAN0/m-p/464888#M1765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Martin,&lt;/P&gt;&lt;P&gt;Thanks！&lt;/P&gt;&lt;P&gt;There are still something wrong with my multicore project . I have more urgent thing to do . I want to transfer a very large array by CAN bus now . So I create a new function to finish it. How do I check the CAN tx status？ I have tried this code ，but some messages are lost.&lt;/P&gt;&lt;P&gt;Regards，&lt;/P&gt;&lt;P&gt;Ron&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="CAN.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/54299iB50A0F58882E9263/image-size/large?v=v2&amp;amp;px=999" role="button" title="CAN.png" alt="CAN.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2016 08:37:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5775K-FlexCAN-CAN0/m-p/464888#M1765</guid>
      <dc:creator>ronliu</dc:creator>
      <dc:date>2016-02-24T08:37:04Z</dc:date>
    </item>
  </channel>
</rss>

