<?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: PWM in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/PWM/m-p/514466#M702</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by LabRat on Mon Oct 13 07:57:23 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not sure what you are trying to do...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You are switching PWM out pin with setting its match register to 0 / duty cycle / cycle time&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and now you are surprised that switching isn't done before timer is reaching this match value?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 17:13:18 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T17:13:18Z</dc:date>
    <item>
      <title>PWM</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/PWM/m-p/514465#M701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by celephicus on Sun Oct 12 21:17:43 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Can someone show me how to set up the SCT to generate PWM so that with zero in the relevant match register the output is permanently low, with half the value in match register 0 the duty is 50%, and with the match register 0 in the relevant match register the output is permanently high? I have tried the PWM example code from LPCOpen and numerour variations but I cannot seem to get rid of the 1 cycle high pulse when the counter resets, even with 0 in the match register.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:13:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/PWM/m-p/514465#M701</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:13:17Z</dc:date>
    </item>
    <item>
      <title>Re: PWM</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/PWM/m-p/514466#M702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by LabRat on Mon Oct 13 07:57:23 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not sure what you are trying to do...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You are switching PWM out pin with setting its match register to 0 / duty cycle / cycle time&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and now you are surprised that switching isn't done before timer is reaching this match value?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:13:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/PWM/m-p/514466#M702</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:13:18Z</dc:date>
    </item>
    <item>
      <title>Re: PWM</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/PWM/m-p/514467#M703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by starblue on Mon Oct 13 09:27:41 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you look at the SCT conflict resolution register?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You probably need to set it so that setting the output low takes precedence.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:13:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/PWM/m-p/514467#M703</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:13:19Z</dc:date>
    </item>
    <item>
      <title>Re: PWM</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/PWM/m-p/514468#M704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mc on Mon Oct 13 12:53:42 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi celephicus,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;To get low output, program duty cycle register with PWM period and clear output in conflict resolution register.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;To get high output, program duty cycle register with PWM period and set output in conflict resolution register.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This should give you low and high respectively on SCTimer/PWM outputs.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:13:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/PWM/m-p/514468#M704</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:13:19Z</dc:date>
    </item>
  </channel>
</rss>

