<?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: FlexCAN RX FIFO with Extended 29-Bit CAN IDs not Working in S32K</title>
    <link>https://community.nxp.com/t5/S32K/FlexCAN-RX-FIFO-with-Extended-29-Bit-CAN-IDs-not-Working/m-p/721159#M1694</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Greg,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a known bug related to the Rx FIFO filters. If you're using other filter format than format A, extended ID's won't match the filter. This bug will be fixed in the next S32 SDK release.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you're using format A for the ID filters, please make sure you configure the ID filter table with extended IDs:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;flexcan_id_table_t filterTable[8U];&lt;/P&gt;&lt;P&gt;filterTable[0].id = 0x1FFFFFFF;&lt;BR /&gt; &lt;STRONG&gt;filterTable[0].isExtendedFrame = true&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FLEXCAN_DRV_ConfigRxFifo(INST_CANCOM1, &lt;STRONG&gt;FLEXCAN_RX_FIFO_ID_FORMAT_A&lt;/STRONG&gt;, &lt;STRONG&gt;filterTable&lt;/STRONG&gt;);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if the problem is not solved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Ana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Mar 2018 08:49:31 GMT</pubDate>
    <dc:creator>AnaAldescu</dc:creator>
    <dc:date>2018-03-22T08:49:31Z</dc:date>
    <item>
      <title>FlexCAN RX FIFO with Extended 29-Bit CAN IDs not Working</title>
      <link>https://community.nxp.com/t5/S32K/FlexCAN-RX-FIFO-with-Extended-29-Bit-CAN-IDs-not-Working/m-p/721158#M1693</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 have run tests on the S32K144 with sending and receiving both standard (11-bit) and extended (29-bit) ID CAN frames.&amp;nbsp; What I have found is that I cannot receive&amp;nbsp;extended ID frames when I use the RX FIFO, but I &lt;EM&gt;can&lt;/EM&gt; receive standard ID frames.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, I can receive &lt;EM&gt;both&lt;/EM&gt; standard and extended ID frames if I receive into a specific message buffer (i.e. the non-FIFO method).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, is there something special to setting the RX FIFO to receive extended ID frames?&amp;nbsp; Is there working sample code for receiving extended ID frames with the RX FIFO?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a general overview of my routines:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RX FIFO Routine&lt;/STRONG&gt; (which only works for standard 11-bit ID frames):&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;FLEXCAN_DRV_Init(...)&lt;/P&gt;&lt;P&gt;FLEXCAN_DRV_SetRxMaskType(...)&lt;/P&gt;&lt;P&gt;FLEXCAN_DRV_SetRxFifoGlobalMask(...)&lt;/P&gt;&lt;P&gt;FLEXCAN_DRV_ConfigRxFifo(...)&lt;/P&gt;&lt;P&gt;FLEXCAN_DRV_ConfigTxMb(...)&lt;/P&gt;&lt;P&gt;FLEXCAN_DRV_Send(...)&lt;/P&gt;&lt;P&gt;FLEXCAN_DRV_RxFifoBlocking(...)&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Specific Message Buffer Routine&lt;/STRONG&gt; (which works for both standard 11-bit and extended 29-bit ID frames):&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;FLEXCAN_DRV_Init(...)&lt;/P&gt;&lt;P&gt;FLEXCAN_DRV_SetRxMaskType(...)&lt;/P&gt;&lt;P&gt;FLEXCAN_DRV_SetRxMbGlobalMask(...)&lt;/P&gt;&lt;P&gt;FLEXCAN_DRV_ConfigRxMb(...)&lt;/P&gt;&lt;P&gt;FLEXCAN_DRV_ConfigTxMb(...)&lt;/P&gt;&lt;P&gt;FLEXCAN_DRV_Send(...)&lt;/P&gt;&lt;P&gt;FLEXCAN_DRV_ReceiveBlocking(...)&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any insights would be much appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Greg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2018 16:05:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/FlexCAN-RX-FIFO-with-Extended-29-Bit-CAN-IDs-not-Working/m-p/721158#M1693</guid>
      <dc:creator>gbrowne</dc:creator>
      <dc:date>2018-03-21T16:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: FlexCAN RX FIFO with Extended 29-Bit CAN IDs not Working</title>
      <link>https://community.nxp.com/t5/S32K/FlexCAN-RX-FIFO-with-Extended-29-Bit-CAN-IDs-not-Working/m-p/721159#M1694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Greg,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a known bug related to the Rx FIFO filters. If you're using other filter format than format A, extended ID's won't match the filter. This bug will be fixed in the next S32 SDK release.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you're using format A for the ID filters, please make sure you configure the ID filter table with extended IDs:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;flexcan_id_table_t filterTable[8U];&lt;/P&gt;&lt;P&gt;filterTable[0].id = 0x1FFFFFFF;&lt;BR /&gt; &lt;STRONG&gt;filterTable[0].isExtendedFrame = true&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FLEXCAN_DRV_ConfigRxFifo(INST_CANCOM1, &lt;STRONG&gt;FLEXCAN_RX_FIFO_ID_FORMAT_A&lt;/STRONG&gt;, &lt;STRONG&gt;filterTable&lt;/STRONG&gt;);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if the problem is not solved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Ana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2018 08:49:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/FlexCAN-RX-FIFO-with-Extended-29-Bit-CAN-IDs-not-Working/m-p/721159#M1694</guid>
      <dc:creator>AnaAldescu</dc:creator>
      <dc:date>2018-03-22T08:49:31Z</dc:date>
    </item>
    <item>
      <title>Re: FlexCAN RX FIFO with Extended 29-Bit CAN IDs not Working</title>
      <link>https://community.nxp.com/t5/S32K/FlexCAN-RX-FIFO-with-Extended-29-Bit-CAN-IDs-not-Working/m-p/721160#M1695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah, much appreciated Ana!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was missing that extra&amp;nbsp;&lt;STRONG&gt;isExtendedFrame&lt;/STRONG&gt; flag in the filter table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Greg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2018 11:32:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/FlexCAN-RX-FIFO-with-Extended-29-Bit-CAN-IDs-not-Working/m-p/721160#M1695</guid>
      <dc:creator>gbrowne</dc:creator>
      <dc:date>2018-03-22T11:32:44Z</dc:date>
    </item>
  </channel>
</rss>

