<?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: [KEAZN64] PIT timeout flag is not cleared directly in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEAZN64-PIT-timeout-flag-is-not-cleared-directly/m-p/874845#M52046</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mohammed Aboelnasr ,&lt;/P&gt;&lt;P&gt;I am sorry to tell you that I didn't find such parameter.&lt;BR /&gt;Maybe you can try to test it by polling this flag and then calculate the cycles by PIT_CVALn.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Robin&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Mar 2019 07:20:53 GMT</pubDate>
    <dc:creator>Robin_Shen</dc:creator>
    <dc:date>2019-03-22T07:20:53Z</dc:date>
    <item>
      <title>[KEAZN64] PIT timeout flag is not cleared directly</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEAZN64-PIT-timeout-flag-is-not-cleared-directly/m-p/874844#M52045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a minor question about the timing needed for the PIT peripheral to clear the flag.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per the datasheet, Writing 1 to this flag "TIF" clears it. Writing 0 has no effect. If enabled,&lt;BR /&gt;or, when TCTRLn[TIE] = 1, TIF causes an interrupt request.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked this bit "TIF" inside the ISR just after writing '1' to it and I found that the flag is still keeping its value '1'.&lt;/P&gt;&lt;P&gt;Which is not compliant to the datasheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, when I run the software again, I found out that the flag is cleared later !.&lt;/P&gt;&lt;P&gt;This is OK for me as there is no problem, the flag is cleared but not just after setting bit "TIF" by '1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All what I need is knowing how many bus clock cycles needed for this bit to be cleared ?&lt;/P&gt;&lt;P&gt;It is not clear in the datasheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Mar 2019 18:44:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEAZN64-PIT-timeout-flag-is-not-cleared-directly/m-p/874844#M52045</guid>
      <dc:creator>mohammedaboelna</dc:creator>
      <dc:date>2019-03-20T18:44:40Z</dc:date>
    </item>
    <item>
      <title>Re: [KEAZN64] PIT timeout flag is not cleared directly</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEAZN64-PIT-timeout-flag-is-not-cleared-directly/m-p/874845#M52046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mohammed Aboelnasr ,&lt;/P&gt;&lt;P&gt;I am sorry to tell you that I didn't find such parameter.&lt;BR /&gt;Maybe you can try to test it by polling this flag and then calculate the cycles by PIT_CVALn.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Robin&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Mar 2019 07:20:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEAZN64-PIT-timeout-flag-is-not-cleared-directly/m-p/874845#M52046</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2019-03-22T07:20:53Z</dc:date>
    </item>
  </channel>
</rss>

