<?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>LPC Microcontrollers中的主题 PWM configuration</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/PWM-configuration/m-p/646083#M25545</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A _jive_internal="true" data-containerid="-1" data-containertype="-1" data-objectid="215657" data-objecttype="3" href="https://community.nxp.com/people/kerryzhou"&gt;Kerry Zhou&lt;/A&gt;&lt;/P&gt;&lt;P&gt;In attached sample code can you help me how to configure PWM in center aligned mode?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Path: LPC824_Example_Code_Bundle_IAR_r1.0\Example_SCT_PWM_2State\src&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338029"&gt;LPC824_Example_Code_Bundle_LPCXpresso_r1.0.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Feb 2017 07:10:18 GMT</pubDate>
    <dc:creator>ranjithshanbhag</dc:creator>
    <dc:date>2017-02-17T07:10:18Z</dc:date>
    <item>
      <title>PWM configuration</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/PWM-configuration/m-p/646083#M25545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A _jive_internal="true" data-containerid="-1" data-containertype="-1" data-objectid="215657" data-objecttype="3" href="https://community.nxp.com/people/kerryzhou"&gt;Kerry Zhou&lt;/A&gt;&lt;/P&gt;&lt;P&gt;In attached sample code can you help me how to configure PWM in center aligned mode?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Path: LPC824_Example_Code_Bundle_IAR_r1.0\Example_SCT_PWM_2State\src&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338029"&gt;LPC824_Example_Code_Bundle_LPCXpresso_r1.0.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Feb 2017 07:10:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/PWM-configuration/m-p/646083#M25545</guid>
      <dc:creator>ranjithshanbhag</dc:creator>
      <dc:date>2017-02-17T07:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: PWM configuration</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/PWM-configuration/m-p/646084#M25546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry @&lt;A _jive_internal="true" class="" data-containerid="-1" data-containertype="-1" data-content-finding="Community" data-objectid="215657" data-objecttype="3" href="https://community.nxp.com/people/kerryzhou"&gt;Kerry Zhou&lt;/A&gt; i attached wrong project. Please find the below link for the project&lt;BR /&gt;&lt;A _jive_internal="true" class="link-titled" href="https://community.nxp.com/message/869082?commentID=869082&amp;amp;et=watches.email.thread#comment-869082" title="https://community.nxp.com/message/869082?commentID=869082&amp;amp;et=watches.email.thread#comment-869082"&gt;https://community.nxp.com/message/869082?commentID=869082&amp;amp;et=watches.email.thread#comment-869082&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Path: LPC824_Example_Code_Bundle_IAR_r1.0\Shared_Project_Source_Code\Example_SCT_PWM_2State\src&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Feb 2017 07:54:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/PWM-configuration/m-p/646084#M25546</guid>
      <dc:creator>ranjithshanbhag</dc:creator>
      <dc:date>2017-02-17T07:54:48Z</dc:date>
    </item>
    <item>
      <title>Re: PWM configuration</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/PWM-configuration/m-p/646085#M25547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ranjith Shanbhag,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thank you for your trust.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Do you just want to configure the counter to up-down mode?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If yes, please modify the&amp;nbsp; SCT control register, BIDIR_L and BIDIR_H to 1.&lt;/P&gt;&lt;P&gt;&amp;nbsp; Just like the user manual, SCT regiser description:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/14298i946BDC5F065A3DD9/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please try it on your side.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wish it helps you!&lt;/P&gt;&lt;P&gt;If you still have question, please let me know!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2017 05:18:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/PWM-configuration/m-p/646085#M25547</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-02-21T05:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: PWM configuration</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/PWM-configuration/m-p/646086#M25548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/kerryzhou"&gt;kerryzhou&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your valuable reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What all configuration changes required? By modifying SCT control register, BIDIR_L and BIDIR_H to 1 i am unable to aceive it.&lt;BR /&gt;Please help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ranjith Shanbhag&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2017 05:25:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/PWM-configuration/m-p/646086#M25548</guid>
      <dc:creator>ranjithshanbhag</dc:creator>
      <dc:date>2017-02-21T05:25:15Z</dc:date>
    </item>
    <item>
      <title>Re: PWM configuration</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/PWM-configuration/m-p/646087#M25549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ranjith Shanbhag,&lt;/P&gt;&lt;P&gt;&amp;nbsp; How did you know it&amp;nbsp; can't achieve it?&lt;/P&gt;&lt;P&gt;&amp;nbsp; Please give me your test result, and tell me the details how your analysis it. I will check it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;If it is really not OK, I will test it on my side when I have time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2017 08:45:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/PWM-configuration/m-p/646087#M25549</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-02-21T08:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: PWM configuration</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/PWM-configuration/m-p/646088#M25550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/kerryzhou"&gt;kerryzhou&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With reference to &lt;STRONG&gt;AN11538 SCTimer/PWM cookbook &lt;/STRONG&gt;(page no 15) i have done modification in the code and tested. i am unable to get PWM output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need your help to move forward in my project. Please provide your thoughts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the below link for the project which you shared earlier and in same project i need center aligned configuration.&lt;BR /&gt;&lt;A _jive_internal="true" class="" data-content-finding="Community" href="https://community.nxp.com/thread/441988?commentID=869082&amp;amp;et=watches.email.thread#comment-869082"&gt;https://community.nxp.com/message/869082?commentID=869082&amp;amp;et=watches.email.thread#comment-869082&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Path: LPC824_Example_Code_Bundle_IAR_r1.0\Shared_Project_Source_Code\Example_SCT_PWM_2State\src&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2017 06:14:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/PWM-configuration/m-p/646088#M25550</guid>
      <dc:creator>ranjithshanbhag</dc:creator>
      <dc:date>2017-02-22T06:14:43Z</dc:date>
    </item>
    <item>
      <title>Re: PWM configuration</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/PWM-configuration/m-p/646089#M25551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/kerryzhou"&gt;kerryzhou&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any update on above discussion? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ranjith&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2017 05:25:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/PWM-configuration/m-p/646089#M25551</guid>
      <dc:creator>ranjithshanbhag</dc:creator>
      <dc:date>2017-02-28T05:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: PWM configuration</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/PWM-configuration/m-p/646090#M25552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ranjith Shanbhag,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I don't know why you said configure BIDIR_L and BIDIR_H to 1 unable to work?&lt;/P&gt;&lt;P&gt;&amp;nbsp; I just modify these two bits, it works on my side.&lt;/P&gt;&lt;P&gt;&amp;nbsp; As you know, CPWM will make the counter to up-down, so the frequency will half of the original counter up.&lt;/P&gt;&lt;P&gt;&amp;nbsp; This is my test result and code is in the attachment.&lt;BR /&gt;This project will generate 250hz at PIO0_16, 50khz PWM at PIO0_12.&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class="" data-object-id="441988" data-object-type="1"&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/15147iD7E15B98CB2B1218/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&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/15202i7C8046E4373DE4D8/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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wish it helps you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Mar 2017 07:13:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/PWM-configuration/m-p/646090#M25552</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-03-03T07:13:50Z</dc:date>
    </item>
  </channel>
</rss>

