<?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>S32KのトピックRe: Watchdog Triggered during vTaskDelay</title>
    <link>https://community.nxp.com/t5/S32K/Watchdog-Triggered-during-vTaskDelay/m-p/1200480#M9280</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Yes, this is not WDOG but a bus fault exception.&lt;/P&gt;
&lt;P&gt;It looks like the issue discussed here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32K/S32K142-lpi2c-is-not-working-with-freeRTOS-integration/m-p/875028" target="_blank"&gt;https://community.nxp.com/t5/S32K/S32K142-lpi2c-is-not-working-with-freeRTOS-integration/m-p/875028&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;"As the driver uses FreeRTOS API, the driver must be initialized and used inside a FreeRTOS task after the scheduler is started."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
    <pubDate>Wed, 16 Dec 2020 15:29:39 GMT</pubDate>
    <dc:creator>danielmartynek</dc:creator>
    <dc:date>2020-12-16T15:29:39Z</dc:date>
    <item>
      <title>Watchdog Triggered during vTaskDelay</title>
      <link>https://community.nxp.com/t5/S32K/Watchdog-Triggered-during-vTaskDelay/m-p/1199643#M9259</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;On s32k144 with FreeRTOS, we are doing a non-blocking i2c read which is having a delay of 1ms via OSIF_TimeDelay(1). During which we notice a WDOG being triggered.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pavankishore1_0-1608033952558.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/132703i42A5EEB4A689E440/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pavankishore1_0-1608033952558.png" alt="pavankishore1_0-1608033952558.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I doubt if this is an actual watchdog; The CFSR register contents are follows:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pavankishore1_1-1608034047781.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/132704iD7105795819DA169/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pavankishore1_1-1608034047781.png" alt="pavankishore1_1-1608034047781.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;if the register addresses are correct, then I believe the&amp;nbsp;IMPRECISERR and FORCED bit are set which means there is a hard fault.&lt;/P&gt;&lt;P&gt;The stack usage is within the limit.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Wondering why would a vTaskDelay() cause a fault? Can somebody please shed some light or direct to the right forum for attention?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Dec 2020 12:18:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Watchdog-Triggered-during-vTaskDelay/m-p/1199643#M9259</guid>
      <dc:creator>pavankishore1</dc:creator>
      <dc:date>2020-12-15T12:18:38Z</dc:date>
    </item>
    <item>
      <title>Re: Watchdog Triggered during vTaskDelay</title>
      <link>https://community.nxp.com/t5/S32K/Watchdog-Triggered-during-vTaskDelay/m-p/1200480#M9280</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Yes, this is not WDOG but a bus fault exception.&lt;/P&gt;
&lt;P&gt;It looks like the issue discussed here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32K/S32K142-lpi2c-is-not-working-with-freeRTOS-integration/m-p/875028" target="_blank"&gt;https://community.nxp.com/t5/S32K/S32K142-lpi2c-is-not-working-with-freeRTOS-integration/m-p/875028&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;"As the driver uses FreeRTOS API, the driver must be initialized and used inside a FreeRTOS task after the scheduler is started."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2020 15:29:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Watchdog-Triggered-during-vTaskDelay/m-p/1200480#M9280</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2020-12-16T15:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: Watchdog Triggered during vTaskDelay</title>
      <link>https://community.nxp.com/t5/S32K/Watchdog-Triggered-during-vTaskDelay/m-p/1202289#M9331</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/160001"&gt;@danielmartynek&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Thanks for the prompt response. I was performing the driver init outside the task context, and with this change it works fine.&lt;/P&gt;&lt;P&gt;We have similar usage in other projects and we don't see this failure.&amp;nbsp;Can we get more information on the root cause for this error so it helps me to re-structure them based on the failure scenario?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pavan&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Dec 2020 07:20:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Watchdog-Triggered-during-vTaskDelay/m-p/1202289#M9331</guid>
      <dc:creator>pavankishore1</dc:creator>
      <dc:date>2020-12-21T07:20:22Z</dc:date>
    </item>
  </channel>
</rss>

