<?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: blink led frdm-k22f</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/blink-led-frdm-k22f/m-p/608755#M35957</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Brian,&lt;/P&gt;&lt;P&gt;it all depends how deep you want to go into the bits and settings.&lt;/P&gt;&lt;P&gt;Basically you need:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;create a project for your device&lt;/LI&gt;&lt;LI&gt;Turn on the peripheral clocks&lt;/LI&gt;&lt;LI&gt;Mux (multiplex) the pins for GPIO functions&lt;/LI&gt;&lt;LI&gt;Configure the pins as output pins&lt;/LI&gt;&lt;LI&gt;toggle the pin voltage level&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I list you below a few tutorials and pointers. They are for other boards, but can be easily adopted for the FRDM-K22F.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If you want to do it on a higher level, use Processor Expert, for example: &lt;A class="link-titled" href="https://mcuoneclipse.com/2012/09/07/tutorial-enlighting-the-freedom-kl25z-board/" title="https://mcuoneclipse.com/2012/09/07/tutorial-enlighting-the-freedom-kl25z-board/"&gt;Tutorial: Enlightning the Freedom KL25Z Board | MCU on Eclipse&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Newer devices are using the Kinetis SDK. &lt;A class="link-titled" href="https://mcuoneclipse.com/2016/03/13/tutorial-blinky-with-the-frdm-kl27z-and-kinetis-sdk-v2/" title="https://mcuoneclipse.com/2016/03/13/tutorial-blinky-with-the-frdm-kl27z-and-kinetis-sdk-v2/"&gt;Tutorial: Blinky with the FRDM-KL27Z and Kinetis SDK v2 | MCU on Eclipse&lt;/A&gt;&amp;nbsp; shows how to blink a LED with the SDK V2.0&lt;/LI&gt;&lt;LI&gt;There is the Pins tool which helps with the muxing, and here is a tutorial for it: &lt;A class="link-titled" href="https://mcuoneclipse.com/2016/06/08/tutorial-muxing-with-the-new-nxp-pins-tool/" title="https://mcuoneclipse.com/2016/06/08/tutorial-muxing-with-the-new-nxp-pins-tool/"&gt;Tutorial: Muxing with the New NXP Pins Tool | MCU on Eclipse&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;/UL&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, 12 Jan 2017 06:54:50 GMT</pubDate>
    <dc:creator>BlackNight</dc:creator>
    <dc:date>2017-01-12T06:54:50Z</dc:date>
    <item>
      <title>blink led frdm-k22f</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/blink-led-frdm-k22f/m-p/608754#M35956</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;&lt;/P&gt;&lt;P&gt;I'm using KDS to write code for&amp;nbsp;the FRDM-K22F board. &amp;nbsp;&lt;/P&gt;&lt;P&gt;I was hoping to write code with the bare minimum of files so I feel more in control of using KDS without help from the online mbed examples.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I used as an example was the code I can drag+drop into the mbed (Online), which does work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The attached shows a very simple example of the code to flash the RED LED (RGB) on the board. &amp;nbsp;When I review the code there's an include "mbed.h" that I don't see in any of the files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the end, here's what I would like to accomplish:&lt;/P&gt;&lt;P&gt;1. &amp;nbsp;Using KDS, start a new project&lt;/P&gt;&lt;P&gt;2. &amp;nbsp;Add the correct "Include Files".&lt;/P&gt;&lt;P&gt;3. &amp;nbsp;Write the code to Blink the red led.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to always use KDS and become familiar with the tool.&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;Brian&lt;/P&gt;&lt;P&gt;#&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jan 2017 22:02:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/blink-led-frdm-k22f/m-p/608754#M35956</guid>
      <dc:creator>briancavanagh</dc:creator>
      <dc:date>2017-01-11T22:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: blink led frdm-k22f</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/blink-led-frdm-k22f/m-p/608755#M35957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Brian,&lt;/P&gt;&lt;P&gt;it all depends how deep you want to go into the bits and settings.&lt;/P&gt;&lt;P&gt;Basically you need:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;create a project for your device&lt;/LI&gt;&lt;LI&gt;Turn on the peripheral clocks&lt;/LI&gt;&lt;LI&gt;Mux (multiplex) the pins for GPIO functions&lt;/LI&gt;&lt;LI&gt;Configure the pins as output pins&lt;/LI&gt;&lt;LI&gt;toggle the pin voltage level&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I list you below a few tutorials and pointers. They are for other boards, but can be easily adopted for the FRDM-K22F.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If you want to do it on a higher level, use Processor Expert, for example: &lt;A class="link-titled" href="https://mcuoneclipse.com/2012/09/07/tutorial-enlighting-the-freedom-kl25z-board/" title="https://mcuoneclipse.com/2012/09/07/tutorial-enlighting-the-freedom-kl25z-board/"&gt;Tutorial: Enlightning the Freedom KL25Z Board | MCU on Eclipse&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Newer devices are using the Kinetis SDK. &lt;A class="link-titled" href="https://mcuoneclipse.com/2016/03/13/tutorial-blinky-with-the-frdm-kl27z-and-kinetis-sdk-v2/" title="https://mcuoneclipse.com/2016/03/13/tutorial-blinky-with-the-frdm-kl27z-and-kinetis-sdk-v2/"&gt;Tutorial: Blinky with the FRDM-KL27Z and Kinetis SDK v2 | MCU on Eclipse&lt;/A&gt;&amp;nbsp; shows how to blink a LED with the SDK V2.0&lt;/LI&gt;&lt;LI&gt;There is the Pins tool which helps with the muxing, and here is a tutorial for it: &lt;A class="link-titled" href="https://mcuoneclipse.com/2016/06/08/tutorial-muxing-with-the-new-nxp-pins-tool/" title="https://mcuoneclipse.com/2016/06/08/tutorial-muxing-with-the-new-nxp-pins-tool/"&gt;Tutorial: Muxing with the New NXP Pins Tool | MCU on Eclipse&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;/UL&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, 12 Jan 2017 06:54:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/blink-led-frdm-k22f/m-p/608755#M35957</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2017-01-12T06:54:50Z</dc:date>
    </item>
    <item>
      <title>Re: blink led frdm-k22f</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/blink-led-frdm-k22f/m-p/608756#M35958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Brian,&lt;/P&gt;&lt;P&gt;There is a simliar example(flash the RED LED) in SDK_2.1_FRDM-K22F.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="led_output SDK_2.1_FRDM-K22F.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/11291i0F58329645A63F7E/image-size/large?v=v2&amp;amp;px=999" role="button" title="led_output SDK_2.1_FRDM-K22F.png" alt="led_output SDK_2.1_FRDM-K22F.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can debug the FRDM-K22F using onboard debug interface. Please refer: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-101845"&gt;GDB Debugging with Kinetis Design Studio&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Robin&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&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>Thu, 12 Jan 2017 08:00:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/blink-led-frdm-k22f/m-p/608756#M35958</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2017-01-12T08:00:58Z</dc:date>
    </item>
  </channel>
</rss>

