<?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: frdm-kl02z LED example problem in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/frdm-kl02z-LED-example-problem/m-p/806807#M49022</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Radoslav LLiev,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Please check BOARD_InitPins code, do you configure the according pin mux as 1?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Any updated information, please kindly let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&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, 28 Nov 2018 09:59:10 GMT</pubDate>
    <dc:creator>kerryzhou</dc:creator>
    <dc:date>2018-11-28T09:59:10Z</dc:date>
    <item>
      <title>frdm-kl02z LED example problem</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/frdm-kl02z-LED-example-problem/m-p/806806#M49021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I use this example for blinking red with the uVision IDE:&amp;nbsp;&lt;/P&gt;&lt;P&gt;My asking is why when I change&amp;nbsp;BOARD_LED_RED_GPIO with&amp;nbsp;&lt;SPAN&gt;BOARD_LED_GREEN_GPIO and&amp;nbsp;BOARD_LED_RED_GPIO_PIN with&amp;nbsp;BOARD_LED_GREEN_GPIO_PIN it doesn't works:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;#include "board.h"&lt;BR /&gt;#include "fsl_debug_console.h"&lt;BR /&gt;#include "fsl_gpio.h"&lt;/P&gt;&lt;P&gt;#include "clock_config.h"&lt;BR /&gt;#include "pin_mux.h"&lt;BR /&gt;/*******************************************************************************&lt;BR /&gt; * Definitions&lt;BR /&gt; ******************************************************************************/&lt;BR /&gt;#define BOARD_LED_GPIO BOARD_LED_RED_GPIO&lt;BR /&gt;#define BOARD_LED_GPIO_PIN BOARD_LED_RED_GPIO_PIN&lt;/P&gt;&lt;P&gt;/*******************************************************************************&lt;BR /&gt; * Prototypes&lt;BR /&gt; ******************************************************************************/&lt;BR /&gt;/*!&lt;BR /&gt; * @brief delay a while.&lt;BR /&gt; */&lt;BR /&gt;void delay(void);&lt;/P&gt;&lt;P&gt;/*******************************************************************************&lt;BR /&gt; * Variables&lt;BR /&gt; ******************************************************************************/&lt;/P&gt;&lt;P&gt;/*******************************************************************************&lt;BR /&gt; * Code&lt;BR /&gt; ******************************************************************************/&lt;BR /&gt;void delay(void)&lt;BR /&gt;{&lt;BR /&gt; volatile uint32_t i = 0;&lt;BR /&gt; for (i = 0; i &amp;lt; 800000; ++i)&lt;BR /&gt; {&lt;BR /&gt; __asm("NOP"); /* delay */&lt;BR /&gt; }&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;/*!&lt;BR /&gt; * @brief Main function&lt;BR /&gt; */&lt;BR /&gt;int main(void)&lt;BR /&gt;{&lt;BR /&gt; /* Define the init structure for the output LED pin*/&lt;BR /&gt; gpio_pin_config_t led_config = {&lt;BR /&gt; kGPIO_DigitalOutput, 0,&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;/* Board pin, clock, debug console init */&lt;BR /&gt; BOARD_InitPins();&lt;BR /&gt; BOARD_BootClockRUN();&lt;BR /&gt; BOARD_InitDebugConsole();&lt;/P&gt;&lt;P&gt;/* Print a note to terminal. */&lt;BR /&gt; PRINTF("\r\n GPIO Driver example\r\n");&lt;BR /&gt; PRINTF("\r\n The LED is blinking.\r\n");&lt;/P&gt;&lt;P&gt;/* Init output LED GPIO. */&lt;BR /&gt; GPIO_PinInit(BOARD_LED_GPIO, BOARD_LED_GPIO_PIN, &amp;amp;led_config);&lt;/P&gt;&lt;P&gt;while (1)&lt;BR /&gt; {&lt;BR /&gt; delay();&lt;BR /&gt; GPIO_PortToggle(BOARD_LED_GPIO, 1u &amp;lt;&amp;lt; BOARD_LED_GPIO_PIN);&lt;BR /&gt; }&lt;BR /&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2018 16:11:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/frdm-kl02z-LED-example-problem/m-p/806806#M49021</guid>
      <dc:creator>rado__99</dc:creator>
      <dc:date>2018-11-27T16:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: frdm-kl02z LED example problem</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/frdm-kl02z-LED-example-problem/m-p/806807#M49022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Radoslav LLiev,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Please check BOARD_InitPins code, do you configure the according pin mux as 1?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Any updated information, please kindly let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&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, 28 Nov 2018 09:59:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/frdm-kl02z-LED-example-problem/m-p/806807#M49022</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2018-11-28T09:59:10Z</dc:date>
    </item>
    <item>
      <title>Re: frdm-kl02z LED example problem</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/frdm-kl02z-LED-example-problem/m-p/806808#M49023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you give me an example, please?&lt;/P&gt;&lt;P&gt;I am newbie in working with Embedded-C.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Nov 2018 12:58:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/frdm-kl02z-LED-example-problem/m-p/806808#M49023</guid>
      <dc:creator>rado__99</dc:creator>
      <dc:date>2018-11-28T12:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: frdm-kl02z LED example problem</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/frdm-kl02z-LED-example-problem/m-p/806809#M49024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Radoslav,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Please download the official sample code from this link:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://mcuxpresso.nxp.com/en/select" title="https://mcuxpresso.nxp.com/en/select"&gt;https://mcuxpresso.nxp.com/en/select&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Choose the board as FRDM-KL02, generate the code and download it.&lt;/P&gt;&lt;P&gt;Then you can find the example in folder:&lt;/P&gt;&lt;P&gt;FRDM-KL02Z\boards\frdmkl02z\driver_examples\gpio\led_output&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&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>Thu, 29 Nov 2018 08:20:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/frdm-kl02z-LED-example-problem/m-p/806809#M49024</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2018-11-29T08:20:46Z</dc:date>
    </item>
    <item>
      <title>Re: frdm-kl02z LED example problem</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/frdm-kl02z-LED-example-problem/m-p/806810#M49025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much for the help, I found the pinMux.c, I configured it and it's done!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Nov 2018 12:47:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/frdm-kl02z-LED-example-problem/m-p/806810#M49025</guid>
      <dc:creator>rado__99</dc:creator>
      <dc:date>2018-11-30T12:47:22Z</dc:date>
    </item>
    <item>
      <title>Re: frdm-kl02z LED example problem</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/frdm-kl02z-LED-example-problem/m-p/806811#M49026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Radoslav lliev,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Thank you for your updated information, and it's good to hear you solve the problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; If your problem is solved and don't have any other question, please help to mark the correct answer, just to close this post, thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&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>Mon, 03 Dec 2018 01:45:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/frdm-kl02z-LED-example-problem/m-p/806811#M49026</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2018-12-03T01:45:29Z</dc:date>
    </item>
  </channel>
</rss>

