<?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>Kinetis MicrocontrollersのトピックRe: Waiting for FTFE FSTAT CCIF bit on Kinetis k70</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Waiting-for-FTFE-FSTAT-CCIF-bit-on-Kinetis-k70/m-p/311697#M13469</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Luca&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This timeout timing depends on your system design. For example, your LCD will fresh in 200ms, so you should ensure that code must jump out in at least 100ms.&lt;/P&gt;&lt;P&gt;You can define a variable then added in while loop then check if variable value reached. If yes, you can return out of this loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope my reply can help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Apr 2014 07:35:18 GMT</pubDate>
    <dc:creator>Paul_Tian</dc:creator>
    <dc:date>2014-04-08T07:35:18Z</dc:date>
    <item>
      <title>Waiting for FTFE FSTAT CCIF bit on Kinetis k70</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Waiting-for-FTFE-FSTAT-CCIF-bit-on-Kinetis-k70/m-p/311694#M13466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good morning to everyone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a question about my flash driver for kinetis K70. FSTAT register of FTFE has a Command Complete Interrupt Flag which indicates that a FTFE command or EEPROM file system operation has completed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Freescale example driver is used an infinite loop to check when this flag is reset and it's possible to execute a new command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is: do I need to add a counter or a timeout to prevent that my application does not exit from this loop? In this case, do you have any idea of a correct time limit for this timeout check?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for now!! Bye!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Apr 2014 09:06:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Waiting-for-FTFE-FSTAT-CCIF-bit-on-Kinetis-k70/m-p/311694#M13466</guid>
      <dc:creator>lucaiser</dc:creator>
      <dc:date>2014-04-07T09:06:03Z</dc:date>
    </item>
    <item>
      <title>Re: Waiting for FTFE FSTAT CCIF bit on Kinetis k70</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Waiting-for-FTFE-FSTAT-CCIF-bit-on-Kinetis-k70/m-p/311695#M13467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Luca&lt;/P&gt;&lt;P&gt;This is just a sample code not a application code, If code can not run out of this loop, it means flash cannot work well. TImeout function cannot help on this issue.&lt;/P&gt;&lt;P&gt;But stand on a project view, It is need to add such a timeout handling in such a while loop check. At least, it will avoid the whole system dead in this file and other function/module can still work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2014 05:57:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Waiting-for-FTFE-FSTAT-CCIF-bit-on-Kinetis-k70/m-p/311695#M13467</guid>
      <dc:creator>Paul_Tian</dc:creator>
      <dc:date>2014-04-08T05:57:52Z</dc:date>
    </item>
    <item>
      <title>Re: Waiting for FTFE FSTAT CCIF bit on Kinetis k70</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Waiting-for-FTFE-FSTAT-CCIF-bit-on-Kinetis-k70/m-p/311696#M13468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, do you have an idea of a correct timeout?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2014 06:54:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Waiting-for-FTFE-FSTAT-CCIF-bit-on-Kinetis-k70/m-p/311696#M13468</guid>
      <dc:creator>lucaiser</dc:creator>
      <dc:date>2014-04-08T06:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: Waiting for FTFE FSTAT CCIF bit on Kinetis k70</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Waiting-for-FTFE-FSTAT-CCIF-bit-on-Kinetis-k70/m-p/311697#M13469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Luca&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This timeout timing depends on your system design. For example, your LCD will fresh in 200ms, so you should ensure that code must jump out in at least 100ms.&lt;/P&gt;&lt;P&gt;You can define a variable then added in while loop then check if variable value reached. If yes, you can return out of this loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope my reply can help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2014 07:35:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Waiting-for-FTFE-FSTAT-CCIF-bit-on-Kinetis-k70/m-p/311697#M13469</guid>
      <dc:creator>Paul_Tian</dc:creator>
      <dc:date>2014-04-08T07:35:18Z</dc:date>
    </item>
    <item>
      <title>Re: Waiting for FTFE FSTAT CCIF bit on Kinetis k70</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Waiting-for-FTFE-FSTAT-CCIF-bit-on-Kinetis-k70/m-p/311698#M13470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Paul, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm writing a driver for a safety critical railway application so my main loop should be as short as possible. It should be certainly less than 100ms but i need to find required time to complete a flash command so I can check it and stop my application in case of timeout event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know maximum execution time for a flash command on K70?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May thanks, best regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2014 08:31:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Waiting-for-FTFE-FSTAT-CCIF-bit-on-Kinetis-k70/m-p/311698#M13470</guid>
      <dc:creator>lucaiser</dc:creator>
      <dc:date>2014-04-08T08:31:54Z</dc:date>
    </item>
  </channel>
</rss>

