<?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>S32K中的主题 Re: Can receive issue.</title>
    <link>https://community.nxp.com/t5/S32K/Can-receive-issue/m-p/790325#M2597</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &amp;nbsp;Alexandru,&lt;/P&gt;&lt;P&gt;1、I use&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;FLEXCAN_DRV_Receive in main like that:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;int main(void)&lt;BR /&gt;{flexcan_msgbuff_t canData;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;......&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;while(1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;if(FLEXCAN_DRV_Receive(INST_CANCOM1, 0, &amp;amp;canData) == STATUS_SUCCESS)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;{&lt;BR /&gt; PINS_DRV_TogglePins(PTE, (1 &amp;lt;&amp;lt; 11));&lt;BR /&gt; }&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;This is OK.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;2、If I use&amp;nbsp;&lt;SPAN&gt;FLEXCAN_DRV_Receive like that:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #3d3d3d;"&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;{flexcan_msgbuff_t canData;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #3d3d3d;"&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;......&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #3d3d3d;"&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;while(1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #3d3d3d;"&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #3d3d3d;"&gt;if(CANIF_Recv() &amp;gt; 0)&lt;/P&gt;&lt;P style="color: #3d3d3d;"&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;{&lt;BR /&gt;PINS_DRV_TogglePins(PTE, (1 &amp;lt;&amp;lt; 11));&lt;BR /&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #3d3d3d;"&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #3d3d3d;"&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #3d3d3d;"&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;And&amp;nbsp;&lt;SPAN style="color: #3d3d3d;"&gt;CANIF_Recv is defined in another C file:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;UINT16 CANIF_Recv(void)&lt;BR /&gt;{&lt;BR /&gt; flexcan_msgbuff_t stCanData;&lt;BR /&gt; UINT8 i;&lt;/P&gt;&lt;P&gt;if(FLEXCAN_DRV_Receive(0, 0, &amp;amp;stCanData) == STATUS_SUCCESS)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;return 1;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;else&lt;BR /&gt; {&lt;BR /&gt; return 0;&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;When S32K146 received can frame, software will enter&amp;nbsp;DefaultISR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also supply my can initial code as follow:&lt;/P&gt;&lt;P&gt;flexcan_data_info_t dataInfo =&lt;BR /&gt; {&lt;BR /&gt; .data_length = 8U,&lt;BR /&gt; .enable_brs = 0,&lt;BR /&gt; .fd_enable = 0,&lt;BR /&gt; .fd_padding = 0U&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;FLEXCAN_DRV_Init(INST_CANCOM1, &amp;amp;canCom1_State, &amp;amp;canCom1_InitConfig0);&lt;BR /&gt; dataInfo.msg_id_type = FLEXCAN_MSG_ID_STD;&lt;/P&gt;&lt;P&gt;FLEXCAN_DRV_ConfigRxMb(0, 0, &amp;amp;dataInfo, 1);&lt;BR /&gt; FLEXCAN_DRV_SetRxMbGlobalMask(INST_CANCOM1, FLEXCAN_MSG_ID_STD, 0);&lt;BR /&gt; FLEXCAN_DRV_Receive(INST_CANCOM1, 0, &amp;amp;canData);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;The SDK Version is S32K146_SDK_gcc0.8.6.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 14 Jul 2018 17:43:12 GMT</pubDate>
    <dc:creator>赵子成</dc:creator>
    <dc:date>2018-07-14T17:43:12Z</dc:date>
    <item>
      <title>Can receive issue.</title>
      <link>https://community.nxp.com/t5/S32K/Can-receive-issue/m-p/790323#M2595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, everyone,&lt;/P&gt;&lt;P&gt;Now I use the S32K146, I use SDK code. I found that the function of&amp;nbsp;FLEXCAN_DRV_Receive can only be used in main function, if I use&amp;nbsp;FLEXCAN_DRV_Receive in other function, when&amp;nbsp;&lt;SPAN&gt;S32K146 receive can frame, it will reset. I don't know the reason, or someone encounter the same problem?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Jul 2018 08:11:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Can-receive-issue/m-p/790323#M2595</guid>
      <dc:creator>赵子成</dc:creator>
      <dc:date>2018-07-07T08:11:03Z</dc:date>
    </item>
    <item>
      <title>Re: Can receive issue.</title>
      <link>https://community.nxp.com/t5/S32K/Can-receive-issue/m-p/790324#M2596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share the code of function from which you called the&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;FLEXCAN_DRV_Receive that failed and what version of SDK did you use ?!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2018 14:15:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Can-receive-issue/m-p/790324#M2596</guid>
      <dc:creator>alexandrunan</dc:creator>
      <dc:date>2018-07-10T14:15:51Z</dc:date>
    </item>
    <item>
      <title>Re: Can receive issue.</title>
      <link>https://community.nxp.com/t5/S32K/Can-receive-issue/m-p/790325#M2597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &amp;nbsp;Alexandru,&lt;/P&gt;&lt;P&gt;1、I use&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;FLEXCAN_DRV_Receive in main like that:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;int main(void)&lt;BR /&gt;{flexcan_msgbuff_t canData;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;......&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;while(1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;if(FLEXCAN_DRV_Receive(INST_CANCOM1, 0, &amp;amp;canData) == STATUS_SUCCESS)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;{&lt;BR /&gt; PINS_DRV_TogglePins(PTE, (1 &amp;lt;&amp;lt; 11));&lt;BR /&gt; }&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;This is OK.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;2、If I use&amp;nbsp;&lt;SPAN&gt;FLEXCAN_DRV_Receive like that:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #3d3d3d;"&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;{flexcan_msgbuff_t canData;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #3d3d3d;"&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;......&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #3d3d3d;"&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;while(1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #3d3d3d;"&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #3d3d3d;"&gt;if(CANIF_Recv() &amp;gt; 0)&lt;/P&gt;&lt;P style="color: #3d3d3d;"&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;{&lt;BR /&gt;PINS_DRV_TogglePins(PTE, (1 &amp;lt;&amp;lt; 11));&lt;BR /&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #3d3d3d;"&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #3d3d3d;"&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #3d3d3d;"&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;And&amp;nbsp;&lt;SPAN style="color: #3d3d3d;"&gt;CANIF_Recv is defined in another C file:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;UINT16 CANIF_Recv(void)&lt;BR /&gt;{&lt;BR /&gt; flexcan_msgbuff_t stCanData;&lt;BR /&gt; UINT8 i;&lt;/P&gt;&lt;P&gt;if(FLEXCAN_DRV_Receive(0, 0, &amp;amp;stCanData) == STATUS_SUCCESS)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;return 1;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;else&lt;BR /&gt; {&lt;BR /&gt; return 0;&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;When S32K146 received can frame, software will enter&amp;nbsp;DefaultISR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also supply my can initial code as follow:&lt;/P&gt;&lt;P&gt;flexcan_data_info_t dataInfo =&lt;BR /&gt; {&lt;BR /&gt; .data_length = 8U,&lt;BR /&gt; .enable_brs = 0,&lt;BR /&gt; .fd_enable = 0,&lt;BR /&gt; .fd_padding = 0U&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;FLEXCAN_DRV_Init(INST_CANCOM1, &amp;amp;canCom1_State, &amp;amp;canCom1_InitConfig0);&lt;BR /&gt; dataInfo.msg_id_type = FLEXCAN_MSG_ID_STD;&lt;/P&gt;&lt;P&gt;FLEXCAN_DRV_ConfigRxMb(0, 0, &amp;amp;dataInfo, 1);&lt;BR /&gt; FLEXCAN_DRV_SetRxMbGlobalMask(INST_CANCOM1, FLEXCAN_MSG_ID_STD, 0);&lt;BR /&gt; FLEXCAN_DRV_Receive(INST_CANCOM1, 0, &amp;amp;canData);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;The SDK Version is S32K146_SDK_gcc0.8.6.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Jul 2018 17:43:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Can-receive-issue/m-p/790325#M2597</guid>
      <dc:creator>赵子成</dc:creator>
      <dc:date>2018-07-14T17:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: Can receive issue.</title>
      <link>https://community.nxp.com/t5/S32K/Can-receive-issue/m-p/790326#M2598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I figure what is causing the defaultISR, you kind miss use the driver, when you receive the first message and is proccesed by receiving ISR if you receive a second message you will trigger again the same isr and causing fault, because the&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;FLEXCAN_DRV_Receive arm again the isr and will mess the state-machine of the driver.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The correct usage will be :&lt;/P&gt;&lt;P&gt;uint16_t CANIF_Recv(void)&lt;BR /&gt;{&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;if(FLEXCAN_DRV_GetTransferStatus(0,0)==STATUS_SUCCESS)&lt;BR /&gt;{&lt;BR /&gt;return 1;&lt;BR /&gt;}&lt;BR /&gt;else&lt;BR /&gt;{&lt;BR /&gt;return 0;&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;void func(void)&lt;BR /&gt;{&lt;BR /&gt; flexcan_msgbuff_t stCanData;&lt;BR /&gt; FLEXCAN_DRV_Receive(0, 0, &amp;amp;stCanData);&lt;BR /&gt; while(1)&lt;BR /&gt; {&lt;BR /&gt; if(CANIF_Recv() &amp;gt; 0)&lt;BR /&gt; {&lt;BR /&gt; PINS_DRV_TogglePins(PTE, (1 &amp;lt;&amp;lt; 11));&lt;BR /&gt; }&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;And when you want to receive another frame call again func()...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jul 2018 06:41:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Can-receive-issue/m-p/790326#M2598</guid>
      <dc:creator>alexandrunan</dc:creator>
      <dc:date>2018-07-16T06:41:28Z</dc:date>
    </item>
    <item>
      <title>Re: Can receive issue.</title>
      <link>https://community.nxp.com/t5/S32K/Can-receive-issue/m-p/790327#M2599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="" style="color: #646464; background-color: #ffffff; border: 0px; font-weight: 200; font-size: 1.286rem; padding: 0px 0px 0px 30px;"&gt;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 18.004px;"&gt;Hi ,&lt;/SPAN&gt;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 18.004px;"&gt;Alexandru&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #646464; background-color: #ffffff; border: 0px; font-weight: 200; font-size: 1.286rem; padding: 0px 0px 0px 30px;"&gt;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 18.004px;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #646464; background-color: #ffffff; border: 0px; font-weight: 200; font-size: 1.286rem; padding: 0px 0px 0px 30px;"&gt;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 18.004px;"&gt;I don't know what is difference between my first usage and my second&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;usage about&amp;nbsp;&lt;SPAN style="color: #51626f;"&gt;FLEXCAN_DRV_Receive. The only diffenence is that the first&amp;nbsp;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;usage,&amp;nbsp;FLEXCAN_DRV_Receive is called in main func , and the second is&amp;nbsp;&lt;SPAN&gt;FLEXCAN_DRV_Receive is called in&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;CANIF_Recv func.&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #646464; background-color: #ffffff; border: 0px; font-weight: 200; font-size: 1.286rem; padding: 0px 0px 0px 30px;"&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; color: #646464; font-weight: inherit; font-size: 18.004px;"&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f;"&gt;You means the CAN interrupt is a nesting interrupt?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #646464; background-color: #ffffff; border: 0px; font-weight: 200; font-size: 1.286rem; padding: 0px 0px 0px 30px;"&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; color: #646464; font-weight: inherit; font-size: 18.004px;"&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f;"&gt;If I call&amp;nbsp; func() , that means it will enter the loop. So I can't write "while(1)" in func().&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; font-size: 18.004px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; I am sorry I need your detail explaination. I still don't understand.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2018 12:02:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Can-receive-issue/m-p/790327#M2599</guid>
      <dc:creator>赵子成</dc:creator>
      <dc:date>2018-07-18T12:02:57Z</dc:date>
    </item>
    <item>
      <title>Re: Can receive issue.</title>
      <link>https://community.nxp.com/t5/S32K/Can-receive-issue/m-p/790328#M2600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This was a functional example based on your code provided.&lt;/P&gt;&lt;P&gt;The driver flow is next configure the receiving MB with&amp;nbsp;&lt;SPAN style="color: #646464; background-color: #ffffff; font-weight: 200;"&gt;FLEXCAN_DRV_Receive; then wait the completion for receiving with&amp;nbsp;&amp;nbsp;&lt;SPAN style="color: #51626f; font-weight: 400;"&gt;FLEXCAN_DRV_GetTransferStatus to be success, this function only checks the status of the MB configured.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; font-weight: 400;"&gt;If you multiple call in a loop&amp;nbsp;FLEXCAN_DRV_Receive you can hit in the middle of a receive process, brake the flow of the driver state.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; font-weight: 400;"&gt;And yes the &lt;SPAN style="background-color: #ffffff; font-weight: 200;"&gt;CAN interrupt is a nesting interrupt.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2018 12:18:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Can-receive-issue/m-p/790328#M2600</guid>
      <dc:creator>alexandrunan</dc:creator>
      <dc:date>2018-07-18T12:18:56Z</dc:date>
    </item>
    <item>
      <title>Re: Can receive issue.</title>
      <link>https://community.nxp.com/t5/S32K/Can-receive-issue/m-p/790329#M2601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;Alexandru&lt;/P&gt;&lt;P&gt;It seems that If I config the CAN interrupt to non-nesting interrupt, this issue can be solved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2018 12:25:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Can-receive-issue/m-p/790329#M2601</guid>
      <dc:creator>赵子成</dc:creator>
      <dc:date>2018-07-18T12:25:15Z</dc:date>
    </item>
  </channel>
</rss>

