<?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: How much time  will  MKL16 take  when  Check  IO  high input？ in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-much-time-will-MKL16-take-when-Check-IO-high-input/m-p/1152433#M58071</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Above two images show same time difference Bx-Ax = 960 ns. Please refer data sheet section&amp;nbsp; 2.3.2 General switching specifications for GPIO operation time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kalaimani Arumugam&lt;/P&gt;</description>
    <pubDate>Sun, 13 Sep 2020 03:24:30 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-09-13T03:24:30Z</dc:date>
    <item>
      <title>How much time  will  MKL16 take  when  Check  IO  high input？</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-much-time-will-MKL16-take-when-Check-IO-high-input/m-p/1152428#M58069</link>
      <description>&lt;P&gt;Hi ，&lt;/P&gt;&lt;P&gt;I need to wait PTD4 to high &amp;nbsp;,and then use timer to do something &amp;nbsp;.&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;follows is my code :&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;TestIO_00; &amp;nbsp; // Set Test IO &amp;nbsp;low&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;//other codes&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;while((GPIOD_PDIR&amp;amp;0x00000010)==0){}; &amp;nbsp;&lt;FONT color="#FF0000"&gt;//wait the PTD4 to High ， this code will take different &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //time, and this is my question&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;TestIO_11; &amp;nbsp;// Set Test IO High&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;//other codes&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I&lt;/STRONG&gt; found that when the PTD4 turn to high , &amp;nbsp;the MKL16 take&amp;nbsp;different time to check . &amp;nbsp;Now the CoreClock is 2MHz &amp;nbsp; , BusClock is 1MHz .&lt;/P&gt;&lt;P&gt;folows are my two&amp;nbsp;records ,and you can find that the time of check PTD4 high is not same . So, how to make the check time same ?&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 13 Sep 2020 02:50:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-much-time-will-MKL16-take-when-Check-IO-high-input/m-p/1152428#M58069</guid>
      <dc:creator>jiannianli</dc:creator>
      <dc:date>2020-09-13T02:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: How much time  will  MKL16 take  when  Check  IO  high input？</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-much-time-will-MKL16-take-when-Check-IO-high-input/m-p/1152431#M58070</link>
      <description>&lt;P&gt;the record picture are:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="111.jpg" style="width: 826px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/124994i7DE1110173B6CA4C/image-size/large?v=v2&amp;amp;px=999" role="button" title="111.jpg" alt="111.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2222.jpg" style="width: 816px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/124995i6BBE4BC354D69862/image-size/large?v=v2&amp;amp;px=999" role="button" title="2222.jpg" alt="2222.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 13 Sep 2020 02:54:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-much-time-will-MKL16-take-when-Check-IO-high-input/m-p/1152431#M58070</guid>
      <dc:creator>jiannianli</dc:creator>
      <dc:date>2020-09-13T02:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: How much time  will  MKL16 take  when  Check  IO  high input？</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-much-time-will-MKL16-take-when-Check-IO-high-input/m-p/1152433#M58071</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Above two images show same time difference Bx-Ax = 960 ns. Please refer data sheet section&amp;nbsp; 2.3.2 General switching specifications for GPIO operation time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kalaimani Arumugam&lt;/P&gt;</description>
      <pubDate>Sun, 13 Sep 2020 03:24:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-much-time-will-MKL16-take-when-Check-IO-high-input/m-p/1152433#M58071</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-09-13T03:24:30Z</dc:date>
    </item>
    <item>
      <title>Re: How much time  will  MKL16 take  when  Check  IO  high input？</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-much-time-will-MKL16-take-when-Check-IO-high-input/m-p/1152436#M58073</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Kalaimani ,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;thanks for you reply.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;the two picture show that Bx-Ax=9.6 us . &amp;nbsp;I had make a new test &amp;nbsp;pitcure ( put the two test into one picture ) . you can find that the different time is 1.88us ,and is too large for our project now.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="333.jpg" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/124996iC515F3FEE7FAF83F/image-size/large?v=v2&amp;amp;px=999" role="button" title="333.jpg" alt="333.jpg" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 13 Sep 2020 03:54:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-much-time-will-MKL16-take-when-Check-IO-high-input/m-p/1152436#M58073</guid>
      <dc:creator>jiannianli</dc:creator>
      <dc:date>2020-09-13T03:54:02Z</dc:date>
    </item>
    <item>
      <title>Re: How much time  will  MKL16 take  when  Check  IO  high input？</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-much-time-will-MKL16-take-when-Check-IO-high-input/m-p/1152644#M58084</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;jiannianli,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;You can use the FGPIO to control the GPIO output and the read the input, or use the interrupt to read the PTD4 input, it will be more quick than your polling mode.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;In fact, even you just toggle the GPIO output, it will also need the times, FGPIO toggle frequency can reach to the core clock /2.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;Your test result time in fact include two part, detect the PTD4 time, and the GPIO output time. Obout the test IO output time, you can toggle it directly in the code and test it, then use your orginal test time minus the GPIO output time, it is your PTD4 detect time.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Wish it helps you!&lt;/P&gt;
&lt;P&gt;If you still have questions about it, please kindly let me know!&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Kerry&lt;/P&gt;
&lt;P&gt;-------------------------------------------------------------------------------&lt;/P&gt;
&lt;P&gt;Note:&lt;/P&gt;
&lt;P&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;/P&gt;
&lt;P&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;/P&gt;
&lt;P&gt;-----------------------------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Mon, 14 Sep 2020 06:29:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-much-time-will-MKL16-take-when-Check-IO-high-input/m-p/1152644#M58084</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2020-09-14T06:29:07Z</dc:date>
    </item>
    <item>
      <title>Re: How much time  will  MKL16 take  when  Check  IO  high input？</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-much-time-will-MKL16-take-when-Check-IO-high-input/m-p/1152665#M58085</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Kerry,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;thanks for your reply ,and maybe I know how to do . than you.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Sep 2020 07:06:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-much-time-will-MKL16-take-when-Check-IO-high-input/m-p/1152665#M58085</guid>
      <dc:creator>jiannianli</dc:creator>
      <dc:date>2020-09-14T07:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: How much time  will  MKL16 take  when  Check  IO  high input？</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-much-time-will-MKL16-take-when-Check-IO-high-input/m-p/1153146#M58101</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN class=""&gt;&lt;A id="link_12" class="lia-link-navigation lia-page-link lia-user-name-link" href="https://community.nxp.com/t5/user/viewprofilepage/user-id/74329" target="_self"&gt;jiannianli&lt;/A&gt;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp; You are welcome!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp;If you have any new questions in the future, welcome to create the new question post. \&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;Kerry&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2020 02:56:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-much-time-will-MKL16-take-when-Check-IO-high-input/m-p/1153146#M58101</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2020-09-15T02:56:08Z</dc:date>
    </item>
  </channel>
</rss>

