<?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 Why do I get HardFault when using internal clock with FTM PWM on S32K144? in S32K</title>
    <link>https://community.nxp.com/t5/S32K/Why-do-I-get-HardFault-when-using-internal-clock-with-FTM-PWM-on/m-p/712369#M1550</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to output a PWM signal using the FlexTimer, but when I configure my project and debug, it goes to HardFault Handler when the FTM driver initializes its clock.&amp;nbsp;&lt;BR /&gt;Notes on my project:&lt;BR /&gt;1. Uses IAR 7.3 toolchain &amp;amp; I am debugging on IAR workbench 8.0&lt;/P&gt;&lt;P&gt;2. No external oscillator. (No SOSC nor SPILL)&lt;/P&gt;&lt;P&gt;3. All clocks are disabled other than SIRC (2 MHz) and FIRC (60 MHz)&lt;/P&gt;&lt;P&gt;4.&amp;nbsp;Tried the three options in FTM Clock source (System clock, Fixed Frequency and External Clock). All go to HardFault Handler.&lt;/P&gt;&lt;P&gt;5. Tried all four debug Mode in FTM configurations (Mode0-3). All go to HardFault.&lt;/P&gt;&lt;P&gt;6. Target is&amp;nbsp;PS32K144U&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that the PWM signal works fine on the evaluation board using external Oscillator. I am now trying on my own project board which has no external oscillator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Project is attached. Please help or enlighten me for any configurations that I should take care of. &lt;BR /&gt;Thanks :smileyhappy:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 22 Oct 2017 10:03:54 GMT</pubDate>
    <dc:creator>samerbastawy</dc:creator>
    <dc:date>2017-10-22T10:03:54Z</dc:date>
    <item>
      <title>Why do I get HardFault when using internal clock with FTM PWM on S32K144?</title>
      <link>https://community.nxp.com/t5/S32K/Why-do-I-get-HardFault-when-using-internal-clock-with-FTM-PWM-on/m-p/712369#M1550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to output a PWM signal using the FlexTimer, but when I configure my project and debug, it goes to HardFault Handler when the FTM driver initializes its clock.&amp;nbsp;&lt;BR /&gt;Notes on my project:&lt;BR /&gt;1. Uses IAR 7.3 toolchain &amp;amp; I am debugging on IAR workbench 8.0&lt;/P&gt;&lt;P&gt;2. No external oscillator. (No SOSC nor SPILL)&lt;/P&gt;&lt;P&gt;3. All clocks are disabled other than SIRC (2 MHz) and FIRC (60 MHz)&lt;/P&gt;&lt;P&gt;4.&amp;nbsp;Tried the three options in FTM Clock source (System clock, Fixed Frequency and External Clock). All go to HardFault Handler.&lt;/P&gt;&lt;P&gt;5. Tried all four debug Mode in FTM configurations (Mode0-3). All go to HardFault.&lt;/P&gt;&lt;P&gt;6. Target is&amp;nbsp;PS32K144U&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that the PWM signal works fine on the evaluation board using external Oscillator. I am now trying on my own project board which has no external oscillator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Project is attached. Please help or enlighten me for any configurations that I should take care of. &lt;BR /&gt;Thanks :smileyhappy:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Oct 2017 10:03:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Why-do-I-get-HardFault-when-using-internal-clock-with-FTM-PWM-on/m-p/712369#M1550</guid>
      <dc:creator>samerbastawy</dc:creator>
      <dc:date>2017-10-22T10:03:54Z</dc:date>
    </item>
    <item>
      <title>Re: Why do I get HardFault when using internal clock with FTM PWM on S32K144?</title>
      <link>https://community.nxp.com/t5/S32K/Why-do-I-get-HardFault-when-using-internal-clock-with-FTM-PWM-on/m-p/712370#M1551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/thread/469409"&gt;HW fault handler in peripheral access.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Check this one up.&lt;/P&gt;&lt;P&gt;Seems very close to the problem I had.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Feb 2018 17:17:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Why-do-I-get-HardFault-when-using-internal-clock-with-FTM-PWM-on/m-p/712370#M1551</guid>
      <dc:creator>andreaolivieri1</dc:creator>
      <dc:date>2018-02-09T17:17:10Z</dc:date>
    </item>
  </channel>
</rss>

