<?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>8-bit MicrocontrollersのトピックRe: TPM V3 initialisation</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/TPM-V3-initialisation/m-p/191717#M14758</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please how did you solve the mentioned problem. I have the same one now. Thank you very much.&lt;/P&gt;&lt;P&gt;Jan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Dec 2010 21:43:37 GMT</pubDate>
    <dc:creator>Harman</dc:creator>
    <dc:date>2010-12-01T21:43:37Z</dc:date>
    <item>
      <title>TPM V3 initialisation</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/TPM-V3-initialisation/m-p/191716#M14757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi evrybody,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use the TPM module version 3 on a 9S08AC60 in PWM edge aligned methode&lt;/P&gt;&lt;P&gt;and i have some trouble with the setup of this module.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my code :&lt;/P&gt;&lt;P&gt;&amp;nbsp; //setup timer for&amp;nbsp;PWM leds&lt;BR /&gt;&amp;nbsp; TPM1MOD=MAX_VALUE_PWM-2;&lt;BR /&gt;&amp;nbsp; TPM1SC=0x08;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp; //setup timer PWM led by led&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp; TPM1C0V=0;&lt;BR /&gt;&amp;nbsp; TPM1C2V=0;&lt;BR /&gt;&amp;nbsp; TPM1C3V=0;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp; TPM1C0SC=0x24;&lt;BR /&gt;&amp;nbsp; TPM1C2SC=0x24;&lt;BR /&gt;&amp;nbsp; TPM1C3SC=0x24;&lt;/P&gt;&lt;P&gt;and after to change the duty cycle&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;TPM1C0V=table_cpt_pwm[0];&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TPM1C2V=table_cpt_pwm[2];&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TPM1C3V=table_cpt_pwm[1];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My trouble is that when i reset&amp;nbsp; my CPU, i can see 1 duty cycle&lt;/P&gt;&lt;P&gt;at 0. and after all works fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea ??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jun 2009 22:51:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/TPM-V3-initialisation/m-p/191716#M14757</guid>
      <dc:creator>Lj_cyril</dc:creator>
      <dc:date>2009-06-18T22:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: TPM V3 initialisation</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/TPM-V3-initialisation/m-p/191717#M14758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please how did you solve the mentioned problem. I have the same one now. Thank you very much.&lt;/P&gt;&lt;P&gt;Jan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Dec 2010 21:43:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/TPM-V3-initialisation/m-p/191717#M14758</guid>
      <dc:creator>Harman</dc:creator>
      <dc:date>2010-12-01T21:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: TPM V3 initialisation</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/TPM-V3-initialisation/m-p/191718#M14759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jan,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As the TPM module provides buffered PWM operation, the observed behavior is correct - the duty cycle will not change until the next TPM overflow occurs.&amp;nbsp; If you need immediate update of&amp;nbsp;a new&amp;nbsp;channel register value, disable the TPM module before doing the update.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;During TPM initialisation, you should consider that the TPM1SC register be the final one to be&amp;nbsp;written, to enable the module.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mac&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Dec 2010 22:11:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/TPM-V3-initialisation/m-p/191718#M14759</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2010-12-01T22:11:17Z</dc:date>
    </item>
  </channel>
</rss>

