<?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 S32K144 FLEXCAN OVERRUN in S32K</title>
    <link>https://community.nxp.com/t5/S32K/S32K144-FLEXCAN-OVERRUN/m-p/708214#M1452</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 am working S32K144 FLEXCAN driver. I configured message buffer&amp;nbsp; as receiver. Every 100ms I am receiving CAN frames. When I received first CAN frame CODE field in RAM register is written with 0x02 (FULL). After first frame, the CODE filled is written with 0x06 (OVERRUN). I am reading timestamp in RAM register and TIMER register to lock the buffer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to solve this overrun issue. Please help me. Waiting for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Yashwanth&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Sep 2017 06:53:28 GMT</pubDate>
    <dc:creator>yashwanth411</dc:creator>
    <dc:date>2017-09-20T06:53:28Z</dc:date>
    <item>
      <title>S32K144 FLEXCAN OVERRUN</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-FLEXCAN-OVERRUN/m-p/708214#M1452</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 am working S32K144 FLEXCAN driver. I configured message buffer&amp;nbsp; as receiver. Every 100ms I am receiving CAN frames. When I received first CAN frame CODE field in RAM register is written with 0x02 (FULL). After first frame, the CODE filled is written with 0x06 (OVERRUN). I am reading timestamp in RAM register and TIMER register to lock the buffer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to solve this overrun issue. Please help me. Waiting for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Yashwanth&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2017 06:53:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-FLEXCAN-OVERRUN/m-p/708214#M1452</guid>
      <dc:creator>yashwanth411</dc:creator>
      <dc:date>2017-09-20T06:53:28Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 FLEXCAN OVERRUN</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-FLEXCAN-OVERRUN/m-p/708215#M1453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yashwanth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You must read the MB C/S word to lock the MB. Otherwise new frame can be moved into this MB and CODE will be updated to OVERRUN.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;The MB is unlocked when the CPU reads the Free Running Timer Register or the C/S word of another MB.&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>Wed, 20 Sep 2017 11:17:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-FLEXCAN-OVERRUN/m-p/708215#M1453</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2017-09-20T11:17:33Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 FLEXCAN OVERRUN</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-FLEXCAN-OVERRUN/m-p/708216#M1454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stancik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for replay. I am reading C/S word also.&amp;nbsp; Below one is my logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u32_RxCode = ((p_stgFlexCANRegsAccess[u8_lFlexCANCh]-&amp;gt;RAM[u8_fMbNo * FCAN_MB_SIZE + 0]&amp;nbsp; &amp;amp; \&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;FLEXCAN_MB_CODE_MASK) &amp;gt;&amp;gt; 24);&lt;/P&gt;&lt;P&gt;FLEXCAN_MB_CODE_MASK = 0x0F000000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After reading also I am getting overrun.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any changes I need to do. Please help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Yashwanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2017 11:48:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-FLEXCAN-OVERRUN/m-p/708216#M1454</guid>
      <dc:creator>yashwanth411</dc:creator>
      <dc:date>2017-09-20T11:48:31Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 FLEXCAN OVERRUN</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-FLEXCAN-OVERRUN/m-p/708217#M1455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yashwanth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OVERRUN means the new coming message moved into MB before CPU serviced it (MB C/S word was read and unlocked by reading TIMER or other MB C/S word).&lt;/P&gt;&lt;P&gt;So do you really read the MB each time the message was moved into that MB?&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, 21 Sep 2017 13:21:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-FLEXCAN-OVERRUN/m-p/708217#M1455</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2017-09-21T13:21:45Z</dc:date>
    </item>
  </channel>
</rss>

