<?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 Busoff interrupt lost when S32K118 at high load in S32K</title>
    <link>https://community.nxp.com/t5/S32K/Busoff-interrupt-lost-when-S32K118-at-high-load/m-p/1612035#M21241</link>
    <description>&lt;P&gt;The test case is shorting CANH &amp;amp; CANL repeatedly.&lt;/P&gt;&lt;P&gt;If the load of S32K118 is low, the recovery strategy works fine.&lt;/P&gt;&lt;P&gt;Step1. Busoff raised interrupt &amp;amp; set a flag. Step2. In the main loop, if the flag is set, DeInit &amp;amp; Init CAN. Step 3. wait 100ms. Step 4. Send a frame of data. Step 5. Busoff raised again.&lt;/P&gt;&lt;P&gt;But when the load is high ( ADC interrupt raised every 10ms ), there is a different symptom that occurs in a very low probability. The beginning 4 steps are the same.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Step1. Busoff raised interrupt &amp;amp; set a flag. Step2. In the main loop, if the flag is set, DeInit &amp;amp; Init CAN. Step 3. wait 100ms. Step 4. Send a frame of data.&lt;/P&gt;&lt;P&gt;But in step 5, Busoff interrupt is not raised. Instead, Busoff Done Int ( Bit 19 of ESR1) is set and FLTCONF of ESR1 changed from 0x00 to 0x11, which means busoff status.&lt;/P&gt;&lt;P&gt;I don't know why the status of CAN has been changed to BusOff. But the BufOff Int Flag ( bit 2 of ESR1 ) is not set. Instead, Busoff Done Int is set.&lt;/P&gt;</description>
    <pubDate>Thu, 09 Mar 2023 02:14:11 GMT</pubDate>
    <dc:creator>chenwilsoft</dc:creator>
    <dc:date>2023-03-09T02:14:11Z</dc:date>
    <item>
      <title>Busoff interrupt lost when S32K118 at high load</title>
      <link>https://community.nxp.com/t5/S32K/Busoff-interrupt-lost-when-S32K118-at-high-load/m-p/1612035#M21241</link>
      <description>&lt;P&gt;The test case is shorting CANH &amp;amp; CANL repeatedly.&lt;/P&gt;&lt;P&gt;If the load of S32K118 is low, the recovery strategy works fine.&lt;/P&gt;&lt;P&gt;Step1. Busoff raised interrupt &amp;amp; set a flag. Step2. In the main loop, if the flag is set, DeInit &amp;amp; Init CAN. Step 3. wait 100ms. Step 4. Send a frame of data. Step 5. Busoff raised again.&lt;/P&gt;&lt;P&gt;But when the load is high ( ADC interrupt raised every 10ms ), there is a different symptom that occurs in a very low probability. The beginning 4 steps are the same.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Step1. Busoff raised interrupt &amp;amp; set a flag. Step2. In the main loop, if the flag is set, DeInit &amp;amp; Init CAN. Step 3. wait 100ms. Step 4. Send a frame of data.&lt;/P&gt;&lt;P&gt;But in step 5, Busoff interrupt is not raised. Instead, Busoff Done Int ( Bit 19 of ESR1) is set and FLTCONF of ESR1 changed from 0x00 to 0x11, which means busoff status.&lt;/P&gt;&lt;P&gt;I don't know why the status of CAN has been changed to BusOff. But the BufOff Int Flag ( bit 2 of ESR1 ) is not set. Instead, Busoff Done Int is set.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2023 02:14:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Busoff-interrupt-lost-when-S32K118-at-high-load/m-p/1612035#M21241</guid>
      <dc:creator>chenwilsoft</dc:creator>
      <dc:date>2023-03-09T02:14:11Z</dc:date>
    </item>
    <item>
      <title>Re: Busoff interrupt lost when S32K118 at high load</title>
      <link>https://community.nxp.com/t5/S32K/Busoff-interrupt-lost-when-S32K118-at-high-load/m-p/1612485#M21262</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;could you please specify the code/driver you are using and its version (SDK, RTD,...)?&lt;BR /&gt;If using SDK/RTD do you use callbacks to indicate ISR hit?&lt;BR /&gt;How do you check flag setting in the main?&lt;BR /&gt;If you increase priority of FlexCAN interrupts, do you see the same?&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2023 14:35:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Busoff-interrupt-lost-when-S32K118-at-high-load/m-p/1612485#M21262</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2023-03-09T14:35:05Z</dc:date>
    </item>
    <item>
      <title>Re: Busoff interrupt lost when S32K118 at high load</title>
      <link>https://community.nxp.com/t5/S32K/Busoff-interrupt-lost-when-S32K118-at-high-load/m-p/1613634#M21302</link>
      <description>&lt;P&gt;The version of IDE is S32DS 2008 R1，update11, using SDK version 3.0.0.&lt;/P&gt;&lt;P&gt;The callback function judges the flag of ESR1 and sets a variable to 1. In the main loop, judge the variable. If it becomes 1, trigger functions and reset the variable to 0.&lt;/P&gt;&lt;P&gt;Increasing the priority of FlexCAN is under testing.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Mar 2023 03:12:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Busoff-interrupt-lost-when-S32K118-at-high-load/m-p/1613634#M21302</guid>
      <dc:creator>chenwilsoft</dc:creator>
      <dc:date>2023-03-13T03:12:20Z</dc:date>
    </item>
  </channel>
</rss>

