<?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: Systick interrupt causes HardFault in S32K</title>
    <link>https://community.nxp.com/t5/S32K/Systick-interrupt-causes-HardFault/m-p/886253#M4204</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your comment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have SDK BETA 2.9.2 version.&lt;/P&gt;&lt;P&gt;Unfortunately, on the next day I could also not reproduce the behavior.&lt;/P&gt;&lt;P&gt;Close the issue for now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Feb 2019 06:40:23 GMT</pubDate>
    <dc:creator>davithakobyan</dc:creator>
    <dc:date>2019-02-08T06:40:23Z</dc:date>
    <item>
      <title>Systick interrupt causes HardFault</title>
      <link>https://community.nxp.com/t5/S32K/Systick-interrupt-causes-HardFault/m-p/886251#M4202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I face a HardFault problem when using the LIN master example together with initializing Systick interrupt.&lt;/P&gt;&lt;P&gt;To reproduce the problem one should simply create a LIN master project from the examples using S32 Design Studio for S32K144EVB-Q100 board. Once the project is create initialize Systick like in the figure below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Image 1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/67275iCA2218C696EBA694/image-size/large?v=v2&amp;amp;px=999" role="button" title="Image 1.png" alt="Image 1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;So basically the program does nothing except initializing the system and systick clocks (although the problem may persist even without system clock initialization), however, when debugging the program ends up in the HardFault and the SysTick_Handler is never called. The HardFault seems to be triggered when it is time for Systick interrupt to appear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Changing slightly some irrelevant code may make the program again work (i.e. triggerint Systick interrupt), which points rather to RAM corruption.&lt;/P&gt;&lt;P&gt;Can NXP team confirm this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2019 12:22:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Systick-interrupt-causes-HardFault/m-p/886251#M4202</guid>
      <dc:creator>davithakobyan</dc:creator>
      <dc:date>2019-02-06T12:22:05Z</dc:date>
    </item>
    <item>
      <title>Re: Systick interrupt causes HardFault</title>
      <link>https://community.nxp.com/t5/S32K/Systick-interrupt-causes-HardFault/m-p/886252#M4203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have tried to reproduce the hardfault following your description with SDK v2.9.2, but it triggers the SysTick interrupt as expected.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/68312i2AEB18A04C871B9B/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Which SDK version do you use?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2019 15:44:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Systick-interrupt-causes-HardFault/m-p/886252#M4203</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2019-02-06T15:44:58Z</dc:date>
    </item>
    <item>
      <title>Re: Systick interrupt causes HardFault</title>
      <link>https://community.nxp.com/t5/S32K/Systick-interrupt-causes-HardFault/m-p/886253#M4204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your comment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have SDK BETA 2.9.2 version.&lt;/P&gt;&lt;P&gt;Unfortunately, on the next day I could also not reproduce the behavior.&lt;/P&gt;&lt;P&gt;Close the issue for now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2019 06:40:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Systick-interrupt-causes-HardFault/m-p/886253#M4204</guid>
      <dc:creator>davithakobyan</dc:creator>
      <dc:date>2019-02-08T06:40:23Z</dc:date>
    </item>
  </channel>
</rss>

