<?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 delay header in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/delay-header/m-p/282283#M10510</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hiii.&lt;/P&gt;&lt;P&gt;i seek to header file of Delay for k20d50. help me plz:smileycool:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 17 Nov 2013 11:38:46 GMT</pubDate>
    <dc:creator>vahidnoori</dc:creator>
    <dc:date>2013-11-17T11:38:46Z</dc:date>
    <item>
      <title>delay header</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/delay-header/m-p/282283#M10510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hiii.&lt;/P&gt;&lt;P&gt;i seek to header file of Delay for k20d50. help me plz:smileycool:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Nov 2013 11:38:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/delay-header/m-p/282283#M10510</guid>
      <dc:creator>vahidnoori</dc:creator>
      <dc:date>2013-11-17T11:38:46Z</dc:date>
    </item>
    <item>
      <title>Re: delay header</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/delay-header/m-p/282284#M10511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vahid,&lt;/P&gt;&lt;P&gt;Do you want to a delay function for K20D50? If it's right, you can use LPMR to make it out as below show .&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Ping&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void LPLD_LPTMR_DelayMs(uint16 period_ms)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(!period_ms)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return;&lt;/P&gt;&lt;P&gt;&amp;nbsp; SIM_SCGC5|=SIM_SCGC5_LPTIMER_MASK; &lt;/P&gt;&lt;P&gt;&amp;nbsp; LPTMR0_CMR = period_ms; &lt;/P&gt;&lt;P&gt;&amp;nbsp; LPTMR0_PSR = LPTMR_PSR_PCS(1)|LPTMR_PSR_PBYP_MASK; &lt;/P&gt;&lt;P&gt;&amp;nbsp; LPTMR0_CSR |= LPTMR_CSR_TEN_MASK; &lt;/P&gt;&lt;P&gt;&amp;nbsp; while (!(LPTMR0_CSR &amp;amp; LPTMR_CSR_TCF_MASK));&lt;/P&gt;&lt;P&gt;&amp;nbsp; LPTMR0_CSR &amp;amp;= ~LPTMR_CSR_TEN_MASK;&lt;/P&gt;&lt;P&gt;&amp;nbsp; return;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Nov 2013 03:05:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/delay-header/m-p/282284#M10511</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2013-11-18T03:05:38Z</dc:date>
    </item>
    <item>
      <title>Re: delay header</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/delay-header/m-p/282285#M10512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes .exactly ping.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Nov 2013 13:27:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/delay-header/m-p/282285#M10512</guid>
      <dc:creator>vahidnoori</dc:creator>
      <dc:date>2013-11-18T13:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: delay header</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/delay-header/m-p/282286#M10513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ping.&lt;/P&gt;&lt;P&gt;this function(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; LPLD_LPTMR_DelayMs(uint16 period_ms)&lt;/SPAN&gt;) did not work correctly . when program go to this function stop and do not rich to the next line after delay function.for example in this:&lt;/P&gt;&lt;P&gt;main{&lt;/P&gt;&lt;P&gt; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;LPLD_LPTMR_DelayMs(500);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;code A;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;code A dose not performed.&lt;/P&gt;&lt;P&gt;why ?:smileycry:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 17:11:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/delay-header/m-p/282286#M10513</guid>
      <dc:creator>vahidnoori</dc:creator>
      <dc:date>2013-11-21T17:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: delay header</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/delay-header/m-p/282287#M10514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vahid,&lt;/P&gt;&lt;P&gt;Sorry for late reply, I suggest that you'd better debugger the project by IDE software to figure out the exactly problem.&lt;/P&gt;&lt;P&gt;I'm looking forward your reply.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Ping&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Nov 2013 05:58:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/delay-header/m-p/282287#M10514</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2013-11-29T05:58:36Z</dc:date>
    </item>
  </channel>
</rss>

