<?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 Re: For FLEXCAN, I use the receive interrupt enable, but send interrupt disabled, how to operate？ in S32K</title>
    <link>https://community.nxp.com/t5/S32K/For-FLEXCAN-I-use-the-receive-interrupt-enable-but-send/m-p/714504#M1579</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;Could you please provide more details about your use case? As for my understanding, do you need to disable interrupts when transmitting data and keep them enabled only for receiving data?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Sep 2017 12:08:30 GMT</pubDate>
    <dc:creator>AnaAldescu</dc:creator>
    <dc:date>2017-09-04T12:08:30Z</dc:date>
    <item>
      <title>For FLEXCAN, I use the receive interrupt enable, but send interrupt disabled, how to operate？</title>
      <link>https://community.nxp.com/t5/S32K/For-FLEXCAN-I-use-the-receive-interrupt-enable-but-send/m-p/714502#M1577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For FLEXCAN, I use the receive interrupt enable, but send interrupt disabled, how to operate？&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I transmission the data, I do not want to trigger an interrupt。&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Please help me.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Thank you.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Best Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Sep 2017 09:56:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/For-FLEXCAN-I-use-the-receive-interrupt-enable-but-send/m-p/714502#M1577</guid>
      <dc:creator>jia_xuan</dc:creator>
      <dc:date>2017-09-04T09:56:16Z</dc:date>
    </item>
    <item>
      <title>Re: For FLEXCAN, I use the receive interrupt enable, but send interrupt disabled, how to operate？</title>
      <link>https://community.nxp.com/t5/S32K/For-FLEXCAN-I-use-the-receive-interrupt-enable-but-send/m-p/714503#M1578</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;The Message Buffer interrupt is enabled if respective bit in IMASK1 register is set. Then if flag is set in the IFLAG1 register the interrupt is called. The flag is cleared by writing 1 to respective bit in the IFLAG1.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;If you do not want to have interrupt generated after successful message transmission, then clear respective bit in IMASK1 register.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;BR, Petr&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Sep 2017 12:06:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/For-FLEXCAN-I-use-the-receive-interrupt-enable-but-send/m-p/714503#M1578</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2017-09-04T12:06:34Z</dc:date>
    </item>
    <item>
      <title>Re: For FLEXCAN, I use the receive interrupt enable, but send interrupt disabled, how to operate？</title>
      <link>https://community.nxp.com/t5/S32K/For-FLEXCAN-I-use-the-receive-interrupt-enable-but-send/m-p/714504#M1579</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;Could you please provide more details about your use case? As for my understanding, do you need to disable interrupts when transmitting data and keep them enabled only for receiving data?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Sep 2017 12:08:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/For-FLEXCAN-I-use-the-receive-interrupt-enable-but-send/m-p/714504#M1579</guid>
      <dc:creator>AnaAldescu</dc:creator>
      <dc:date>2017-09-04T12:08:30Z</dc:date>
    </item>
    <item>
      <title>Re: For FLEXCAN, I use the receive interrupt enable, but send interrupt disabled, how to operate？</title>
      <link>https://community.nxp.com/t5/S32K/For-FLEXCAN-I-use-the-receive-interrupt-enable-but-send/m-p/714505#M1580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I want to receive data when the interrupt is triggered, but when sending data does not trigger the interrupt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to add &lt;SPAN&gt;NVIC_DisableIRQ(CAN0_ORed_0_15_MB_IRQn)&lt;/SPAN&gt;&amp;nbsp;and &lt;SPAN&gt;NVIC_EnableIRQ(CAN0_ORed_0_15_MB_IRQn)&lt;/SPAN&gt;&amp;nbsp;at the beginning and end of the send function, but did not succeed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#define TX_MAILBOX (8UL)&lt;BR /&gt;#define RX_MAILBOX (0UL)&lt;BR /&gt;void SendCANData(uint32_t mailbox, uint32_t messageId, uint8_t * data, uint32_t len)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp; &amp;nbsp; //NVIC_DisableIRQ(CAN0_ORed_0_15_MB_IRQn);&lt;BR /&gt;&amp;nbsp; &amp;nbsp; flexcan_data_info_t dataInfo =&lt;BR /&gt;&amp;nbsp; &amp;nbsp;{&lt;BR /&gt;&amp;nbsp; &amp;nbsp; .data_length = len,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; .msg_id_type = FLEXCAN_MSG_ID_EXT,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; .enable_brs = false,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; .fd_enable = false,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; .fd_padding = 0U&lt;BR /&gt;&amp;nbsp; &amp;nbsp; };&lt;BR /&gt;&amp;nbsp; &amp;nbsp; FLEXCAN_DRV_ConfigTxMb(INST_CANCOM1, mailbox, &amp;amp;dataInfo, messageId);&lt;BR /&gt;&amp;nbsp; &amp;nbsp; FLEXCAN_DRV_Send(INST_CANCOM1, mailbox, &amp;amp;dataInfo, messageId, data);&lt;BR /&gt;&amp;nbsp; &amp;nbsp; //NVIC_EnableIRQ(CAN0_ORed_0_15_MB_IRQn);&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;/*Interrupt callback function*/&lt;/P&gt;&lt;P&gt;void HAL_CAN0_Callback(void)&amp;nbsp;&lt;BR /&gt;{&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; if( (recvBuff.msgId == 1)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;InsertCanQueue(recvBuff);&lt;BR /&gt;&amp;nbsp; &amp;nbsp; }&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Sep 2017 01:33:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/For-FLEXCAN-I-use-the-receive-interrupt-enable-but-send/m-p/714505#M1580</guid>
      <dc:creator>jia_xuan</dc:creator>
      <dc:date>2017-09-05T01:33:29Z</dc:date>
    </item>
  </channel>
</rss>

