<?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: In K10 microcontroller how can we get a real time delay like delayms(100) or delayus(100) for 100 ms and 100 us delay?</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/In-K10-microcontroller-how-can-we-get-a-real-time-delay-like/m-p/416685#M23716</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/santiago.gonzalez"&gt;santiago.gonzalez&lt;/A&gt; The timer inturrupt was very helpful and made my day. :smileyhappy: The tutorial u suggested was also very helpful. Thanks once again..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prafful&lt;/P&gt;&lt;P&gt;:smileyhappy::smileygrin::smileyhappy:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Nov 2015 04:47:48 GMT</pubDate>
    <dc:creator>psjhawer</dc:creator>
    <dc:date>2015-11-26T04:47:48Z</dc:date>
    <item>
      <title>In K10 microcontroller how can we get a real time delay like delayms(100) or delayus(100) for 100 ms and 100 us delay?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/In-K10-microcontroller-how-can-we-get-a-real-time-delay-like/m-p/416682#M23713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I'm using an MK10DX128VLH5 IC in my project. I want to give a delay of exactly 3 secs in between 2 operations. Is there an inbuilt function or something that can give me this exact delay??.&lt;/P&gt;&lt;P&gt;Meanwhile if u guys can help me with the amount of delay the followingfunction gives when run, it would help me solve the issue more easier. The following code is already used in an existing code which i need to change for an upgraded product.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Delay_t(20000);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void Delay_t(unsigned int i){&lt;/P&gt;&lt;P&gt;&amp;nbsp; int k;&lt;/P&gt;&lt;P&gt; while(i--){&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(k=0;k&amp;lt;10;k++){&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; asm ("NOP");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The CPU Configuration is as follows:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/31962i9A37E47F0FE6F906/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please help ASAP. Plz let me know if any other information is required..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Prafful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2015 06:58:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/In-K10-microcontroller-how-can-we-get-a-real-time-delay-like/m-p/416682#M23713</guid>
      <dc:creator>psjhawer</dc:creator>
      <dc:date>2015-11-17T06:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: In K10 microcontroller how can we get a real time delay like delayms(100) or delayus(100) for 100 ms and 100 us delay?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/In-K10-microcontroller-how-can-we-get-a-real-time-delay-like/m-p/416683#M23714</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;In embedded projects usually you don't block the MCU to wait for such big amounts of time. Instead you can use a timer to get notified via an interrupt after the time has passed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This tutorial will help you:&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.com/2012/08/13/tutorial-timer-led-with-processor-expert-for-kinetis/" style="line-height: 1.5;" title="http://mcuoneclipse.com/2012/08/13/tutorial-timer-led-with-processor-expert-for-kinetis/"&gt;http://mcuoneclipse.com/2012/08/13/tutorial-timer-led-with-processor-expert-for-kinetis/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Santiago&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2015 11:09:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/In-K10-microcontroller-how-can-we-get-a-real-time-delay-like/m-p/416683#M23714</guid>
      <dc:creator>santiago_gonzal</dc:creator>
      <dc:date>2015-11-17T11:09:28Z</dc:date>
    </item>
    <item>
      <title>Re: In K10 microcontroller how can we get a real time delay like delayms(100) or delayus(100) for 100 ms and 100 us delay?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/In-K10-microcontroller-how-can-we-get-a-real-time-delay-like/m-p/416684#M23715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prafful,&lt;/P&gt;&lt;P&gt;Santiago illustrated one way to get precise delay, and I'd like to suggest that you can also use the systick timer to implement precise delay.&lt;/P&gt;&lt;P&gt;You could check the detail description of systick timer through the thread as follow.&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" data-containerid="2019" data-containertype="14" data-content-finding="Community" data-objectid="350275" data-objecttype="2" href="https://community.nxp.com/message/350275#350275"&gt;Where is detail description for Systick for KL?&lt;/A&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ping&lt;/P&gt;&lt;P&gt;&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Nov 2015 02:41:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/In-K10-microcontroller-how-can-we-get-a-real-time-delay-like/m-p/416684#M23715</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2015-11-18T02:41:32Z</dc:date>
    </item>
    <item>
      <title>Re: In K10 microcontroller how can we get a real time delay like delayms(100) or delayus(100) for 100 ms and 100 us delay?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/In-K10-microcontroller-how-can-we-get-a-real-time-delay-like/m-p/416685#M23716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/santiago.gonzalez"&gt;santiago.gonzalez&lt;/A&gt; The timer inturrupt was very helpful and made my day. :smileyhappy: The tutorial u suggested was also very helpful. Thanks once again..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prafful&lt;/P&gt;&lt;P&gt;:smileyhappy::smileygrin::smileyhappy:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Nov 2015 04:47:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/In-K10-microcontroller-how-can-we-get-a-real-time-delay-like/m-p/416685#M23716</guid>
      <dc:creator>psjhawer</dc:creator>
      <dc:date>2015-11-26T04:47:48Z</dc:date>
    </item>
  </channel>
</rss>

