<?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>MPC5xxxのトピックFlexCAN's FIFO function setting and question</title>
    <link>https://community.nxp.com/t5/MPC5xxx/FlexCAN-s-FIFO-function-setting-and-question/m-p/717114#M9558</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello ,&lt;/P&gt;&lt;P&gt;I try to make Flexcan's message buffer[0~5] to become a fifo and to consecution receive five data frame.&lt;/P&gt;&lt;P&gt;compute software send five consecution data frame ,using this fifo to receive five consecutive standard data frame,and through check&amp;nbsp; interrupt&amp;nbsp;&amp;nbsp;flag1 BUF6I to&amp;nbsp;&amp;nbsp;&lt;SPAN style="color: #2e3033; font-family: Arial; background-color: #eef0f2;"&gt;check the fifo is almost full .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #2e3033; font-family: Arial; background-color: #eef0f2;"&gt;in my test ,i find only message buffer[0] has data ,message buffer[1~4] has no data. the interrupt flag1 bit is setting 1.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #2e3033; font-family: Arial; background-color: #eef0f2;"&gt;thanks &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Oct 2017 12:11:54 GMT</pubDate>
    <dc:creator>大大许</dc:creator>
    <dc:date>2017-10-24T12:11:54Z</dc:date>
    <item>
      <title>FlexCAN's FIFO function setting and question</title>
      <link>https://community.nxp.com/t5/MPC5xxx/FlexCAN-s-FIFO-function-setting-and-question/m-p/717114#M9558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello ,&lt;/P&gt;&lt;P&gt;I try to make Flexcan's message buffer[0~5] to become a fifo and to consecution receive five data frame.&lt;/P&gt;&lt;P&gt;compute software send five consecution data frame ,using this fifo to receive five consecutive standard data frame,and through check&amp;nbsp; interrupt&amp;nbsp;&amp;nbsp;flag1 BUF6I to&amp;nbsp;&amp;nbsp;&lt;SPAN style="color: #2e3033; font-family: Arial; background-color: #eef0f2;"&gt;check the fifo is almost full .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #2e3033; font-family: Arial; background-color: #eef0f2;"&gt;in my test ,i find only message buffer[0] has data ,message buffer[1~4] has no data. the interrupt flag1 bit is setting 1.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #2e3033; font-family: Arial; background-color: #eef0f2;"&gt;thanks &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Oct 2017 12:11:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/FlexCAN-s-FIFO-function-setting-and-question/m-p/717114#M9558</guid>
      <dc:creator>大大许</dc:creator>
      <dc:date>2017-10-24T12:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: FlexCAN's FIFO function setting and question</title>
      <link>https://community.nxp.com/t5/MPC5xxx/FlexCAN-s-FIFO-function-setting-and-question/m-p/717115#M9559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello ,&lt;/P&gt;&lt;P&gt;I through nxp community get an project about flexcan&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* subscribe FlexCAN_0's Rx FIFO for Rx - extended frame format */&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* ID Table 0-7 */&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* in this example we receive frames with IDE = 0x12340000 */&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID_Table0_CAN1 = (0x12340000&amp;lt;&amp;lt;1)|(0x40000000); /* ID(0x00000000)&amp;lt;&amp;lt;1 + EXT */&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID_Table1_CAN1 = (0x00000000&amp;lt;&amp;lt;1)|(0x40000000); /* ID(0x00000000)&amp;lt;&amp;lt;1 + EXT */&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID_Table2_CAN1 = (0x00000000&amp;lt;&amp;lt;1)|(0x40000000); /* ID(0x00000000)&amp;lt;&amp;lt;1 + EXT */&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID_Table3_CAN1 = (0x00000000&amp;lt;&amp;lt;1)|(0x40000000); /* ID(0x00000000)&amp;lt;&amp;lt;1 + EXT */&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID_Table4_CAN1 = (0x00000000&amp;lt;&amp;lt;1)|(0x40000000); /* ID(0x00000000)&amp;lt;&amp;lt;1 + EXT */&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID_Table5_CAN1 = (0x00000000&amp;lt;&amp;lt;1)|(0x40000000); /* ID(0x00000000)&amp;lt;&amp;lt;1 + EXT */&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID_Table6_CAN1 = (0x00000000&amp;lt;&amp;lt;1)|(0x40000000); /* ID(0x00000000)&amp;lt;&amp;lt;1 + EXT */&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID_Table7_CAN1 = (0x00000000&amp;lt;&amp;lt;1)|(0x40000000); /* ID(0x00000000)&amp;lt;&amp;lt;1 + EXT */&amp;nbsp;&lt;/P&gt;&lt;P&gt;who can tell me what is the mean.&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Oct 2017 12:36:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/FlexCAN-s-FIFO-function-setting-and-question/m-p/717115#M9559</guid>
      <dc:creator>大大许</dc:creator>
      <dc:date>2017-10-24T12:36:26Z</dc:date>
    </item>
    <item>
      <title>Re: FlexCAN's FIFO function setting and question</title>
      <link>https://community.nxp.com/t5/MPC5xxx/FlexCAN-s-FIFO-function-setting-and-question/m-p/717116#M9560</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;this code initialize full ID table.&amp;nbsp;The region 0xE0-0xFC contains an 8-entry ID table that specifies filtering criteria for accepting frames into the RXFIFO. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The RXFIFO is 6-message deep. To read the RXFIFO you always use the 0x80-0x8C region, similarly as the MB0 is read. &lt;SPAN style="font-size: 11.0pt;"&gt;Each time you read the RXFIFO you need to clear the BUF5I flag so the FIFO output is updated with the next message. &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>Tue, 24 Oct 2017 13:52:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/FlexCAN-s-FIFO-function-setting-and-question/m-p/717116#M9560</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2017-10-24T13:52:06Z</dc:date>
    </item>
    <item>
      <title>Re: FlexCAN's FIFO function setting and question</title>
      <link>https://community.nxp.com/t5/MPC5xxx/FlexCAN-s-FIFO-function-setting-and-question/m-p/717117#M9561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have anoher question about fifo filter setting&lt;/P&gt;&lt;P&gt;I try to receive standard data frame ID is the 0x7FF or extend data frame &amp;nbsp;ID is the 1FFFFFFF&lt;/P&gt;&lt;P&gt;#define ID_Table0_CAN0 (*(vuint32_t* )(0xffec00e0))&lt;BR /&gt;#define ID_Table1_CAN0 (*(vuint32_t* )(0xffec00e4))&lt;BR /&gt;#define ID_Table2_CAN0 (*(vuint32_t* )(0xffec00e8))&lt;BR /&gt;#define ID_Table3_CAN0 (*(vuint32_t* )(0xffec00eC))&lt;BR /&gt;#define ID_Table4_CAN0 (*(vuint32_t* )(0xffec00f0))&lt;BR /&gt;#define ID_Table5_CAN0 (*(vuint32_t* )(0xffec00f4))&lt;BR /&gt;#define ID_Table6_CAN0 (*(vuint32_t* )(0xffec00f8))&lt;BR /&gt;#define ID_Table7_CAN0 (*(vuint32_t* )(0xffec00fc))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ID_Table0_CAN0 = 0x3FFFFFFF;&amp;nbsp;&amp;nbsp;&amp;nbsp; //RTR = IDE =0;&amp;nbsp; all ID==1 &lt;BR /&gt;ID_Table1_CAN0 = 0x3FFFFFFF;&lt;BR /&gt;ID_Table2_CAN0 = 0x3FFFFFFF;&lt;BR /&gt;ID_Table3_CAN0 = 0x3FFFFFFF;&lt;BR /&gt;ID_Table4_CAN0 = 0x3FFFFFFF;&lt;BR /&gt;ID_Table5_CAN0 = 0x3FFFFFFF;&lt;BR /&gt;&amp;nbsp;ID_Table6_CAN0 = 0x3FFFFFFF;&lt;BR /&gt;&amp;nbsp;ID_Table7_CAN0 = 0x3FFFFFFF;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CAN[nbModule]-&amp;gt;RXFGMASK.R = 0xFFFFFFFF;&lt;/P&gt;&lt;P&gt;In my test ,I find this setting can't filter any data,&amp;nbsp;&amp;nbsp;FIFO will receive from compute software send any&amp;nbsp;data or remote frame&lt;/P&gt;&lt;P&gt;How should&amp;nbsp; I set my fifo filtering condition.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Oct 2017 01:30:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/FlexCAN-s-FIFO-function-setting-and-question/m-p/717117#M9561</guid>
      <dc:creator>大大许</dc:creator>
      <dc:date>2017-10-25T01:30:38Z</dc:date>
    </item>
    <item>
      <title>Re: FlexCAN's FIFO function setting and question</title>
      <link>https://community.nxp.com/t5/MPC5xxx/FlexCAN-s-FIFO-function-setting-and-question/m-p/717118#M9562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This should not work in the way you described, unless mask register(s) is cleared. Do you use individual or global masking scheme? And what MCU do you have in fact&lt;/P&gt;&lt;P&gt;As per your need the table should be&lt;/P&gt;&lt;P&gt;// set the ID Table, assuming CTRL2[RFFN=0] and MCR[IDAM]=0&lt;BR /&gt;ID_Table0_CAN0 = (0)&amp;lt;&amp;lt;30 | ((0x7FF)&amp;lt;&amp;lt;18)&amp;lt;&amp;lt;1;&amp;nbsp; // standard ID = 0x7FF&lt;BR /&gt;ID_Table1_CAN0 = (1)&amp;lt;&amp;lt;30 | (0x1FFFFFFF)&amp;lt;&amp;lt;1;&amp;nbsp;&amp;nbsp; // extended ID = 0x1FFFFFFF&lt;BR /&gt;ID_Table2_CAN0 = 0;&lt;BR /&gt;ID_Table3_CAN0 = 0;&lt;BR /&gt;ID_Table4_CAN0 = 0;&lt;BR /&gt;ID_Table5_CAN0 = 0;&lt;BR /&gt;ID_Table6_CAN0 = 0;&lt;BR /&gt;ID_Table7_CAN0 = 0;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If global masking is used MCR[IRMQ]=0 set&lt;/P&gt;&lt;P&gt;CAN[nbModule]-&amp;gt;RXFGMASK.R = 0x7FFFFFFE; // IDE and ID are checked&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If individual masking is used (MCR[IRMQ]=1) then RXIMR0-7 must be initialized, similarly as the RXFGMASK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR, Petr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Oct 2017 13:03:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/FlexCAN-s-FIFO-function-setting-and-question/m-p/717118#M9562</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2017-10-26T13:03:16Z</dc:date>
    </item>
  </channel>
</rss>

