<?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: Libraries for commonly used functions (like &amp;quot;delay&amp;quot;, etc.)? in Kinetis Software Development Kit</title>
    <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Libraries-for-commonly-used-functions-like-quot-delay-quot-etc/m-p/330480#M109</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Erich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These functions are certainly what I'm interested in. I have downloaded them from GitHub, and have even attempted to add the file (Wait_1.057_16.12.2012.PEupd) through ProcessorExpert&amp;gt;Import Components&amp;gt;Open(file name)&amp;gt;Open, and the operation seems to work fine, but nothing shows up in my project. The operation does display a dialog box informing me that the "Component(s) from package has been installed into C:\ProgramData\ProcessorExpert\PEXDRV_PE5_3 directory." The folder exists and contents appear, so that part of the process seemed to run fine. I can see what lloks like the right files in C:\ProgramData\Processor Expert\PEXDRV_PE5_3\Beans\Wait.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried closing and re-opening the project that was to contain the installed component(s), but nothing shows up in the Components tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have also tried right-clicking on the prooject name and importing the PE components that way, but still no luck? What am I doing wrong? Do I need to start a new project with Processor Expert enabled (maybe a stupid question, but I'm still new to the KDS IDE). I do have KSDK installed into the KDS environment through Help&amp;gt;Install new programs. I have also done Help&amp;gt;Check for updates and allowed updated components to install, and then closed and re-opened KDS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jeff Verive&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Update: I have started a new project with PE enabled, and there are entries under the Components tab, but nothing that appears to be relevant to the Wait stuff). I tried installing the components again per each method, closing and re-opening the project, but still nothing shows up. I'm pretty sure I'm close to getting this right, but I need a pointer in the right direction. Is there something I need to know about working with "beans"? Also, when I am actually able to get the right components added to my project, do I need to do any special initialization(s) in my program before using the Waitms routine? I am using the K22F.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Oct 2014 14:03:42 GMT</pubDate>
    <dc:creator>jverive</dc:creator>
    <dc:date>2014-10-17T14:03:42Z</dc:date>
    <item>
      <title>Libraries for commonly used functions (like "delay", etc.)?</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Libraries-for-commonly-used-functions-like-quot-delay-quot-etc/m-p/330475#M104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are there any libraries available that contain a delay (or similar) function? I know I can use the hardware timer, and I'm working through the demo and associated header files and API calls, but there's a fair amount there to digest. A simple function call would certainly make things easier for getting code up and running while I dig through the murky details. Perhaps there is a public repository for such libraries?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jeff Verive&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2014 14:25:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Libraries-for-commonly-used-functions-like-quot-delay-quot-etc/m-p/330475#M104</guid>
      <dc:creator>jverive</dc:creator>
      <dc:date>2014-10-16T14:25:00Z</dc:date>
    </item>
    <item>
      <title>Re: Libraries for commonly used functions (like "delay", etc.)?</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Libraries-for-commonly-used-functions-like-quot-delay-quot-etc/m-p/330476#M105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Additional information: I am using KDS 1.1.1 and KSDK 1.0.0, with a FRDM-K22F board.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2014 14:29:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Libraries-for-commonly-used-functions-like-quot-delay-quot-etc/m-p/330476#M105</guid>
      <dc:creator>jverive</dc:creator>
      <dc:date>2014-10-16T14:29:12Z</dc:date>
    </item>
    <item>
      <title>Re: Libraries for commonly used functions (like "delay", etc.)?</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Libraries-for-commonly-used-functions-like-quot-delay-quot-etc/m-p/330477#M106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jeff,&lt;/P&gt;&lt;P&gt;There are a couple of resources for getting generic PE components.&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.com/" target="test_blank"&gt;http://mcuoneclipse.com/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.steinerberg.com/EmbeddedComponents/" target="test_blank"&gt;http://www.steinerberg.com/EmbeddedComponents/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopefully the Community people will add some too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2014 15:00:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Libraries-for-commonly-used-functions-like-quot-delay-quot-etc/m-p/330477#M106</guid>
      <dc:creator>DavidS</dc:creator>
      <dc:date>2014-10-16T15:00:33Z</dc:date>
    </item>
    <item>
      <title>Re: Libraries for commonly used functions (like "delay", etc.)?</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Libraries-for-commonly-used-functions-like-quot-delay-quot-etc/m-p/330478#M107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, David. I'm going to check them out right now!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2014 17:36:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Libraries-for-commonly-used-functions-like-quot-delay-quot-etc/m-p/330478#M107</guid>
      <dc:creator>jverive</dc:creator>
      <dc:date>2014-10-16T17:36:03Z</dc:date>
    </item>
    <item>
      <title>Re: Libraries for commonly used functions (like "delay", etc.)?</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Libraries-for-commonly-used-functions-like-quot-delay-quot-etc/m-p/330479#M108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jeff,&lt;/P&gt;&lt;P&gt;the latest version is on GitHub, see &lt;A href="http://mcuoneclipse.com/2013/05/09/processor-expert-component-peupd-files-on-github/" title="http://mcuoneclipse.com/2013/05/09/processor-expert-component-peupd-files-on-github/"&gt;Processor Expert Component *.PEupd Files on GitHub&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are probably mostly interested in the WAIT component:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/46832i8EA62DC48395B71A/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;or the Utility component which comes with many string manipulation utilities.&lt;/P&gt;&lt;P&gt;There is as well the Timout componet (timouts with timers).&lt;/P&gt;&lt;P&gt;If using the Kinetis SDK, do not forget to add the KinetisSDK component to your project, as it adds necessary glue layers to work with the SDK.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/46833i157B7ECBDBB6D18D/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2014 18:13:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Libraries-for-commonly-used-functions-like-quot-delay-quot-etc/m-p/330479#M108</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2014-10-16T18:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: Libraries for commonly used functions (like "delay", etc.)?</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Libraries-for-commonly-used-functions-like-quot-delay-quot-etc/m-p/330480#M109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Erich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These functions are certainly what I'm interested in. I have downloaded them from GitHub, and have even attempted to add the file (Wait_1.057_16.12.2012.PEupd) through ProcessorExpert&amp;gt;Import Components&amp;gt;Open(file name)&amp;gt;Open, and the operation seems to work fine, but nothing shows up in my project. The operation does display a dialog box informing me that the "Component(s) from package has been installed into C:\ProgramData\ProcessorExpert\PEXDRV_PE5_3 directory." The folder exists and contents appear, so that part of the process seemed to run fine. I can see what lloks like the right files in C:\ProgramData\Processor Expert\PEXDRV_PE5_3\Beans\Wait.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried closing and re-opening the project that was to contain the installed component(s), but nothing shows up in the Components tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have also tried right-clicking on the prooject name and importing the PE components that way, but still no luck? What am I doing wrong? Do I need to start a new project with Processor Expert enabled (maybe a stupid question, but I'm still new to the KDS IDE). I do have KSDK installed into the KDS environment through Help&amp;gt;Install new programs. I have also done Help&amp;gt;Check for updates and allowed updated components to install, and then closed and re-opened KDS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jeff Verive&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Update: I have started a new project with PE enabled, and there are entries under the Components tab, but nothing that appears to be relevant to the Wait stuff). I tried installing the components again per each method, closing and re-opening the project, but still nothing shows up. I'm pretty sure I'm close to getting this right, but I need a pointer in the right direction. Is there something I need to know about working with "beans"? Also, when I am actually able to get the right components added to my project, do I need to do any special initialization(s) in my program before using the Waitms routine? I am using the K22F.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2014 14:03:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Libraries-for-commonly-used-functions-like-quot-delay-quot-etc/m-p/330480#M109</guid>
      <dc:creator>jverive</dc:creator>
      <dc:date>2014-10-17T14:03:42Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Libraries for commonly used functions (like "delay", etc.)?</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Libraries-for-commonly-used-functions-like-quot-delay-quot-etc/m-p/330481#M110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jeff,&lt;/P&gt;&lt;P&gt;There is a tutorial on KL25Z which shows the basic usage of Processor Expert: &lt;A href="http://mcuoneclipse.com/2012/09/07/tutorial-enlighting-the-freedom-kl25z-board/" title="http://mcuoneclipse.com/2012/09/07/tutorial-enlighting-the-freedom-kl25z-board/"&gt;http://mcuoneclipse.com/2012/09/07/tutorial-enlighting-the-freedom-kl25z-board/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;(this one was for CodeWarrior, but 95% applies to KDS).&lt;/P&gt;&lt;P&gt;That component you have loaded is from 2012: attached is the latest one, please use this one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In short:&lt;/P&gt;&lt;P&gt;Yes, you need a Procesor Expert project, and you need to 'add' compnents to it in order to use them.&lt;/P&gt;&lt;P&gt;The component is shown in the Component Library view. Use the menu &lt;EM&gt;Processor Expert &amp;gt; Show Views&lt;/EM&gt; to open them.&lt;/P&gt;&lt;P&gt;I is listed here:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jiveImage" src="https://community.nxp.com/" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;You can double click on it to add it to your current project, or drag and drop it into the components view (onto the 'Components' folder):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/46918i47C4D97128AB7016/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then Generate Code with this button:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/46919i63F2C73A63751350/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You can drag&amp;amp;drop method names to your source:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_5.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/46920iA01A2117B8B4D1AE/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_5.png" alt="pastedImage_5.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And then use parameters as needed/specified:&lt;/P&gt;&lt;P&gt;&amp;nbsp; WAIT1_Waitms(500); /* wait 500 ms */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are using it in your own source file, do not forget to include the header file:&lt;/P&gt;&lt;P&gt;#include "WAIT1.h"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope that helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2014 16:37:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Libraries-for-commonly-used-functions-like-quot-delay-quot-etc/m-p/330481#M110</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2014-10-17T16:37:11Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Libraries for commonly used functions (like "delay", etc.)?</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Libraries-for-commonly-used-functions-like-quot-delay-quot-etc/m-p/330482#M111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Erich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks! I'm getting ready to go through the tutorial right now, so hopefully this old dog can learn some new tricks.&amp;nbsp; By the way, was there supposed to be an attachment&amp;nbsp; (for the Wait component?) in your reply? I can't seem to be able to find it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jeff&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2014 17:37:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Libraries-for-commonly-used-functions-like-quot-delay-quot-etc/m-p/330482#M111</guid>
      <dc:creator>jverive</dc:creator>
      <dc:date>2014-10-17T17:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Libraries for commonly used functions (like "delay", etc.)?</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Libraries-for-commonly-used-functions-like-quot-delay-quot-etc/m-p/330483#M112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jeff,&lt;/P&gt;&lt;P&gt;yes, there is a zip file with the latest wait component attached.&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2014 17:40:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Libraries-for-commonly-used-functions-like-quot-delay-quot-etc/m-p/330483#M112</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2014-10-17T17:40:04Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Libraries for commonly used functions (like "delay", etc.)?</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Libraries-for-commonly-used-functions-like-quot-delay-quot-etc/m-p/330484#M113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Son of a gun, it worked! I had to show the Component Library by doing the not so intuitive process of Window&amp;gt;Show View&amp;gt;Other...&amp;gt;Processor Expert&amp;gt;Components Library, and then click on the Alphabetical tab and drag and drop the Wait component into my Components folder, but it worked!&amp;nbsp; Thanks again! I'll replace the Wait component with the updated one once I get the link from you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jeff&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2014 18:07:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Libraries-for-commonly-used-functions-like-quot-delay-quot-etc/m-p/330484#M113</guid>
      <dc:creator>jverive</dc:creator>
      <dc:date>2014-10-17T18:07:26Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Libraries for commonly used functions (like "delay", etc.)?</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Libraries-for-commonly-used-functions-like-quot-delay-quot-etc/m-p/330485#M114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;attaching the file again, this time to this message.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2014 18:14:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Libraries-for-commonly-used-functions-like-quot-delay-quot-etc/m-p/330485#M114</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2014-10-17T18:14:57Z</dc:date>
    </item>
  </channel>
</rss>

