<?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のトピックLPC4350 - PWM using SGPIO</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4350-PWM-using-SGPIO/m-p/573010#M18698</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Antony on Tue Oct 09 09:43:59 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In my application I'd like to use SGPIO to generate PWM signal.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In the UM10503 SGPIO Examples section PWM is mentioned as an (?available) example but not listed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have no experience on SGPIO usage.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you please advise some reference points to start from.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any other feedback abot PWM building using SGPIO would be also appreciated :)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 18:59:55 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T18:59:55Z</dc:date>
    <item>
      <title>LPC4350 - PWM using SGPIO</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4350-PWM-using-SGPIO/m-p/573010#M18698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Antony on Tue Oct 09 09:43:59 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In my application I'd like to use SGPIO to generate PWM signal.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In the UM10503 SGPIO Examples section PWM is mentioned as an (?available) example but not listed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have no experience on SGPIO usage.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you please advise some reference points to start from.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any other feedback abot PWM building using SGPIO would be also appreciated :)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:59:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4350-PWM-using-SGPIO/m-p/573010#M18698</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4350 - PWM using SGPIO</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4350-PWM-using-SGPIO/m-p/573011#M18699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by bavarian on Thu Oct 11 00:18:19 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello Antony,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would recommend to use another feature of the LPC4300, the State Configurable Timer (SCT).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There is a good example in the current software package. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Download it from sw.lpcware.com in the LPC43xx section (download a snapshot of the latest version from 4 Sept 2012)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Look in .\lpc43xx\Examples\SCT\Sct_pwm&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For SGPIO there is currently no structured example which does PWM.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;NXP Technical Support Team.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:59:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4350-PWM-using-SGPIO/m-p/573011#M18699</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4350 - PWM using SGPIO</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4350-PWM-using-SGPIO/m-p/573012#M18700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Antony on Fri Oct 12 02:03:40 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello bavarian,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot for your answer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I my application I already use SCT for other purposes. So there is no possibility to use it for PWM purposes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The options that I have is to use Timer2 or SGPIO to build PWM.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;After checking Timer2 functionality looks like there is no way to build PWM only PFM (External Match registers triggers only dedicated pin). Am I right, by the way? Maybe I have missed something?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Also I cannot use interrupts for that purpose.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So I was thinking about SGPIO usage.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you please give me advise about SGPIO.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it possible to use it as PWM, any restrictions pitfalls that might occur?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:59:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4350-PWM-using-SGPIO/m-p/573012#M18700</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:59:57Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4350 - PWM using SGPIO</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4350-PWM-using-SGPIO/m-p/573013#M18701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by jgorsk on Fri Oct 12 09:05:36 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello Antony,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you want to operate SGPIO PWM at high speed don't use SGPIO interrupt. That takes &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to much CPU time. In my opinion you should implement DMA transfers instead. I tried using interrupts, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;it doesn't make much sense. The CPU is just too busy with SGPIO ISR. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Apart from that SGPIO based PWM should work fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it going to be single or multichannel PWM?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you don't need great accuracy, you can also use any timer to generate the timing and toggle &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the PWM pin in that timer interrupt handler but I guess you considered that already.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:59:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4350-PWM-using-SGPIO/m-p/573013#M18701</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:59:57Z</dc:date>
    </item>
  </channel>
</rss>

