<?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>topic TPM Capture Mode in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/TPM-Capture-Mode/m-p/184647#M13752</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am working on a project that uses TPM Capture mode. My code should increase a counter variable when rising edge came. My problem is I couldnt set capture mode. I have working TPM timer interrupt but it is not capture rising edges. I set TPM1C1SC register for capture mode but it didnt work. What should my TPM interrupt consist and which pins should I use for this purpose? Any advice&amp;nbsp;appreciated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Eren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Aug 2012 03:43:34 GMT</pubDate>
    <dc:creator>e_ay</dc:creator>
    <dc:date>2012-08-01T03:43:34Z</dc:date>
    <item>
      <title>TPM Capture Mode</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/TPM-Capture-Mode/m-p/184647#M13752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am working on a project that uses TPM Capture mode. My code should increase a counter variable when rising edge came. My problem is I couldnt set capture mode. I have working TPM timer interrupt but it is not capture rising edges. I set TPM1C1SC register for capture mode but it didnt work. What should my TPM interrupt consist and which pins should I use for this purpose? Any advice&amp;nbsp;appreciated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Eren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2012 03:43:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/TPM-Capture-Mode/m-p/184647#M13752</guid>
      <dc:creator>e_ay</dc:creator>
      <dc:date>2012-08-01T03:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: TPM Capture Mode</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/TPM-Capture-Mode/m-p/184648#M13753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Eren,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since you have not provided any of&amp;nbsp;the relevant code, it is impossible to guess what is the cause of your problem.&amp;nbsp; You would need to provide the initialisation code for the TPM module, plus the interrupt service&amp;nbsp;code for the TPM channel you are using.&amp;nbsp; You should also mention the HC9S08 derivative that you are using.&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>Thu, 02 Aug 2012 00:40:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/TPM-Capture-Mode/m-p/184648#M13753</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2012-08-02T00:40:02Z</dc:date>
    </item>
  </channel>
</rss>

