<?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>MCUXpresso SDKのトピックRe: Hard Fault in SC Timer</title>
    <link>https://community.nxp.com/t5/MCUXpresso-SDK/Hard-Fault-in-SC-Timer/m-p/1051695#M2370</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Hermanth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the SDK there's a function called&amp;nbsp;SCTIMER_UpdatePwmDutycycle, this function can be used to update the duty cycle and it's the correct process to follow to modify the configurations from the SCTimer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will suggest checking this function to understand how to change the period as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Alexis Andalon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Jul 2020 23:00:14 GMT</pubDate>
    <dc:creator>Alexis_A</dc:creator>
    <dc:date>2020-07-17T23:00:14Z</dc:date>
    <item>
      <title>Hard Fault in SC Timer</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/Hard-Fault-in-SC-Timer/m-p/1051694#M2369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the LPC54628 (OM13098 board). I am using PWM using the SCTimer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am able create custom PWM waveform using "&lt;STRONG&gt;&lt;EM&gt;SCTIMER_CreateAndScheduleEvent&lt;/EM&gt;&lt;/STRONG&gt;"&lt;/P&gt;&lt;P&gt;I intent to change the duty cycle/period based on condition in the system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I try to update the MATCH register, I get a hard fault.&lt;/P&gt;&lt;P&gt;I have stopped the counter by setting "&lt;STRONG&gt;HALT_L&lt;/STRONG&gt;" in &lt;STRONG&gt;CONFIG&lt;/STRONG&gt; register before updating MATCH value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are there any other condition need to checked/updated before updating &lt;STRONG&gt;MATCH&lt;/STRONG&gt; register&lt;/P&gt;&lt;P&gt;I suspect some condition which is not allowing to write to MATCH register.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Hemanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2020 13:06:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/Hard-Fault-in-SC-Timer/m-p/1051694#M2369</guid>
      <dc:creator>hemanthvasista</dc:creator>
      <dc:date>2020-07-16T13:06:58Z</dc:date>
    </item>
    <item>
      <title>Re: Hard Fault in SC Timer</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/Hard-Fault-in-SC-Timer/m-p/1051695#M2370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Hermanth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the SDK there's a function called&amp;nbsp;SCTIMER_UpdatePwmDutycycle, this function can be used to update the duty cycle and it's the correct process to follow to modify the configurations from the SCTimer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will suggest checking this function to understand how to change the period as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Alexis Andalon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2020 23:00:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/Hard-Fault-in-SC-Timer/m-p/1051695#M2370</guid>
      <dc:creator>Alexis_A</dc:creator>
      <dc:date>2020-07-17T23:00:14Z</dc:date>
    </item>
    <item>
      <title>Re: Hard Fault in SC Timer</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/Hard-Fault-in-SC-Timer/m-p/1051696#M2371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In my use-case, I am using 2 16-bit counters.&lt;/P&gt;&lt;P&gt;The problem was both 2 counter need to stopped during updation of MATCH register.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2020 05:54:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/Hard-Fault-in-SC-Timer/m-p/1051696#M2371</guid>
      <dc:creator>hemanthvasista</dc:creator>
      <dc:date>2020-07-22T05:54:04Z</dc:date>
    </item>
  </channel>
</rss>

