<?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 Re: 9SC08QG4 TPM input capture and general input. in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/9SC08QG4-TPM-input-capture-and-general-input/m-p/216010#M18779</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Viking01, and welcome to the forum.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In general, when a peripheral module is enabled, it will over-ride GPIO functionality.&amp;nbsp; I suspect this will also be the case for the input capture pin.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think that you mean the TPMCNT (16-bit) register, compared with the TPMC0V register.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;An input capture event will write the current contents of TPMCNT into the TPMC0V register, at the instant of the event.&amp;nbsp; Interrupt latency may then cause the two values to slightly differ at the time the interrupt is processed.&amp;nbsp; The true timer value for the capture event will therefore be that within TPMC0V.&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>Mon, 14 Sep 2009 01:08:15 GMT</pubDate>
    <dc:creator>bigmac</dc:creator>
    <dc:date>2009-09-14T01:08:15Z</dc:date>
    <item>
      <title>9SC08QG4 TPM input capture and general input.</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/9SC08QG4-TPM-input-capture-and-general-input/m-p/216009#M18778</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'm using CodeWarrior in C to develop my software.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've configured PTA0 on the 8pin device as an input capture (TPMCH0) input.&amp;nbsp; Can I still test the logic level on this pin by testing PTAD_PTA0 without having to change it to a General I/O first?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, I'm using interrupts to capture an input event, and saving the timer value to a variable (when the CH0F flag is set).&amp;nbsp; What is the difference between reading the TPMC0VH/L registers and TPMC0TH/L registers they appear to me to have the same information in them.&amp;nbsp; Is it a case that TPMC0VH/L is used for CH0F, and TPMC0TH/L is best used for T0F?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;viking01&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Sep 2009 17:09:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/9SC08QG4-TPM-input-capture-and-general-input/m-p/216009#M18778</guid>
      <dc:creator>viking01</dc:creator>
      <dc:date>2009-09-13T17:09:27Z</dc:date>
    </item>
    <item>
      <title>Re: 9SC08QG4 TPM input capture and general input.</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/9SC08QG4-TPM-input-capture-and-general-input/m-p/216010#M18779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Viking01, and welcome to the forum.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In general, when a peripheral module is enabled, it will over-ride GPIO functionality.&amp;nbsp; I suspect this will also be the case for the input capture pin.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think that you mean the TPMCNT (16-bit) register, compared with the TPMC0V register.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;An input capture event will write the current contents of TPMCNT into the TPMC0V register, at the instant of the event.&amp;nbsp; Interrupt latency may then cause the two values to slightly differ at the time the interrupt is processed.&amp;nbsp; The true timer value for the capture event will therefore be that within TPMC0V.&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>Mon, 14 Sep 2009 01:08:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/9SC08QG4-TPM-input-capture-and-general-input/m-p/216010#M18779</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2009-09-14T01:08:15Z</dc:date>
    </item>
    <item>
      <title>Re: 9SC08QG4 TPM input capture and general input.</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/9SC08QG4-TPM-input-capture-and-general-input/m-p/216011#M18780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks bigmac,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your assumption was correct, I did mean TPMCNT.&amp;nbsp; Thanks for your info and assistance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;viking01&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2009 04:54:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/9SC08QG4-TPM-input-capture-and-general-input/m-p/216011#M18780</guid>
      <dc:creator>viking01</dc:creator>
      <dc:date>2009-09-14T04:54:03Z</dc:date>
    </item>
  </channel>
</rss>

