<?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>Model-Based Design Toolbox (MBDT)のトピックRe: s32k144 can interrupt recieve</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/s32k144-can-interrupt-recieve/m-p/868454#M2887</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/victor_song_171819@163.com"&gt;victor_song_171819@163.com&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is not necessary to enable can_fd, but it is to enable RX FIFO if you want to use this feature.&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;/P&gt;.fd_enable = false, // You do &lt;STRONG&gt;not need&lt;/STRONG&gt; this if you just want to use standard frames (no can fd)&lt;/BLOCKQUOTE&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;.is_rx_fifo_needed = true, // You &lt;STRONG&gt;need&lt;/STRONG&gt; this if you want to use RX FIFO&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As for your other question, I am not aware of such a document, but you can find examples from the SDK. For more information you can ask on&amp;nbsp;&lt;A _jive_internal="true" class="link-titled" href="https://community.nxp.com/community/s32/s32k/content" title="https://community.nxp.com/community/s32/s32k/content"&gt;S32K&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;community - there you'll get more in depth answers about anything regarding the CAN drivers.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Kind regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Razvan.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Mar 2019 12:43:04 GMT</pubDate>
    <dc:creator>constantinrazva</dc:creator>
    <dc:date>2019-03-19T12:43:04Z</dc:date>
    <item>
      <title>s32k144 can interrupt recieve</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/s32k144-can-interrupt-recieve/m-p/868448#M2881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to use can interrupt to recieve data. when send can data ,it can enter interrupt,but when recieve can data via USB-CAN ,it not work and can not enter interrupt. Code below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void CAN_IRQ_Callback(uint8_t instance, flexcan_event_type_t eventType,flexcan_state_t *flexcanState)&lt;BR /&gt;{&lt;BR /&gt; if(eventType == FLEXCAN_EVENT_RXFIFO_COMPLETE)flag_rx_can = true;&lt;BR /&gt; else if(eventType == FLEXCAN_EVENT_TX_COMPLETE)flag_tx_can = true;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;int main()&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;..........&lt;/P&gt;&lt;P&gt;INT_SYS_EnableIRQ(CAN0_ORed_0_15_MB_IRQn);&lt;BR /&gt; INT_SYS_SetPriority(CAN0_ORed_0_15_MB_IRQn,0U);&lt;/P&gt;&lt;P&gt;FLEXCAN_DRV_Init(INST_CANCOM1, &amp;amp;canCom1_State, &amp;amp;canCom1_InitConfig0);&lt;/P&gt;&lt;P&gt;FLEXCAN_DRV_ConfigRxFifo(INST_CANCOM1,FLEXCAN_RX_FIFO_ID_FORMAT_A,&amp;amp;can_id_table);&lt;/P&gt;&lt;P&gt;FLEXCAN_DRV_InstallEventCallback(INST_CANCOM1, CAN_IRQ_Callback, (void *)NULL);&lt;/P&gt;&lt;P&gt;FLEXCAN_DRV_Receive(INST_CANCOM1,0U,&amp;amp;can_rx_buff);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;while(1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if(&lt;SPAN&gt;flag_rx_can&amp;nbsp;&lt;/SPAN&gt;){......}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;else if(&lt;SPAN&gt;flag_tx_can&amp;nbsp;&lt;/SPAN&gt;){......}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Mar 2019 01:21:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/s32k144-can-interrupt-recieve/m-p/868448#M2881</guid>
      <dc:creator>victor_song_171</dc:creator>
      <dc:date>2019-03-19T01:21:14Z</dc:date>
    </item>
    <item>
      <title>Re: s32k144 can interrupt recieve</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/s32k144-can-interrupt-recieve/m-p/868449#M2882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/victor_song_171819@163.com"&gt;victor_song_171819@163.com&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a few questions to get a better understanding: did you debug the code and it did not enter&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;CAN_IRQ_Callback function, or did you check just the running application and see it did not execute whatever code it was inside if(flag_rx_can)? I don't see exactly how the flags are defined, but to be sure the application works as expected, declare them as &lt;STRONG&gt;volatile&lt;/STRONG&gt;. Another question I have is regarding the&amp;nbsp;&lt;SPAN&gt;canCom1_InitConfig0 needed by the initialization function of fcan - what settings are you using? And one more thing - I think that MB0 (the one you are using on the receive function) should be configured - using&amp;nbsp;FLEXCAN_DRV_ConfigRxMb - before calling the Receive function.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;You should probably ask this question in the&amp;nbsp;&lt;A _jive_internal="true" class="link-titled" href="https://community.nxp.com/community/s32/s32k/content" title="https://community.nxp.com/community/s32/s32k/content"&gt;S32K&lt;/A&gt;&amp;nbsp;community as there you'll get an answer from the guys that wrote the driver for flexcan - here we handle questions regarding MATLAB/Simulink and our toolboxes.&lt;/SPAN&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;Hope this helps,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;Razvan.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Mar 2019 08:57:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/s32k144-can-interrupt-recieve/m-p/868449#M2882</guid>
      <dc:creator>constantinrazva</dc:creator>
      <dc:date>2019-03-19T08:57:28Z</dc:date>
    </item>
    <item>
      <title>Re: s32k144 can interrupt recieve</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/s32k144-can-interrupt-recieve/m-p/868450#M2883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And one more thing - what version of SDK are you using? We used to have a problem using the RxFIFO interrupts in an earlier version - I think it got fixed somewhere in 2.9.x so if you are using 2.9.x or 3.0.0 this should not be&amp;nbsp;the problem - although it is always recommended to use the latest version. You can try and use 1 MB instead of RxFIFO and see if that is working just to be sure all the setup and configurations are ok and then upgrade the SDK (if you're using earlier versions).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Razvan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Mar 2019 09:33:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/s32k144-can-interrupt-recieve/m-p/868450#M2883</guid>
      <dc:creator>constantinrazva</dc:creator>
      <dc:date>2019-03-19T09:33:19Z</dc:date>
    </item>
    <item>
      <title>Re: s32k144 can interrupt recieve</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/s32k144-can-interrupt-recieve/m-p/868451#M2884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;First of all ,thanks for your asistance.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Did 'FLEXCAN_DRV_ConfigRxMb' function config the mailbox or message buffer? I confused . Is Mb short for Mailbox or Message buffer?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I debug the code ,when push button to transmit can frame,it can enter the callback function. but not work for recieve data from CANoe.&lt;/P&gt;&lt;P&gt;the flag_rx_can is volatile bool-type data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;const flexcan_user_config_t canCom1_InitConfig0 = {&lt;BR /&gt; .fd_enable = false,&lt;BR /&gt; .pe_clock = FLEXCAN_CLK_SOURCE_SOSCDIV2,&lt;BR /&gt; .max_num_mb = 16,&lt;BR /&gt; .num_id_filters = FLEXCAN_RX_FIFO_ID_FILTERS_8,&lt;BR /&gt; .is_rx_fifo_needed = false,&lt;BR /&gt; .flexcanMode = FLEXCAN_NORMAL_MODE,&lt;BR /&gt; .payload = FLEXCAN_PAYLOAD_SIZE_8,&lt;BR /&gt; .bitrate = {&lt;BR /&gt; .propSeg = 7,&lt;BR /&gt; .phaseSeg1 = 4,&lt;BR /&gt; .phaseSeg2 = 1,&lt;BR /&gt; .preDivider = 0,&lt;BR /&gt; .rJumpwidth = 1&lt;BR /&gt; },&lt;BR /&gt; .bitrate_cbt = {&lt;BR /&gt; .propSeg = 7,&lt;BR /&gt; .phaseSeg1 = 4,&lt;BR /&gt; .phaseSeg2 = 1,&lt;BR /&gt; .preDivider = 0,&lt;BR /&gt; .rJumpwidth = 1&lt;BR /&gt; },&lt;BR /&gt; .transfer_type = FLEXCAN_RXFIFO_USING_INTERRUPTS,&lt;BR /&gt; .rxFifoDMAChannel = 0U&lt;BR /&gt;};&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Mar 2019 09:47:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/s32k144-can-interrupt-recieve/m-p/868451#M2884</guid>
      <dc:creator>victor_song_171</dc:creator>
      <dc:date>2019-03-19T09:47:54Z</dc:date>
    </item>
    <item>
      <title>Re: s32k144 can interrupt recieve</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/s32k144-can-interrupt-recieve/m-p/868452#M2885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/victor_song_171819@163.com"&gt;victor_song_171819@163.com&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The SDK comes with documentation - accessible from {SDK_ROOT_DIR}\doc\Start_here.html. Here you can go to Modules -&amp;gt; Controller Area Network with Flexible Data Rate (FlexCAN) -&amp;gt; FlexCAN Driver (navigate from the list on the left). You can find all DRV functions and some details &amp;amp; info.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/65273i72B90636F2672765/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This is an example for the function that you are asking - when in doubt, you can double check with the documentation.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Mb refers to message buffer. The same goes for the FLEXCAN_DRV_Receive function - 2nd parameter, mb_idx, refers to the index of the message buffer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now for your settings - i think you need to enable RxFiFO from here (in red):&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;const flexcan_user_config_t canCom1_InitConfig0 = {&lt;/SPAN&gt;&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;.fd_enable = false,&lt;/SPAN&gt;&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;.pe_clock = FLEXCAN_CLK_SOURCE_SOSCDIV2,&lt;/SPAN&gt;&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;.max_num_mb = 16,&lt;/SPAN&gt;&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;.num_id_filters = FLEXCAN_RX_FIFO_ID_FILTERS_8,&lt;/SPAN&gt;&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;.is_rx_fifo_needed =&lt;STRONG&gt; &lt;SPAN style="color: #ff0000;"&gt;true&lt;/SPAN&gt;&lt;/STRONG&gt;, &lt;SPAN style="color: #3366ff;"&gt;&lt;STRONG&gt;&amp;lt;&amp;lt;&amp;lt;&lt;/STRONG&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;STRONG&gt;you had false here&lt;/STRONG&gt;&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;.flexcanMode = FLEXCAN_NORMAL_MODE,&lt;/SPAN&gt;&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;.payload = FLEXCAN_PAYLOAD_SIZE_8,&lt;/SPAN&gt;&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;.bitrate = {&lt;/SPAN&gt;&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;.propSeg = 7,&lt;/SPAN&gt;&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;.phaseSeg1 = 4,&lt;/SPAN&gt;&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;.phaseSeg2 = 1,&lt;/SPAN&gt;&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;.preDivider = 0,&lt;/SPAN&gt;&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;.rJumpwidth = 1&lt;/SPAN&gt;&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;},&lt;/SPAN&gt;&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;.bitrate_cbt = {&lt;/SPAN&gt;&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;.propSeg = 7,&lt;/SPAN&gt;&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;.phaseSeg1 = 4,&lt;/SPAN&gt;&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;.phaseSeg2 = 1,&lt;/SPAN&gt;&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;.preDivider = 0,&lt;/SPAN&gt;&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;.rJumpwidth = 1&lt;/SPAN&gt;&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;},&lt;/SPAN&gt;&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;.transfer_type = FLEXCAN_RXFIFO_USING_INTERRUPTS,&lt;/SPAN&gt;&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;.rxFifoDMAChannel = 0U&lt;/SPAN&gt;&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;};&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;One more note, I'm not sure if you need the .&lt;STRONG&gt;bitrate_cbt&amp;nbsp;&lt;/STRONG&gt;- when you have can_fd disabled, &lt;STRONG&gt;.bitrate&amp;nbsp;&lt;/STRONG&gt;is where you declare the bitrate for standard frames; when you have can_fd enabled, in&amp;nbsp;&lt;STRONG&gt;.bitrate&lt;/STRONG&gt; you have bitrate for arbitration phase of FD frames and in&amp;nbsp;&lt;STRONG&gt;.bitrate_cbt&lt;/STRONG&gt; you have bitrate for data phase of FD frames.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;You should try first just to enable can_fd (.is_rx_fifo_needed set to true).&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Kind regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Razvan.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Mar 2019 10:18:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/s32k144-can-interrupt-recieve/m-p/868452#M2885</guid>
      <dc:creator>constantinrazva</dc:creator>
      <dc:date>2019-03-19T10:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: s32k144 can interrupt recieve</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/s32k144-can-interrupt-recieve/m-p/868453#M2886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just want CAN 2.0B, is that necessary to enable can_fd?&lt;/P&gt;&lt;P&gt;I am flesh to NXP's chip,so many thing is&amp;nbsp;strange and unfamiliar .Is there any document for "How to design the code for CAN interrupt" or something ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Mar 2019 12:22:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/s32k144-can-interrupt-recieve/m-p/868453#M2886</guid>
      <dc:creator>victor_song_171</dc:creator>
      <dc:date>2019-03-19T12:22:03Z</dc:date>
    </item>
    <item>
      <title>Re: s32k144 can interrupt recieve</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/s32k144-can-interrupt-recieve/m-p/868454#M2887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/victor_song_171819@163.com"&gt;victor_song_171819@163.com&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is not necessary to enable can_fd, but it is to enable RX FIFO if you want to use this feature.&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;/P&gt;.fd_enable = false, // You do &lt;STRONG&gt;not need&lt;/STRONG&gt; this if you just want to use standard frames (no can fd)&lt;/BLOCKQUOTE&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;.is_rx_fifo_needed = true, // You &lt;STRONG&gt;need&lt;/STRONG&gt; this if you want to use RX FIFO&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As for your other question, I am not aware of such a document, but you can find examples from the SDK. For more information you can ask on&amp;nbsp;&lt;A _jive_internal="true" class="link-titled" href="https://community.nxp.com/community/s32/s32k/content" title="https://community.nxp.com/community/s32/s32k/content"&gt;S32K&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;community - there you'll get more in depth answers about anything regarding the CAN drivers.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Kind regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Razvan.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Mar 2019 12:43:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/s32k144-can-interrupt-recieve/m-p/868454#M2887</guid>
      <dc:creator>constantinrazva</dc:creator>
      <dc:date>2019-03-19T12:43:04Z</dc:date>
    </item>
  </channel>
</rss>

