<?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 MC9S08GT60 TPM Configuration Register value changes in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08GT60-TPM-Configuration-Register-value-changes/m-p/463442#M21699</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In one application we are using an MC9S08GT60 MCU for displaying text in an LCD. This LCD requires us to implement some delays between commands. These delays consist in a function call that has a cycle that verifies the value of a timer and refreshes the Watchdog. We are using one of the TPM modules in the MCU as timer. In some cases it happens that the application gets cycled forever. I tracked down this situation and discoverd the application is in this cycle and the timer is not running. Verifying the memory addresses, I discovered the TPM Status and Control register has a value that does not correspond to a valid value for the application. Its normal value is 0x4F, with the timer overflow flag active it is 0xCF and when cycled, it has ALWAYS a value of 0x01. No other register next to it has a different value from the configured and correct ones. We wonder if some process of the MCU causes this situation and how could we deal with it.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 May 2016 23:25:22 GMT</pubDate>
    <dc:creator>arturogarciamx</dc:creator>
    <dc:date>2016-05-30T23:25:22Z</dc:date>
    <item>
      <title>MC9S08GT60 TPM Configuration Register value changes</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08GT60-TPM-Configuration-Register-value-changes/m-p/463442#M21699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In one application we are using an MC9S08GT60 MCU for displaying text in an LCD. This LCD requires us to implement some delays between commands. These delays consist in a function call that has a cycle that verifies the value of a timer and refreshes the Watchdog. We are using one of the TPM modules in the MCU as timer. In some cases it happens that the application gets cycled forever. I tracked down this situation and discoverd the application is in this cycle and the timer is not running. Verifying the memory addresses, I discovered the TPM Status and Control register has a value that does not correspond to a valid value for the application. Its normal value is 0x4F, with the timer overflow flag active it is 0xCF and when cycled, it has ALWAYS a value of 0x01. No other register next to it has a different value from the configured and correct ones. We wonder if some process of the MCU causes this situation and how could we deal with it.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 May 2016 23:25:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08GT60-TPM-Configuration-Register-value-changes/m-p/463442#M21699</guid>
      <dc:creator>arturogarciamx</dc:creator>
      <dc:date>2016-05-30T23:25:22Z</dc:date>
    </item>
  </channel>
</rss>

