<?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 SDK Bug in CAN FIFO in S32 SDK</title>
    <link>https://community.nxp.com/t5/S32-SDK/SDK-Bug-in-CAN-FIFO/m-p/780259#M430</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;I has a project that need the FIFO of CAN. CAN 0 FIFO work fine,&amp;nbsp;but when i use CAN1 FIFO,the programe will enter&amp;nbsp;DefaultISR.&lt;/P&gt;&lt;P&gt;&amp;nbsp; I found a bug when I debug CAN SDK(085 or 086) API, The CAN 1 only have max 16&amp;nbsp;RXIMR,but the the SDK use 32 to&amp;nbsp;initial RXIMR:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FLEXCAN_DRV_Init--&amp;gt;FLEXCAN_EnableRxFifo:&lt;/P&gt;&lt;P&gt;code:&lt;/P&gt;&lt;P&gt;for (i = 0; i &amp;lt; CAN_RXIMR_COUNT; i++)&lt;BR /&gt; {&lt;BR /&gt; /* RX individual mask */&lt;BR /&gt; base-&amp;gt;RXIMR[i] = (CAN_RXIMR_MI_MASK &amp;lt;&amp;lt; CAN_ID_EXT_SHIFT) &amp;amp; (CAN_ID_STD_MASK | CAN_ID_EXT_MASK);&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;the&amp;nbsp;&lt;SPAN&gt;CAN_RXIMR_COUNT is 32.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The CAN1 FIFO program will work fine when I change&amp;nbsp;&lt;SPAN&gt;CAN_RXIMR_COUNT to 16 .&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;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Feb 2018 08:05:14 GMT</pubDate>
    <dc:creator>wangshizhen</dc:creator>
    <dc:date>2018-02-02T08:05:14Z</dc:date>
    <item>
      <title>SDK Bug in CAN FIFO</title>
      <link>https://community.nxp.com/t5/S32-SDK/SDK-Bug-in-CAN-FIFO/m-p/780259#M430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;I has a project that need the FIFO of CAN. CAN 0 FIFO work fine,&amp;nbsp;but when i use CAN1 FIFO,the programe will enter&amp;nbsp;DefaultISR.&lt;/P&gt;&lt;P&gt;&amp;nbsp; I found a bug when I debug CAN SDK(085 or 086) API, The CAN 1 only have max 16&amp;nbsp;RXIMR,but the the SDK use 32 to&amp;nbsp;initial RXIMR:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FLEXCAN_DRV_Init--&amp;gt;FLEXCAN_EnableRxFifo:&lt;/P&gt;&lt;P&gt;code:&lt;/P&gt;&lt;P&gt;for (i = 0; i &amp;lt; CAN_RXIMR_COUNT; i++)&lt;BR /&gt; {&lt;BR /&gt; /* RX individual mask */&lt;BR /&gt; base-&amp;gt;RXIMR[i] = (CAN_RXIMR_MI_MASK &amp;lt;&amp;lt; CAN_ID_EXT_SHIFT) &amp;amp; (CAN_ID_STD_MASK | CAN_ID_EXT_MASK);&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;the&amp;nbsp;&lt;SPAN&gt;CAN_RXIMR_COUNT is 32.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The CAN1 FIFO program will work fine when I change&amp;nbsp;&lt;SPAN&gt;CAN_RXIMR_COUNT to 16 .&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Feb 2018 08:05:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/SDK-Bug-in-CAN-FIFO/m-p/780259#M430</guid>
      <dc:creator>wangshizhen</dc:creator>
      <dc:date>2018-02-02T08:05:14Z</dc:date>
    </item>
    <item>
      <title>Re: SDK Bug in CAN FIFO</title>
      <link>https://community.nxp.com/t5/S32-SDK/SDK-Bug-in-CAN-FIFO/m-p/780260#M431</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;The number of RXIMR registers is equal to the number of message buffer for each instance. Thank you for reporting this issue. It will be fixed in the next release for S32 SDK for S32K1xx devices.&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>Fri, 02 Feb 2018 12:42:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/SDK-Bug-in-CAN-FIFO/m-p/780260#M431</guid>
      <dc:creator>AnaAldescu</dc:creator>
      <dc:date>2018-02-02T12:42:33Z</dc:date>
    </item>
  </channel>
</rss>

