<?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 &amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;The question about adding the FlexCan module to the S32 project of the Dual motor control Demo board in Model-Based Design Toolbox (MBDT)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/160-160-160-160-160-The-question-about-adding-the-FlexCan-module/m-p/680869#M728</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gusy,&lt;/P&gt;&lt;P&gt;I wanna add the FlexCan to the&amp;nbsp;S32 project of the Dual motor control Demo board,but there are some question in the progress,&lt;/P&gt;&lt;P&gt;Now,i describe the process of adding the FlexCan module：&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 22px; color: #0000ff;"&gt;&lt;STRONG&gt;1#,&lt;/STRONG&gt;&lt;/SPAN&gt;I built two files named FlexCan.h and FlexCan.c&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;FlexCan.c:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;*******************************************************************************&lt;BR /&gt; *&lt;BR /&gt; * This file includes initial setting function of MPC5643L FlexCan peripheral module.&lt;BR /&gt; *&lt;BR /&gt; ******************************************************************************/&lt;BR /&gt;#include "MPC5643L_qs.h"&lt;BR /&gt;#include "flexCan.h"&lt;/P&gt;&lt;P&gt;/******************************************************************************&lt;BR /&gt; * FlexCan functions&lt;BR /&gt; *****************************************************************************/&lt;BR /&gt;volatile FLEXCAN_tag *pFlexCan_0;&lt;BR /&gt;volatile FLEXCAN_tag *pFlexCan_1;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;FlexCan.h:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;*******************************************************************************&lt;BR /&gt;*&lt;BR /&gt;* This file includes initial setting and MACRO definitions of MPC5643L FlexCan&lt;BR /&gt;* peripheral module.&lt;BR /&gt;*&lt;BR /&gt;******************************************************************************/&lt;BR /&gt;#ifndef _FlexCan_H_&lt;BR /&gt;#define _FlexCan_H_&lt;BR /&gt;/******************************************************************************&lt;BR /&gt;* Global FlexCan variables definition&lt;BR /&gt;******************************************************************************/&lt;BR /&gt;// Pointer to FlexCan structure&lt;BR /&gt;extern volatile FLEXCAN_tag *pFlexCan_0;&lt;BR /&gt;extern volatile FLEXCAN_tag *pFlexCan_1;&lt;/P&gt;&lt;P&gt;/******************************************************************************&lt;BR /&gt;* FlexCan MACRO definitions&lt;BR /&gt;******************************************************************************/&lt;/P&gt;&lt;P&gt;/******************************************************************************&lt;BR /&gt;* FlexCan registers bit definition&lt;BR /&gt;******************************************************************************/&lt;/P&gt;&lt;P&gt;/******************************************************************************&lt;BR /&gt;* Exported functions&lt;BR /&gt;*******************************************************************************/&lt;BR /&gt;extern void Delay(void);&lt;BR /&gt;extern void InitFlexCAN_0(void);&lt;BR /&gt;extern void InitFlexCAN_1(void);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;#endif /* _FlexCan_H_ */&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 22px;"&gt;&lt;STRONG&gt;2#,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;add the header file to the MPC5643L_periph.h shown as below:&lt;/P&gt;&lt;P&gt;*******************************************************************************&lt;BR /&gt;*&lt;BR /&gt;* Detailed Description of the file.&lt;BR /&gt;*&lt;BR /&gt;******************************************************************************/&lt;BR /&gt;#include "siul.h"&lt;BR /&gt;#include "flexpwm.h"&lt;BR /&gt;#include "ctu.h"&lt;BR /&gt;#include "adc.h"&lt;BR /&gt;#include "eTimer.h"&lt;BR /&gt;#include "pit.h"&lt;BR /&gt;#include "dspi.h"&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;#include "flexCan.h"&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 22px;"&gt;&lt;STRONG&gt;3#,&lt;SPAN style="color: #3d3d3d; font-weight: normal; font-size: 15px;"&gt;I built two files named MPC5643L_FlexCan_LLD.h and &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-weight: normal; font-size: 15px;"&gt;MPC5643L_FlexCan_LLD&lt;/SPAN&gt;&lt;STRONG style="color: #3d3d3d; font-weight: normal; font-size: 15px;"&gt;.c&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG style="color: #0000ff; font-size: 15px;"&gt;MPC5643L_FlexCan_LLD.h:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;*******************************************************************************&lt;BR /&gt;*&lt;BR /&gt;* This file includes initial setting and MACRO definitions of MPC5643L FlexCan&lt;BR /&gt;* peripheral module.&lt;BR /&gt;*&lt;BR /&gt;******************************************************************************/&lt;/P&gt;&lt;P&gt;#ifndef _MPC5643L_FlexCan_LLD_H_&lt;BR /&gt;#define _MPC5643L_FlexCan_LLD_H_&lt;/P&gt;&lt;P&gt;#ifdef __cplusplus&lt;BR /&gt;extern "C" {&lt;BR /&gt;#endif&lt;/P&gt;&lt;P&gt;#define FlexCan0_BASE 0xFFFC0000&lt;BR /&gt;#define FlexCan1_BASE 0xFFEC4000&lt;/P&gt;&lt;P&gt;/*******************************/&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#ifdef __cplusplus&lt;BR /&gt;}&lt;BR /&gt;#endif&lt;/P&gt;&lt;P&gt;#endif /* _MPC5643L_FlexCan_LLD_H_ */&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;&lt;SPAN style="font-size: 15px;"&gt;MPC5643L_FlexCan_LLD&lt;/SPAN&gt;&lt;SPAN style="font-size: 15px;"&gt;.c:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;*******************************************************************************&lt;BR /&gt;*&lt;BR /&gt;* This file includes initial setting functions of MPC5643L FlexCan module.&lt;BR /&gt;*&lt;BR /&gt;******************************************************************************/&lt;BR /&gt;#include "MPC5643L_qs.h"&lt;BR /&gt;#include "MPC5643L_FlexCan_LLD.h"&lt;/P&gt;&lt;P&gt;/******************************************************************************&lt;BR /&gt;* FlexCan functions&lt;BR /&gt;*****************************************************************************/&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 22px;"&gt;&lt;STRONG&gt;4#,&lt;/STRONG&gt;&lt;/SPAN&gt;add the header file the MPC5643L_FlexCan_LLD.h to &amp;nbsp;MPC5643L_LLD.h&amp;nbsp;shown as below:&lt;/P&gt;&lt;P&gt;*******************************************************************************&lt;BR /&gt;*&lt;BR /&gt;* Detailed Description of the file.&lt;BR /&gt;*&lt;BR /&gt;******************************************************************************/&lt;BR /&gt;#include "MPC5643L_ADC_LLD.h"&lt;BR /&gt;#include "MPC5643L_CTU_LLD.h"&lt;BR /&gt;#include "MPC5643L_DSPI_LLD.h"&lt;BR /&gt;#include "MPC5643L_ETIMER_LLD.h"&lt;BR /&gt;#include "MPC5643L_FlexPWM_LLD.h"&lt;BR /&gt;#include "MPC5643L_PIT_LLD.h"&lt;BR /&gt;#include "MPC5643L_SIUL_LLD.h"&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;#include &amp;lt;MPC5643L_FlexCan_LLD.h&amp;gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;But there are some error popup,shown as below:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="187855_187855.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/123061i77F2E3138BE0CD7E/image-size/large?v=v2&amp;amp;px=999" role="button" title="187855_187855.png" alt="187855_187855.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_38.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/24479iA76DB4C4DF520B0F/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_38.png" alt="pastedImage_38.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The tip seems said that &amp;nbsp;undefined the initFlexCan_0,but i clearly define the function in the&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;flexCan.h and&amp;nbsp;&amp;nbsp;flexCan.c&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&gt;I don't konw how to deal with it,The attachment is the S32 project.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338582"&gt;Test_2.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 02 Jul 2017 04:59:37 GMT</pubDate>
    <dc:creator>edenli</dc:creator>
    <dc:date>2017-07-02T04:59:37Z</dc:date>
    <item>
      <title>     The question about adding the FlexCan module to the S32 project of the Dual motor control Demo board</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/160-160-160-160-160-The-question-about-adding-the-FlexCan-module/m-p/680869#M728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gusy,&lt;/P&gt;&lt;P&gt;I wanna add the FlexCan to the&amp;nbsp;S32 project of the Dual motor control Demo board,but there are some question in the progress,&lt;/P&gt;&lt;P&gt;Now,i describe the process of adding the FlexCan module：&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 22px; color: #0000ff;"&gt;&lt;STRONG&gt;1#,&lt;/STRONG&gt;&lt;/SPAN&gt;I built two files named FlexCan.h and FlexCan.c&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;FlexCan.c:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;*******************************************************************************&lt;BR /&gt; *&lt;BR /&gt; * This file includes initial setting function of MPC5643L FlexCan peripheral module.&lt;BR /&gt; *&lt;BR /&gt; ******************************************************************************/&lt;BR /&gt;#include "MPC5643L_qs.h"&lt;BR /&gt;#include "flexCan.h"&lt;/P&gt;&lt;P&gt;/******************************************************************************&lt;BR /&gt; * FlexCan functions&lt;BR /&gt; *****************************************************************************/&lt;BR /&gt;volatile FLEXCAN_tag *pFlexCan_0;&lt;BR /&gt;volatile FLEXCAN_tag *pFlexCan_1;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;FlexCan.h:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;*******************************************************************************&lt;BR /&gt;*&lt;BR /&gt;* This file includes initial setting and MACRO definitions of MPC5643L FlexCan&lt;BR /&gt;* peripheral module.&lt;BR /&gt;*&lt;BR /&gt;******************************************************************************/&lt;BR /&gt;#ifndef _FlexCan_H_&lt;BR /&gt;#define _FlexCan_H_&lt;BR /&gt;/******************************************************************************&lt;BR /&gt;* Global FlexCan variables definition&lt;BR /&gt;******************************************************************************/&lt;BR /&gt;// Pointer to FlexCan structure&lt;BR /&gt;extern volatile FLEXCAN_tag *pFlexCan_0;&lt;BR /&gt;extern volatile FLEXCAN_tag *pFlexCan_1;&lt;/P&gt;&lt;P&gt;/******************************************************************************&lt;BR /&gt;* FlexCan MACRO definitions&lt;BR /&gt;******************************************************************************/&lt;/P&gt;&lt;P&gt;/******************************************************************************&lt;BR /&gt;* FlexCan registers bit definition&lt;BR /&gt;******************************************************************************/&lt;/P&gt;&lt;P&gt;/******************************************************************************&lt;BR /&gt;* Exported functions&lt;BR /&gt;*******************************************************************************/&lt;BR /&gt;extern void Delay(void);&lt;BR /&gt;extern void InitFlexCAN_0(void);&lt;BR /&gt;extern void InitFlexCAN_1(void);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;#endif /* _FlexCan_H_ */&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 22px;"&gt;&lt;STRONG&gt;2#,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;add the header file to the MPC5643L_periph.h shown as below:&lt;/P&gt;&lt;P&gt;*******************************************************************************&lt;BR /&gt;*&lt;BR /&gt;* Detailed Description of the file.&lt;BR /&gt;*&lt;BR /&gt;******************************************************************************/&lt;BR /&gt;#include "siul.h"&lt;BR /&gt;#include "flexpwm.h"&lt;BR /&gt;#include "ctu.h"&lt;BR /&gt;#include "adc.h"&lt;BR /&gt;#include "eTimer.h"&lt;BR /&gt;#include "pit.h"&lt;BR /&gt;#include "dspi.h"&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;#include "flexCan.h"&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 22px;"&gt;&lt;STRONG&gt;3#,&lt;SPAN style="color: #3d3d3d; font-weight: normal; font-size: 15px;"&gt;I built two files named MPC5643L_FlexCan_LLD.h and &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-weight: normal; font-size: 15px;"&gt;MPC5643L_FlexCan_LLD&lt;/SPAN&gt;&lt;STRONG style="color: #3d3d3d; font-weight: normal; font-size: 15px;"&gt;.c&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG style="color: #0000ff; font-size: 15px;"&gt;MPC5643L_FlexCan_LLD.h:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;*******************************************************************************&lt;BR /&gt;*&lt;BR /&gt;* This file includes initial setting and MACRO definitions of MPC5643L FlexCan&lt;BR /&gt;* peripheral module.&lt;BR /&gt;*&lt;BR /&gt;******************************************************************************/&lt;/P&gt;&lt;P&gt;#ifndef _MPC5643L_FlexCan_LLD_H_&lt;BR /&gt;#define _MPC5643L_FlexCan_LLD_H_&lt;/P&gt;&lt;P&gt;#ifdef __cplusplus&lt;BR /&gt;extern "C" {&lt;BR /&gt;#endif&lt;/P&gt;&lt;P&gt;#define FlexCan0_BASE 0xFFFC0000&lt;BR /&gt;#define FlexCan1_BASE 0xFFEC4000&lt;/P&gt;&lt;P&gt;/*******************************/&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#ifdef __cplusplus&lt;BR /&gt;}&lt;BR /&gt;#endif&lt;/P&gt;&lt;P&gt;#endif /* _MPC5643L_FlexCan_LLD_H_ */&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;&lt;SPAN style="font-size: 15px;"&gt;MPC5643L_FlexCan_LLD&lt;/SPAN&gt;&lt;SPAN style="font-size: 15px;"&gt;.c:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;*******************************************************************************&lt;BR /&gt;*&lt;BR /&gt;* This file includes initial setting functions of MPC5643L FlexCan module.&lt;BR /&gt;*&lt;BR /&gt;******************************************************************************/&lt;BR /&gt;#include "MPC5643L_qs.h"&lt;BR /&gt;#include "MPC5643L_FlexCan_LLD.h"&lt;/P&gt;&lt;P&gt;/******************************************************************************&lt;BR /&gt;* FlexCan functions&lt;BR /&gt;*****************************************************************************/&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 22px;"&gt;&lt;STRONG&gt;4#,&lt;/STRONG&gt;&lt;/SPAN&gt;add the header file the MPC5643L_FlexCan_LLD.h to &amp;nbsp;MPC5643L_LLD.h&amp;nbsp;shown as below:&lt;/P&gt;&lt;P&gt;*******************************************************************************&lt;BR /&gt;*&lt;BR /&gt;* Detailed Description of the file.&lt;BR /&gt;*&lt;BR /&gt;******************************************************************************/&lt;BR /&gt;#include "MPC5643L_ADC_LLD.h"&lt;BR /&gt;#include "MPC5643L_CTU_LLD.h"&lt;BR /&gt;#include "MPC5643L_DSPI_LLD.h"&lt;BR /&gt;#include "MPC5643L_ETIMER_LLD.h"&lt;BR /&gt;#include "MPC5643L_FlexPWM_LLD.h"&lt;BR /&gt;#include "MPC5643L_PIT_LLD.h"&lt;BR /&gt;#include "MPC5643L_SIUL_LLD.h"&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;#include &amp;lt;MPC5643L_FlexCan_LLD.h&amp;gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;But there are some error popup,shown as below:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="187855_187855.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/123061i77F2E3138BE0CD7E/image-size/large?v=v2&amp;amp;px=999" role="button" title="187855_187855.png" alt="187855_187855.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_38.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/24479iA76DB4C4DF520B0F/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_38.png" alt="pastedImage_38.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The tip seems said that &amp;nbsp;undefined the initFlexCan_0,but i clearly define the function in the&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;flexCan.h and&amp;nbsp;&amp;nbsp;flexCan.c&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&gt;I don't konw how to deal with it,The attachment is the S32 project.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338582"&gt;Test_2.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Jul 2017 04:59:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/160-160-160-160-160-The-question-about-adding-the-FlexCan-module/m-p/680869#M728</guid>
      <dc:creator>edenli</dc:creator>
      <dc:date>2017-07-02T04:59:37Z</dc:date>
    </item>
    <item>
      <title>Re: 	The question about adding the FlexCan module to the S32 project of the Dual motor control Demo board</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/160-160-160-160-160-The-question-about-adding-the-FlexCan-module/m-p/680870#M729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/edenli"&gt;edenli&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems like your function definitions are not included by the main.c&lt;/P&gt;&lt;P&gt;As far as i can see the&amp;nbsp;FlexCan.h is not included by any of the other headers used in main.c&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i include it from main.c it seems to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jul 2017 09:15:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/160-160-160-160-160-The-question-about-adding-the-FlexCan-module/m-p/680870#M729</guid>
      <dc:creator>Daniel_Popa</dc:creator>
      <dc:date>2017-07-03T09:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: 	The question about adding the FlexCan module to the S32 project of the Dual motor control Demo board</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/160-160-160-160-160-The-question-about-adding-the-FlexCan-module/m-p/680871#M730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;the header file&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;FlexCan.h is included in the file &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;MPC5643L_qs.h&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&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/25006i59E7BE7E1079E2B1/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 style="color: #ff0000;"&gt;&lt;STRONG style="background-color: #ffffff;"&gt;and then&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&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/25099iD1A77DBCA054AF23/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;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG style="background-color: #ffffff;"&gt;next:&lt;/STRONG&gt;&lt;/SPAN&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/25187i1405D149F5D91B84/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;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;So the flexCan.h include in the main.c&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;but &amp;nbsp;still has the error:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_13.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/25238i932174A00724D135/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_13.png" alt="pastedImage_13.png" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;How to deal with it,Daniel?&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jul 2017 14:04:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/160-160-160-160-160-The-question-about-adding-the-FlexCan-module/m-p/680871#M730</guid>
      <dc:creator>edenli</dc:creator>
      <dc:date>2017-07-03T14:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: 	The question about adding the FlexCan module to the S32 project of the Dual motor control Demo board</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/160-160-160-160-160-The-question-about-adding-the-FlexCan-module/m-p/680872#M731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/edenli"&gt;edenli&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I managed to reproduce your issue and fix it - but i have no explanation for this behavior (you might need to ask the guys from S32DS Community)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, how to fix it:&lt;/P&gt;&lt;P&gt;#1: Change the FlexCAN.&lt;STRONG&gt;C&lt;/STRONG&gt; into FlexCAN.&lt;STRONG&gt;c&amp;nbsp;&lt;/STRONG&gt;(looks like the *.C is associated with C++ source files)&lt;/P&gt;&lt;P&gt;#2: delete the &lt;STRONG&gt;Debug&lt;/STRONG&gt; folder and use &lt;STRONG&gt;Clean Project&lt;/STRONG&gt; command to remove any other intermediate files&lt;/P&gt;&lt;P&gt;#3: Build the project and it should work fine now that all the source file are with "*.c" extension&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this resolve your issue.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jul 2017 19:10:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/160-160-160-160-160-The-question-about-adding-the-FlexCan-module/m-p/680872#M731</guid>
      <dc:creator>Daniel_Popa</dc:creator>
      <dc:date>2017-07-03T19:10:33Z</dc:date>
    </item>
    <item>
      <title>Re: 	The question about adding the FlexCan module to the S32 project of the Dual motor control Demo board</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/160-160-160-160-160-The-question-about-adding-the-FlexCan-module/m-p/680873#M732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;Thank you for your reply!&lt;/P&gt;&lt;P&gt;Next,The question about the S32 ,i will realse to the&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;S32DS Community,Now i solve the question&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Best Regards!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Eden Li&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jul 2017 10:08:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/160-160-160-160-160-The-question-about-adding-the-FlexCan-module/m-p/680873#M732</guid>
      <dc:creator>edenli</dc:creator>
      <dc:date>2017-07-04T10:08:38Z</dc:date>
    </item>
    <item>
      <title>Re: 	The question about adding the FlexCan module to the S32 project of the Dual motor control Demo board</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/160-160-160-160-160-The-question-about-adding-the-FlexCan-module/m-p/680874#M733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/edenli"&gt;edenli&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;Glad to find you fix it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In general - such questions are better to be addressed on the community responsible for that particular tool since they know better all the options. Nevertheless, we are trying to help with suggestion all of our members.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jul 2017 11:22:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/160-160-160-160-160-The-question-about-adding-the-FlexCan-module/m-p/680874#M733</guid>
      <dc:creator>Daniel_Popa</dc:creator>
      <dc:date>2017-07-04T11:22:16Z</dc:date>
    </item>
  </channel>
</rss>

