<?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 FlexCAN Interrupts in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FlexCAN-Interrupts/m-p/248218#M6787</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all.&lt;/P&gt;&lt;P&gt;I have a problem whit the interrupt Message buffer in FlexCAN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I configured the interrupt as: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#define FLEXCAN_MB1_INT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;lt;&amp;lt;(37%32)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;NVICICPR1 |= FLEXCAN_MB1_INT;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;NVICISER1 |= FLEXCAN_MB1_INT;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;//Message buffer&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then I set the flag in:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pFlexCANReg -&amp;gt; IMASK1 |= (1 &amp;lt;&amp;lt; mailboxindex);&amp;nbsp; //for tansmit or receive&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use the Tower TWR-K60DN100M with other Microcontroller brand and I'm trying to comunnicate them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I transmit the message from the Tower to other device, it receives the message, the flag in IFLAG1 is setting, &lt;/P&gt;&lt;P&gt;but when I transmit from other device to TWR-K60DN100M, it doesn't receive the message , the Flag in IFLAG1 isn't setting.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What's going on?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Aug 2013 16:49:05 GMT</pubDate>
    <dc:creator>ivanrobles</dc:creator>
    <dc:date>2013-08-09T16:49:05Z</dc:date>
    <item>
      <title>FlexCAN Interrupts</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FlexCAN-Interrupts/m-p/248218#M6787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all.&lt;/P&gt;&lt;P&gt;I have a problem whit the interrupt Message buffer in FlexCAN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I configured the interrupt as: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#define FLEXCAN_MB1_INT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;lt;&amp;lt;(37%32)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;NVICICPR1 |= FLEXCAN_MB1_INT;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;NVICISER1 |= FLEXCAN_MB1_INT;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;//Message buffer&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then I set the flag in:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pFlexCANReg -&amp;gt; IMASK1 |= (1 &amp;lt;&amp;lt; mailboxindex);&amp;nbsp; //for tansmit or receive&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use the Tower TWR-K60DN100M with other Microcontroller brand and I'm trying to comunnicate them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I transmit the message from the Tower to other device, it receives the message, the flag in IFLAG1 is setting, &lt;/P&gt;&lt;P&gt;but when I transmit from other device to TWR-K60DN100M, it doesn't receive the message , the Flag in IFLAG1 isn't setting.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What's going on?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Aug 2013 16:49:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FlexCAN-Interrupts/m-p/248218#M6787</guid>
      <dc:creator>ivanrobles</dc:creator>
      <dc:date>2013-08-09T16:49:05Z</dc:date>
    </item>
    <item>
      <title>Re: FlexCAN Interrupts</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FlexCAN-Interrupts/m-p/248219#M6788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ivan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How did you initialize the flexCAN? Seems you are using FlexCAN1 for transmission, would you please give me details on the initial code? Thanks for your patience!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;B.R&lt;/P&gt;&lt;P&gt;Kan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Aug 2013 06:16:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FlexCAN-Interrupts/m-p/248219#M6788</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2013-08-19T06:16:21Z</dc:date>
    </item>
  </channel>
</rss>

