<?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 to Set System Clock Gating Control Register GPIO for freedom MKE06z? in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-Set-System-Clock-Gating-Control-Register-GPIO-for-freedom/m-p/498837#M31079</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, you are correct.&lt;/P&gt;&lt;P&gt;Test the code below and it worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#include "MKE06Z4.h"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// GPIOB/FGPIOB pins 21, 22, 23&lt;/P&gt;&lt;P&gt;#define LED_C_RED 0x200000&lt;/P&gt;&lt;P&gt;#define LED_C_GREEN 0x400000&lt;/P&gt;&lt;P&gt;#define LED_C_BLUE 0x800000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;int i = 0, j = 0;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;int main(void)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp; // Configure with output direct&lt;/P&gt;&lt;P&gt;&amp;nbsp; FGPIOB-&amp;gt;PDDR |= LED_C_RED | LED_C_GREEN | LED_C_BLUE;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; // Set all leds with off&lt;/P&gt;&lt;P&gt;&amp;nbsp; FGPIOB-&amp;gt;PDOR |= LED_C_RED | LED_C_GREEN | LED_C_BLUE;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for (;;) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Port toggle output&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FGPIOB-&amp;gt;PTOR |= LED_C_RED;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(i = 0; i &amp;lt; 30000; i++){&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(j = 0; j &amp;lt; 100; j++);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return 0;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Merry Christmas!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Dec 2015 23:18:22 GMT</pubDate>
    <dc:creator>jefersonip</dc:creator>
    <dc:date>2015-12-22T23:18:22Z</dc:date>
    <item>
      <title>How to Set System Clock Gating Control Register GPIO for freedom MKE06z?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-Set-System-Clock-Gating-Control-Register-GPIO-for-freedom/m-p/498835#M31077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did not find in the documentation of this microcontroller setting the System Clock Gating Control Register for GPIO,&lt;/P&gt;&lt;P&gt;Can someone help me.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Dec 2015 14:32:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-Set-System-Clock-Gating-Control-Register-GPIO-for-freedom/m-p/498835#M31077</guid>
      <dc:creator>jefersonip</dc:creator>
      <dc:date>2015-12-21T14:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to Set System Clock Gating Control Register GPIO for freedom MKE06z?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-Set-System-Clock-Gating-Control-Register-GPIO-for-freedom/m-p/498836#M31078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no clock gating register for GPIO in the KE parts. That is, there is nothing that needs to be done before using the GPIO.&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;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Dec 2015 19:18:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-Set-System-Clock-Gating-Control-Register-GPIO-for-freedom/m-p/498836#M31078</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2015-12-22T19:18:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to Set System Clock Gating Control Register GPIO for freedom MKE06z?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-Set-System-Clock-Gating-Control-Register-GPIO-for-freedom/m-p/498837#M31079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, you are correct.&lt;/P&gt;&lt;P&gt;Test the code below and it worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#include "MKE06Z4.h"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// GPIOB/FGPIOB pins 21, 22, 23&lt;/P&gt;&lt;P&gt;#define LED_C_RED 0x200000&lt;/P&gt;&lt;P&gt;#define LED_C_GREEN 0x400000&lt;/P&gt;&lt;P&gt;#define LED_C_BLUE 0x800000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;int i = 0, j = 0;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;int main(void)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp; // Configure with output direct&lt;/P&gt;&lt;P&gt;&amp;nbsp; FGPIOB-&amp;gt;PDDR |= LED_C_RED | LED_C_GREEN | LED_C_BLUE;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; // Set all leds with off&lt;/P&gt;&lt;P&gt;&amp;nbsp; FGPIOB-&amp;gt;PDOR |= LED_C_RED | LED_C_GREEN | LED_C_BLUE;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for (;;) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Port toggle output&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FGPIOB-&amp;gt;PTOR |= LED_C_RED;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(i = 0; i &amp;lt; 30000; i++){&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(j = 0; j &amp;lt; 100; j++);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return 0;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Merry Christmas!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Dec 2015 23:18:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-Set-System-Clock-Gating-Control-Register-GPIO-for-freedom/m-p/498837#M31079</guid>
      <dc:creator>jefersonip</dc:creator>
      <dc:date>2015-12-22T23:18:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to Set System Clock Gating Control Register GPIO for freedom MKE06z?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-Set-System-Clock-Gating-Control-Register-GPIO-for-freedom/m-p/498838#M31080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It appears that the the KEA series needs no special clock configuration for the GPIO either.&amp;nbsp; I have not found anything in the reference manual that let's a person select a clock to the port for using GPIO on a particular pin. It apparently just needs the GPIOx_ registers configured.&amp;nbsp; Can you confirm whether this really is the case for the KEA series as well?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Oct 2016 20:50:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-Set-System-Clock-Gating-Control-Register-GPIO-for-freedom/m-p/498838#M31080</guid>
      <dc:creator>tomsparks</dc:creator>
      <dc:date>2016-10-09T20:50:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to Set System Clock Gating Control Register GPIO for freedom MKE06z?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-Set-System-Clock-Gating-Control-Register-GPIO-for-freedom/m-p/498839#M31081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KEA and KE are equivalent in many ways - GPIOs are always clocked.&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;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Oct 2016 21:21:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-Set-System-Clock-Gating-Control-Register-GPIO-for-freedom/m-p/498839#M31081</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2016-10-09T21:21:41Z</dc:date>
    </item>
  </channel>
</rss>

