<?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>S32KのトピックRe: Modulated PWM waveform Generation</title>
    <link>https://community.nxp.com/t5/S32K/Modulated-PWM-waveform-Generation/m-p/656238#M556</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Allen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your swift response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I code attached&amp;nbsp; isn't using&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;SIM-&amp;gt;FTMOPT1=SIM_FTMOPT1_FTM3_OUTSEL(0x01);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;I analyzed the code you shared above, FTM0 with 40Hz, and both FTM1 &amp;amp; FTM2 with 1KHz. Also FTM1 &amp;amp; FTM2, CH0 are provided with 50% duty cycle .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;1.&amp;nbsp;I would like to know the reason why&amp;nbsp;50% duty cycle @ 1KHz on FTM1_CH1, though FTM1 doesn't&amp;nbsp;support Modulation. Is this CnV registers in FTM1 support in generating the signals D2 and D3 on FTM0_CH0? In that case, what is the duty during the modulation period of D2 &amp;amp; D3? Is the modulating frequency is same as FTM1_CH1?&amp;nbsp;Is this 50% can be controlled?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly clarify,&lt;/P&gt;&lt;P&gt;Raju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 May 2020 10:24:42 GMT</pubDate>
    <dc:creator>bjrajendra</dc:creator>
    <dc:date>2020-05-12T10:24:42Z</dc:date>
    <item>
      <title>Modulated PWM waveform Generation</title>
      <link>https://community.nxp.com/t5/S32K/Modulated-PWM-waveform-Generation/m-p/656233#M551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using s32k144 controller I want to produce&amp;nbsp; PWM waveform with modulation feature.&amp;nbsp; If I use modulation feature is it possible to generate PWM with different durty cycle in their on time. for example if on time is of 40 msec and period is 60 msec, then for 20 msec 80% duty cycle and for next 20msec 20%duty cycle. How to generate this kind of waveform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Swati Mali&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 May 2017 12:09:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Modulated-PWM-waveform-Generation/m-p/656233#M551</guid>
      <dc:creator>swatimali</dc:creator>
      <dc:date>2017-05-02T12:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: Modulated PWM waveform Generation</title>
      <link>https://community.nxp.com/t5/S32K/Modulated-PWM-waveform-Generation/m-p/656234#M552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Swati,&lt;/P&gt;&lt;P&gt;I created a demo using 3 of the 4 FTM channels on S32K144, which uses the Fault pins to modulate a frequency output for any duration within your desired period.&amp;nbsp; In the attached image, the signals on traces D0 and D1 are used to modulate the PWMs that are being output on D2 and D3.&amp;nbsp; The signals on D0 and D1 are generated by FTM0, and are wired to the fault inputs on FTM2 and FTM3.&amp;nbsp; FTM2 and FTM3 can be configured to generate independent PWM signals.&amp;nbsp; When a fault is active, the PWM is not output on the pin. The period is defined by FTM0, and this is shown on trace D4.&lt;/P&gt;&lt;P&gt;This method uses a lot of FTM resources.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="modulated output using FTM Fault pins.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/17698i267CC1B3FE8C862A/image-size/large?v=v2&amp;amp;px=999" role="button" title="modulated output using FTM Fault pins.jpg" alt="modulated output using FTM Fault pins.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Source code is attached. Sorry, but I don't think it is commented very well yet. You can contact me if you have questions.&lt;/P&gt;&lt;P&gt;-allen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 May 2017 18:40:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Modulated-PWM-waveform-Generation/m-p/656234#M552</guid>
      <dc:creator>allen_willson</dc:creator>
      <dc:date>2017-05-02T18:40:55Z</dc:date>
    </item>
    <item>
      <title>Re: Modulated PWM waveform Generation</title>
      <link>https://community.nxp.com/t5/S32K/Modulated-PWM-waveform-Generation/m-p/656235#M553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;Allen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to know about the possibility of modulating on FTM2 &amp;amp; I'd raised few issues on using&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;SIM-&amp;gt;FTMOPT1=SIM_FTMOPT1_FTM3_OUTSEL(0x01);&lt;/SPAN&gt;&amp;nbsp;how does this help in modulation and what is its significance?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Similar thing I asked a question in&amp;nbsp;&lt;A href="https://community.nxp.com/thread/531736"&gt;FTM2 Output Modulation&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly suggest to us in this regard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2020 05:08:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Modulated-PWM-waveform-Generation/m-p/656235#M553</guid>
      <dc:creator>bjrajendra</dc:creator>
      <dc:date>2020-05-11T05:08:05Z</dc:date>
    </item>
    <item>
      <title>Re: Modulated PWM waveform Generation</title>
      <link>https://community.nxp.com/t5/S32K/Modulated-PWM-waveform-Generation/m-p/656236#M554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;The SIM-&amp;gt;FTMOPT registers perform the modulation function described in the reference manual section 45.1.7 FTM Modulation Implementation.&amp;nbsp; This is similar to what the demo performs, but not does not allow using across more than one FTM.&amp;nbsp; The diagram at Figure 45-4 FTM Output Modulation shows the direct influence of the channel FTM1_CH1 to the FTM0 output signals.&amp;nbsp; The limitation is that all signals of FTM0 are modulated by FTM1_CH1.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hopefully you have an evaluation board and you can play with these features.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2020 17:53:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Modulated-PWM-waveform-Generation/m-p/656236#M554</guid>
      <dc:creator>allen_willson</dc:creator>
      <dc:date>2020-05-11T17:53:46Z</dc:date>
    </item>
    <item>
      <title>Re: Modulated PWM waveform Generation</title>
      <link>https://community.nxp.com/t5/S32K/Modulated-PWM-waveform-Generation/m-p/656237#M555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Allen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this mean the FTM1_CH1 -&amp;gt; CnV register&amp;nbsp;is used for the duty &amp;amp; generate PWM outputs on FTM0?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2020 06:43:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Modulated-PWM-waveform-Generation/m-p/656237#M555</guid>
      <dc:creator>bjrajendra</dc:creator>
      <dc:date>2020-05-12T06:43:52Z</dc:date>
    </item>
    <item>
      <title>Re: Modulated PWM waveform Generation</title>
      <link>https://community.nxp.com/t5/S32K/Modulated-PWM-waveform-Generation/m-p/656238#M556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Allen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your swift response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I code attached&amp;nbsp; isn't using&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;SIM-&amp;gt;FTMOPT1=SIM_FTMOPT1_FTM3_OUTSEL(0x01);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;I analyzed the code you shared above, FTM0 with 40Hz, and both FTM1 &amp;amp; FTM2 with 1KHz. Also FTM1 &amp;amp; FTM2, CH0 are provided with 50% duty cycle .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;1.&amp;nbsp;I would like to know the reason why&amp;nbsp;50% duty cycle @ 1KHz on FTM1_CH1, though FTM1 doesn't&amp;nbsp;support Modulation. Is this CnV registers in FTM1 support in generating the signals D2 and D3 on FTM0_CH0? In that case, what is the duty during the modulation period of D2 &amp;amp; D3? Is the modulating frequency is same as FTM1_CH1?&amp;nbsp;Is this 50% can be controlled?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly clarify,&lt;/P&gt;&lt;P&gt;Raju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2020 10:24:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Modulated-PWM-waveform-Generation/m-p/656238#M556</guid>
      <dc:creator>bjrajendra</dc:creator>
      <dc:date>2020-05-12T10:24:42Z</dc:date>
    </item>
  </channel>
</rss>

