<?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>S12 / MagniV MicrocontrollersのトピックUsing PP0 for PWM0 in 9S12ZVLA12MLF?</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Using-PP0-for-PWM0-in-9S12ZVLA12MLF/m-p/777776#M15477</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am attempting to use 6 of the 8 PWM outputs as 8-bit PWM on the 9S12ZVLA12MLF.&amp;nbsp; I am also using CodeWarrior 10.7 and using Processor Expert to set up the channels.&amp;nbsp; I cannot get PP0 to work for PWM0 nor PP2 to work for PWM2.&amp;nbsp; I have also tried manipulating the PWM registers directly, but cannot get a response on those pins.&amp;nbsp; Are those pins available for use as PWM?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Jun 2018 19:29:45 GMT</pubDate>
    <dc:creator>ptszymanski</dc:creator>
    <dc:date>2018-06-12T19:29:45Z</dc:date>
    <item>
      <title>Using PP0 for PWM0 in 9S12ZVLA12MLF?</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Using-PP0-for-PWM0-in-9S12ZVLA12MLF/m-p/777776#M15477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am attempting to use 6 of the 8 PWM outputs as 8-bit PWM on the 9S12ZVLA12MLF.&amp;nbsp; I am also using CodeWarrior 10.7 and using Processor Expert to set up the channels.&amp;nbsp; I cannot get PP0 to work for PWM0 nor PP2 to work for PWM2.&amp;nbsp; I have also tried manipulating the PWM registers directly, but cannot get a response on those pins.&amp;nbsp; Are those pins available for use as PWM?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2018 19:29:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Using-PP0-for-PWM0-in-9S12ZVLA12MLF/m-p/777776#M15477</guid>
      <dc:creator>ptszymanski</dc:creator>
      <dc:date>2018-06-12T19:29:45Z</dc:date>
    </item>
    <item>
      <title>Re: Using PP0 for PWM0 in 9S12ZVLA12MLF?</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Using-PP0-for-PWM0-in-9S12ZVLA12MLF/m-p/777777#M15478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, you can use those pins for PWM.&lt;/P&gt;&lt;P&gt;For the S12ZVLA128 MCU, there are two PWM modules &lt;SPAN&gt;PWM&lt;/SPAN&gt;0 and &lt;SPAN&gt;PWM&lt;/SPAN&gt;1&amp;nbsp;available.&amp;nbsp; You can see channel mapping in the reference manual Figure 1-8.:&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/21337i17001084868DDCF5/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;According to the figure above you need to set PWM1 module and channel 1 for uses PWM for PP0 pin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have example code for the S12ZVL32 MCU. The S12ZVL32&amp;nbsp;has only one PWM module. However, it could be useful for inspiration.&lt;A href="https://community.nxp.com/docs/DOC-334386"&gt;PWM example code for S12ZVL&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Diana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2018 08:40:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Using-PP0-for-PWM0-in-9S12ZVLA12MLF/m-p/777777#M15478</guid>
      <dc:creator>dianabatrlova</dc:creator>
      <dc:date>2018-06-13T08:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: Using PP0 for PWM0 in 9S12ZVLA12MLF?</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Using-PP0-for-PWM0-in-9S12ZVLA12MLF/m-p/777778#M15479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Diana,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the reply.&amp;nbsp; I&amp;nbsp;wasn't aware that they were separated like that, control-wise.&amp;nbsp; Thank you for the diagram and the figure reference, that was invaluable. I missed that the mapping is different from the 32/16/8 variants to the 128/96/64 variants.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2018 11:45:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Using-PP0-for-PWM0-in-9S12ZVLA12MLF/m-p/777778#M15479</guid>
      <dc:creator>ptszymanski</dc:creator>
      <dc:date>2018-06-13T11:45:31Z</dc:date>
    </item>
  </channel>
</rss>

