<?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>FreeMASTER中的主题 Re: (ENG) Freemaster CAN connection (NTBMS Board)</title>
    <link>https://community.nxp.com/t5/FreeMASTER/ENG-Freemaster-CAN-connection-NTBMS-Board/m-p/1360634#M774</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/187526"&gt;@seyoung&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Did you configure the CAN peripheral as well ? Please note that the changes from your code snippets only instruct FreeMASTER which communication interface to use, the configuration should be done by the developer.&lt;/P&gt;
&lt;P&gt;This &lt;A href="https://community.nxp.com/t5/FreeMASTER/How-to-config-Freemaster-over-CAN-bus/m-p/1260062" target="_self"&gt;post&lt;/A&gt;&amp;nbsp;could provide some more info on this topic.&lt;/P&gt;
&lt;P&gt;Iulian&lt;/P&gt;</description>
    <pubDate>Mon, 25 Oct 2021 07:30:28 GMT</pubDate>
    <dc:creator>iulian_stan</dc:creator>
    <dc:date>2021-10-25T07:30:28Z</dc:date>
    <item>
      <title>(ENG) Freemaster CAN connection (NTBMS Board)</title>
      <link>https://community.nxp.com/t5/FreeMASTER/ENG-Freemaster-CAN-connection-NTBMS-Board/m-p/1360387#M772</link>
      <description>&lt;P&gt;Hello&lt;BR /&gt;NTBMS trial version is being tested.&lt;BR /&gt;Connection with FreeMaster is successful through UART communication, but CAN communication does not connect.&lt;BR /&gt;An error occurs as shown in the attached picture.&lt;BR /&gt;(The CAN converter uses Peak CAN-USB.)&lt;BR /&gt;(Should I use it as CAN-FD?)&lt;/P&gt;&lt;P&gt;help me please..&lt;/P&gt;&lt;P&gt;The source code provided by the link below was used, and only the CAN part was modified.&lt;BR /&gt;&lt;A href="https://www.nxp.com/webapp/sps/download/preDownload.jsp?render=true" target="_blank"&gt;https://www.nxp.com/webapp/sps/download/preDownload.jsp?render=true&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Changed source code-&lt;/P&gt;&lt;P&gt;main.c (line 113)&lt;BR /&gt;INT_SYS_InstallHandler(CAN0_ORed_0_15_MB_IRQn, FMSTR_Isr, NULL );&lt;BR /&gt;&lt;FONT color="#339966"&gt;//INT_SYS_InstallHandler(LPUART2_RxTx_IRQn, FMSTR_Isr, NULL );&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;peripherals_init.c (line 88)&lt;BR /&gt;&lt;FONT color="#339966"&gt;//INT_SYS_EnableIRQ(LPTMR0_IRQn);&lt;/FONT&gt;&lt;BR /&gt;INT_SYS_EnableIRQ(CAN0_ORed_0_15_MB_IRQn);&lt;/P&gt;&lt;P&gt;freemaster_cfg.h (line 25)&lt;BR /&gt;#define FMSTR_LONG_INTR 0 &lt;FONT color="#339966"&gt;/* Complete message processing in interrupt */&lt;/FONT&gt;&lt;BR /&gt;#define FMSTR_SHORT_INTR 1&lt;FONT color="#339966"&gt; /* SCI FIFO-queuing done in interrupt */&lt;/FONT&gt;&lt;BR /&gt;#define FMSTR_POLL_DRIVEN 0 &lt;FONT color="#339966"&gt;/* No interrupt needed, polling only */&lt;/FONT&gt;&lt;BR /&gt;#define FMSTR_SCI_BASE 0x4006C000UL&lt;FONT color="#339966"&gt; /* LPUART1 base on S32K14x */&lt;/FONT&gt;&lt;BR /&gt;#define FMSTR_CAN_BASE 0x40024000UL &lt;FONT color="#339966"&gt;/* FlexCAN0 base on S32K14x */&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;#define FMSTR_DISABLE 0&amp;nbsp;&lt;/P&gt;&lt;P&gt;#define FMSTR_USE_LPUART 0&amp;nbsp;&lt;BR /&gt;#define FMSTR_USE_FLEXCAN 1&amp;nbsp;&lt;BR /&gt;&lt;FONT color="#339966"&gt;//#define FMSTR_USE_LPUART 1&amp;nbsp;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;//#define FMSTR_USE_FLEXCAN 0&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 24 Oct 2021 13:49:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/ENG-Freemaster-CAN-connection-NTBMS-Board/m-p/1360387#M772</guid>
      <dc:creator>seyoung</dc:creator>
      <dc:date>2021-10-24T13:49:00Z</dc:date>
    </item>
    <item>
      <title>Re: (ENG) Freemaster CAN connection (NTBMS Board)</title>
      <link>https://community.nxp.com/t5/FreeMASTER/ENG-Freemaster-CAN-connection-NTBMS-Board/m-p/1360634#M774</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/187526"&gt;@seyoung&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Did you configure the CAN peripheral as well ? Please note that the changes from your code snippets only instruct FreeMASTER which communication interface to use, the configuration should be done by the developer.&lt;/P&gt;
&lt;P&gt;This &lt;A href="https://community.nxp.com/t5/FreeMASTER/How-to-config-Freemaster-over-CAN-bus/m-p/1260062" target="_self"&gt;post&lt;/A&gt;&amp;nbsp;could provide some more info on this topic.&lt;/P&gt;
&lt;P&gt;Iulian&lt;/P&gt;</description>
      <pubDate>Mon, 25 Oct 2021 07:30:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/ENG-Freemaster-CAN-connection-NTBMS-Board/m-p/1360634#M774</guid>
      <dc:creator>iulian_stan</dc:creator>
      <dc:date>2021-10-25T07:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: (ENG) Freemaster CAN connection (NTBMS Board)</title>
      <link>https://community.nxp.com/t5/FreeMASTER/ENG-Freemaster-CAN-connection-NTBMS-Board/m-p/1360660#M775</link>
      <description>&lt;P&gt;Yes. I have set the CAN settings as shown in the figure below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="seyoung_3-1635148332625.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/159999iFDBCB23B89835840/image-size/medium?v=v2&amp;amp;px=400" role="button" title="seyoung_3-1635148332625.png" alt="seyoung_3-1635148332625.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Interrupt method: It does not go to the ISR function.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="seyoung_2-1635148219030.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/159998iDC3662520E2504AE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="seyoung_2-1635148219030.png" alt="seyoung_2-1635148219030.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Polling method: FMSTR_ProcessCanRx(), Tx() function is not executed.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="seyoung_4-1635148403905.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/160000i31F4322AF59C1541/image-size/medium?v=v2&amp;amp;px=400" role="button" title="seyoung_4-1635148403905.png" alt="seyoung_4-1635148403905.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Oct 2021 07:53:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/ENG-Freemaster-CAN-connection-NTBMS-Board/m-p/1360660#M775</guid>
      <dc:creator>seyoung</dc:creator>
      <dc:date>2021-10-25T07:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: (ENG) Freemaster CAN connection (NTBMS Board)</title>
      <link>https://community.nxp.com/t5/FreeMASTER/ENG-Freemaster-CAN-connection-NTBMS-Board/m-p/1360684#M776</link>
      <description>&lt;P&gt;My CAN setup is written as below.&lt;BR /&gt;Call FLEXCAN_Enable(), FLEXCAN_EnterFreezeMode(), FLEXCAN_Init() in the CAN_Init() function.&lt;/P&gt;&lt;P&gt;I am not good at English. Thank you for your understanding.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;status_t CAN_Init(can_instance_t instance, const can_user_config_t *config)&lt;BR /&gt;{&lt;BR /&gt;status_t status = STATUS_ERROR;&lt;BR /&gt;uint8_t index = 0;&lt;/P&gt;&lt;P&gt;/* Define CAN PAL over FLEXCAN */&lt;BR /&gt;#if (defined (CAN_OVER_FLEXCAN))&lt;BR /&gt;if ((uint8_t)instance &amp;lt;= FLEXCAN_HIGH_INDEX)&lt;BR /&gt;{&lt;BR /&gt;flexcan_user_config_t flexcanConfig;&lt;/P&gt;&lt;P&gt;/* Clear Rx FIFO state */&lt;BR /&gt;s_flexcanRxFifoState[instance].rxFifoEn = false;&lt;/P&gt;&lt;P&gt;/* Configure features implemented by PAL */&lt;BR /&gt;flexcanConfig.max_num_mb = config-&amp;gt;maxBuffNum;&lt;BR /&gt;flexcanConfig.flexcanMode = (flexcan_operation_modes_t) config-&amp;gt;mode;&lt;BR /&gt;flexcanConfig.fd_enable = config-&amp;gt;enableFD;&lt;BR /&gt;flexcanConfig.payload = (flexcan_fd_payload_size_t) config-&amp;gt;payloadSize;&lt;/P&gt;&lt;P&gt;flexcanConfig.bitrate.phaseSeg1 = config-&amp;gt;nominalBitrate.phaseSeg1;&lt;BR /&gt;flexcanConfig.bitrate.phaseSeg2 = config-&amp;gt;nominalBitrate.phaseSeg2;&lt;BR /&gt;flexcanConfig.bitrate.preDivider = config-&amp;gt;nominalBitrate.preDivider;&lt;BR /&gt;flexcanConfig.bitrate.propSeg = config-&amp;gt;nominalBitrate.propSeg;&lt;BR /&gt;flexcanConfig.bitrate.rJumpwidth = config-&amp;gt;nominalBitrate.rJumpwidth;&lt;/P&gt;&lt;P&gt;flexcanConfig.bitrate_cbt.phaseSeg1 = config-&amp;gt;dataBitrate.phaseSeg1;&lt;BR /&gt;flexcanConfig.bitrate_cbt.phaseSeg2 = config-&amp;gt;dataBitrate.phaseSeg2;&lt;BR /&gt;flexcanConfig.bitrate_cbt.preDivider = config-&amp;gt;dataBitrate.preDivider;&lt;BR /&gt;flexcanConfig.bitrate_cbt.propSeg = config-&amp;gt;dataBitrate.propSeg;&lt;BR /&gt;flexcanConfig.bitrate_cbt.rJumpwidth = config-&amp;gt;dataBitrate.rJumpwidth;&lt;/P&gt;&lt;P&gt;#if FEATURE_CAN_HAS_PE_CLKSRC_SELECT&lt;BR /&gt;flexcan_clk_source_t flexcanPEClkNames[FEATURE_CAN_PE_CLK_NUM] = FLEXCAN_PE_CLOCK_NAMES;&lt;BR /&gt;flexcanConfig.pe_clock = flexcanPEClkNames[0];&lt;BR /&gt;#endif&lt;/P&gt;&lt;P&gt;/* If extension is used, configure Rx FIFO */&lt;BR /&gt;if (config-&amp;gt;extension != NULL)&lt;BR /&gt;{&lt;BR /&gt;flexcanConfig.is_rx_fifo_needed = true;&lt;BR /&gt;flexcanConfig.num_id_filters = ((extension_flexcan_rx_fifo_t *)&lt;BR /&gt;(config-&amp;gt;extension))-&amp;gt;numIdFilters;&lt;BR /&gt;flexcanConfig.rxFifoDMAChannel = 0U;&lt;BR /&gt;flexcanConfig.transfer_type = FLEXCAN_RXFIFO_USING_INTERRUPTS;&lt;/P&gt;&lt;P&gt;/* Compute maximum number of virtual buffers */&lt;BR /&gt;flexcanConfig.max_num_mb += CAN_GetVirtualBuffIdx(flexcanConfig.num_id_filters);&lt;/P&gt;&lt;P&gt;/* Update Rx FIFO state */&lt;BR /&gt;s_flexcanRxFifoState[instance].rxFifoEn = true;&lt;BR /&gt;s_flexcanRxFifoState[instance].numIdFilters = flexcanConfig.num_id_filters;&lt;BR /&gt;}&lt;BR /&gt;else&lt;BR /&gt;{&lt;BR /&gt;flexcanConfig.is_rx_fifo_needed = false;&lt;BR /&gt;flexcanConfig.num_id_filters = FLEXCAN_RX_FIFO_ID_FILTERS_8;&lt;BR /&gt;flexcanConfig.rxFifoDMAChannel = 0U;&lt;BR /&gt;flexcanConfig.transfer_type = FLEXCAN_RXFIFO_USING_INTERRUPTS;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;/* Allocate one of the FLEXCAN state structure for this instance */&lt;BR /&gt;index = CAN_AllocateState(s_flexcanStateIsAllocated,&lt;BR /&gt;s_flexcanStateInstanceMapping,&lt;BR /&gt;instance,&lt;BR /&gt;NO_OF_FLEXCAN_INSTS_FOR_CAN);&lt;BR /&gt;/* Initialize FLEXCAN instance */&lt;BR /&gt;status = FLEXCAN_DRV_Init((uint8_t)instance, &amp;amp;s_flexcanState[index], &amp;amp;flexcanConfig);&lt;/P&gt;&lt;P&gt;/* Configure Rx FIFO if needed */&lt;BR /&gt;if ((status == STATUS_SUCCESS) &amp;amp;&amp;amp; (s_flexcanRxFifoState[instance].rxFifoEn == true))&lt;BR /&gt;{&lt;BR /&gt;FLEXCAN_DRV_ConfigRxFifo(&lt;BR /&gt;(uint8_t) instance,&lt;BR /&gt;((extension_flexcan_rx_fifo_t *) (config-&amp;gt;extension))-&amp;gt;idFormat,&lt;BR /&gt;((extension_flexcan_rx_fifo_t *) (config-&amp;gt;extension))-&amp;gt;idFilterTable);&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;#endif&lt;/P&gt;&lt;P&gt;return status;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;void FLEXCAN_Enable(CAN_Type * base)&lt;BR /&gt;{&lt;BR /&gt;/* Check for low power mode */&lt;BR /&gt;if(((base-&amp;gt;MCR &amp;amp; CAN_MCR_LPMACK_MASK) &amp;gt;&amp;gt; CAN_MCR_LPMACK_SHIFT) == 1U)&lt;BR /&gt;{&lt;BR /&gt;/* Enable clock */&lt;BR /&gt;base-&amp;gt;MCR = (base-&amp;gt;MCR &amp;amp; ~CAN_MCR_MDIS_MASK) | CAN_MCR_MDIS(0U);&lt;BR /&gt;base-&amp;gt;MCR = (base-&amp;gt;MCR &amp;amp; ~CAN_MCR_FRZ_MASK) | CAN_MCR_FRZ(0U);&lt;BR /&gt;base-&amp;gt;MCR = (base-&amp;gt;MCR &amp;amp; ~CAN_MCR_HALT_MASK) | CAN_MCR_HALT(0U);&lt;BR /&gt;/* Wait until enabled */&lt;BR /&gt;while (((base-&amp;gt;MCR &amp;amp; CAN_MCR_LPMACK_MASK) &amp;gt;&amp;gt; CAN_MCR_LPMACK_SHIFT) != 0U) {}&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;void FLEXCAN_EnterFreezeMode(CAN_Type * base)&lt;BR /&gt;{&lt;BR /&gt;base-&amp;gt;MCR = (base-&amp;gt;MCR &amp;amp; ~CAN_MCR_FRZ_MASK) | CAN_MCR_FRZ(1U);&lt;BR /&gt;base-&amp;gt;MCR = (base-&amp;gt;MCR &amp;amp; ~CAN_MCR_HALT_MASK) | CAN_MCR_HALT(1U);&lt;/P&gt;&lt;P&gt;/* Wait for entering the freeze mode */&lt;BR /&gt;while (((base-&amp;gt;MCR &amp;amp; CAN_MCR_FRZACK_MASK) &amp;gt;&amp;gt; CAN_MCR_FRZACK_SHIFT) == 0U) {}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;void FLEXCAN_Init(CAN_Type * base)&lt;BR /&gt;{&lt;BR /&gt;/* Reset the FLEXCAN */&lt;BR /&gt;base-&amp;gt;MCR = (base-&amp;gt;MCR &amp;amp; ~CAN_MCR_SOFTRST_MASK) | CAN_MCR_SOFTRST(1U);&lt;/P&gt;&lt;P&gt;/* Wait for reset cycle to complete */&lt;BR /&gt;while (((base-&amp;gt;MCR &amp;amp; CAN_MCR_SOFTRST_MASK) &amp;gt;&amp;gt; CAN_MCR_SOFTRST_SHIFT) != 0U) {}&lt;/P&gt;&lt;P&gt;/* Clear FlexCAN memory */&lt;BR /&gt;FLEXCAN_ClearRAM(base);&lt;/P&gt;&lt;P&gt;/* Rx global mask*/&lt;BR /&gt;(base-&amp;gt;RXMGMASK) = (((uint32_t)(((uint32_t)(CAN_RXMGMASK_MG_MASK)) &amp;lt;&amp;lt; CAN_ID_EXT_SHIFT)) &amp;amp; (CAN_ID_STD_MASK | CAN_ID_EXT_MASK));&lt;/P&gt;&lt;P&gt;/* Rx reg 14 mask*/&lt;BR /&gt;(base-&amp;gt;RX14MASK) = (((uint32_t)(((uint32_t)(CAN_RX14MASK_RX14M_MASK)) &amp;lt;&amp;lt; CAN_ID_EXT_SHIFT)) &amp;amp; (CAN_ID_STD_MASK | CAN_ID_EXT_MASK));&lt;/P&gt;&lt;P&gt;/* Rx reg 15 mask*/&lt;BR /&gt;(base-&amp;gt;RX15MASK) = (((uint32_t)(((uint32_t)(CAN_RX15MASK_RX15M_MASK)) &amp;lt;&amp;lt; CAN_ID_EXT_SHIFT)) &amp;amp; (CAN_ID_STD_MASK | CAN_ID_EXT_MASK));&lt;/P&gt;&lt;P&gt;/* Disable all MB interrupts */&lt;BR /&gt;(base-&amp;gt;IMASK1) = 0x0;&lt;BR /&gt;/* Clear all MB interrupt flags */&lt;BR /&gt;(base-&amp;gt;IFLAG1) = CAN_IMASK1_BUF31TO0M_MASK;&lt;BR /&gt;#if FEATURE_CAN_MAX_MB_NUM &amp;gt; 32U&lt;BR /&gt;(base-&amp;gt;IMASK2) = 0x0;&lt;BR /&gt;(base-&amp;gt;IFLAG2) = CAN_IMASK2_BUF63TO32M_MASK;&lt;BR /&gt;#endif&lt;BR /&gt;#if FEATURE_CAN_MAX_MB_NUM &amp;gt; 64U&lt;BR /&gt;(base-&amp;gt;IMASK3) = 0x0;&lt;BR /&gt;(base-&amp;gt;IFLAG3) = CAN_IMASK3_BUF95TO64M_MASK;&lt;BR /&gt;#endif&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Mon, 25 Oct 2021 08:09:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/ENG-Freemaster-CAN-connection-NTBMS-Board/m-p/1360684#M776</guid>
      <dc:creator>seyoung</dc:creator>
      <dc:date>2021-10-25T08:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: (ENG) Freemaster CAN connection (NTBMS Board)</title>
      <link>https://community.nxp.com/t5/FreeMASTER/ENG-Freemaster-CAN-connection-NTBMS-Board/m-p/1360700#M777</link>
      <description>&lt;P&gt;The pin mux settings are as follows.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="figure1.JPG" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/160008iABFC8CE108E4F194/image-size/large?v=v2&amp;amp;px=999" role="button" title="figure1.JPG" alt="figure1.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Oct 2021 08:20:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/ENG-Freemaster-CAN-connection-NTBMS-Board/m-p/1360700#M777</guid>
      <dc:creator>seyoung</dc:creator>
      <dc:date>2021-10-25T08:20:26Z</dc:date>
    </item>
    <item>
      <title>Re: (ENG) Freemaster CAN connection (NTBMS Board)</title>
      <link>https://community.nxp.com/t5/FreeMASTER/ENG-Freemaster-CAN-connection-NTBMS-Board/m-p/1360769#M778</link>
      <description>&lt;P&gt;I guess these are SDK functions - you did not change them and just call&amp;nbsp;&lt;SPAN&gt;CAN_Init in your custom code. Is that right ? (Just a tip - y&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit;"&gt;ou don't need to share this code, a print screen of your configuration from ProcessorExpert and SDK version should provide all the info so I can reproduce it on my side).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Could you check&amp;nbsp;MCR[AEN] flag after CAN initialization is done ?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/160019i69C2C85A49801D58/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If it's set to 1 you need to disable it as I mentioned in the other post.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If not - could you tell me what version of S32DS and SDK versions are you using so I can check it on my side.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Oct 2021 09:35:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/ENG-Freemaster-CAN-connection-NTBMS-Board/m-p/1360769#M778</guid>
      <dc:creator>iulian_stan</dc:creator>
      <dc:date>2021-10-25T09:35:14Z</dc:date>
    </item>
    <item>
      <title>Re: (ENG) Freemaster CAN connection (NTBMS Board)</title>
      <link>https://community.nxp.com/t5/FreeMASTER/ENG-Freemaster-CAN-connection-NTBMS-Board/m-p/1360797#M779</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I guess these are SDK functions - you did not change them and just call&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;CAN_Init in your custom code. Is that right ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;--&amp;gt;&amp;nbsp;I can't confirm if this has changed.&amp;nbsp;&lt;/SPAN&gt;I have downloaded the source provided by NXP and am using it.&lt;BR /&gt;(Downloaded from the link below.)&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.nxp.com/webapp/sps/download/preDownload.jsp?render=true" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.nxp.com/webapp/sps/download/preDownload.jsp?render=true&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Could you check&amp;nbsp;MCR[AEN] flag after CAN initialization is done ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;--&amp;gt; Yes, AEN resolves to zero.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="figure1.JPG" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/160021i7A8650A16C8C6F90/image-size/large?v=v2&amp;amp;px=999" role="button" title="figure1.JPG" alt="figure1.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will check my S32, SDK version.&lt;/P&gt;&lt;P&gt;S32 Design Studio for ARM Version: 2018.R1&lt;/P&gt;&lt;P&gt;SDK Version :&amp;nbsp;S32SDK_S32K14x_EAR_0.8.6 (I'm not sure if this is the version info.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Oct 2021 10:29:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/ENG-Freemaster-CAN-connection-NTBMS-Board/m-p/1360797#M779</guid>
      <dc:creator>seyoung</dc:creator>
      <dc:date>2021-10-25T10:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: (ENG) Freemaster CAN connection (NTBMS Board)</title>
      <link>https://community.nxp.com/t5/FreeMASTER/ENG-Freemaster-CAN-connection-NTBMS-Board/m-p/1360855#M780</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/187526"&gt;@seyoung&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;After downloading the BMS application I noticed that CAN0 is already in use - it cannot be used by both FreeMASTER and the main application - I think that's what is causing your issue.&lt;/P&gt;
&lt;P&gt;I am not a BMS engineer (not familiar with this application) so cannot give you the best way to work around this. Just as a suggestion - you may use another CAN instance.&lt;/P&gt;
&lt;P&gt;I attached a FreeMASTER demo app working over CAN - you'll see that the changes are similar to what you described so I guess the issue is not related to your configuration but the original application.&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Oct 2021 12:33:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/ENG-Freemaster-CAN-connection-NTBMS-Board/m-p/1360855#M780</guid>
      <dc:creator>iulian_stan</dc:creator>
      <dc:date>2021-10-25T12:33:10Z</dc:date>
    </item>
    <item>
      <title>Re: (ENG) Freemaster CAN connection (NTBMS Board)</title>
      <link>https://community.nxp.com/t5/FreeMASTER/ENG-Freemaster-CAN-connection-NTBMS-Board/m-p/1361111#M781</link>
      <description>&lt;P&gt;Dear iulian_stan&lt;BR /&gt;We thank you for your help, and we will try the attached application.&lt;BR /&gt;Thanks again for your kind help.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Oct 2021 01:21:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/ENG-Freemaster-CAN-connection-NTBMS-Board/m-p/1361111#M781</guid>
      <dc:creator>seyoung</dc:creator>
      <dc:date>2021-10-26T01:21:38Z</dc:date>
    </item>
  </channel>
</rss>

