<?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: PIT_demo LED1 Issues in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/PIT-demo-LED1-Issues/m-p/451463#M26778</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Mark,&lt;/P&gt;&lt;P&gt;However, I checked the value for GPIOB when initializing and toggling the LEDs. It seems that the values found in uTasker are no different than the ones that I found in memory. So I think there might be a broken lead on Port H (specifically PTH2_GREEN). &lt;/P&gt;&lt;P&gt;Thanks for the help though.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Aug 2015 14:04:40 GMT</pubDate>
    <dc:creator>mooreken</dc:creator>
    <dc:date>2015-08-20T14:04:40Z</dc:date>
    <item>
      <title>PIT_demo LED1 Issues</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/PIT-demo-LED1-Issues/m-p/451461#M26776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, pretty new here.&lt;/P&gt;&lt;P&gt;I am working with the FRDM KE02Z development board in IAR.&lt;/P&gt;&lt;P&gt;While editing the PIT_demo.c file I tried to use the green led (LED1 I believe) and it did not turn on (the blue and red ones did though).&lt;/P&gt;&lt;P&gt;So I went to the definitions of the various LEDx functions in the MA64_freedom.h file to see what's up.&lt;/P&gt;&lt;P&gt;Nothing looked wrong there based off of the schematic, but I can't seem to figure out why the green led won't turn on.&lt;/P&gt;&lt;P&gt;Of course thanks in advance for anyone if they can help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2015 17:50:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/PIT-demo-LED1-Issues/m-p/451461#M26776</guid>
      <dc:creator>mooreken</dc:creator>
      <dc:date>2015-08-19T17:50:53Z</dc:date>
    </item>
    <item>
      <title>Re: PIT_demo LED1 Issues</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/PIT-demo-LED1-Issues/m-p/451462#M26777</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;Check out the following: &lt;A href="http://www.utasker.com/kinetis/FRDM-KE02Z.html" title="http://www.utasker.com/kinetis/FRDM-KE02Z.html"&gt;µTasker FRDM-KE02Z support&lt;/A&gt; &lt;/P&gt;&lt;P&gt;If you load the binary to your board it will allow you to control all LED colours in the I/O menu on the UART (115'200 Baud) [I/O 1 is green LED, I/O 2 is red LED and I/O 3 is blue LED]. You can also use its memory debugger (in the same menu) to check out the port registers to find differences to your case which is not yet operating as expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that a source of confusion with the KE devices is that they have 32 bit ports but they are names as if they were 8 bit ones. This can trip programmers up since it is sometimes difficult to relate between the names and physical locations in a logical way due to the misleading naming conventions used.The green LED's port is however just next to the red one's and so doesn't usually cause any complications.&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;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kinetis: &lt;A href="http://www.utasker.com/kinetis.html" title="http://www.utasker.com/kinetis.html"&gt;µTasker Kinetis support&lt;/A&gt; &lt;/P&gt;&lt;P&gt;KE: &lt;A href="http://www.utasker.com/kinetis/FRDM-KE02Z.html" title="http://www.utasker.com/kinetis/FRDM-KE02Z.html"&gt;µTasker FRDM-KE02Z support&lt;/A&gt;&amp;nbsp; / &lt;A href="http://www.utasker.com/kinetis/FRDM-KE02Z40M.html" title="http://www.utasker.com/kinetis/FRDM-KE02Z40M.html"&gt;µTasker FRDM-KE02Z40M support&lt;/A&gt;&amp;nbsp; / &lt;A href="http://www.utasker.com/kinetis/FRDM-KE04Z.html" title="http://www.utasker.com/kinetis/FRDM-KE04Z.html"&gt;µTasker FRDM-KE04Z support&lt;/A&gt;&amp;nbsp; / &lt;A href="http://www.utasker.com/kinetis/FRDM-KE06Z.html" title="http://www.utasker.com/kinetis/FRDM-KE06Z.html"&gt;µTasker FRDM-KE06Z support&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;EM&gt;For the complete "out-of-the-box" Kinetis experience and faster time to market&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2015 00:43:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/PIT-demo-LED1-Issues/m-p/451462#M26777</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2015-08-20T00:43:06Z</dc:date>
    </item>
    <item>
      <title>Re: PIT_demo LED1 Issues</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/PIT-demo-LED1-Issues/m-p/451463#M26778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Mark,&lt;/P&gt;&lt;P&gt;However, I checked the value for GPIOB when initializing and toggling the LEDs. It seems that the values found in uTasker are no different than the ones that I found in memory. So I think there might be a broken lead on Port H (specifically PTH2_GREEN). &lt;/P&gt;&lt;P&gt;Thanks for the help though.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2015 14:04:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/PIT-demo-LED1-Issues/m-p/451463#M26778</guid>
      <dc:creator>mooreken</dc:creator>
      <dc:date>2015-08-20T14:04:40Z</dc:date>
    </item>
    <item>
      <title>Re: PIT_demo LED1 Issues</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/PIT-demo-LED1-Issues/m-p/451464#M26779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I've reproduced this problem on my side.&lt;/P&gt;&lt;P&gt;The root cause is that bit CLKOE of register SIM_SOPT is set in this example application.&lt;/P&gt;&lt;P&gt;when this bit is set, BUSOUT will be enable and BUSOUT is another function of PTH2 and BUSOUT has higher priority (see Table 10-1 of KE02 reference manual), so, in this case, PTH2 is BUSOUT pin, NOT&amp;nbsp; the GPIO pin.&lt;/P&gt;&lt;P&gt;to fix this problem, please just clear CLKOE before LED1_Init().&lt;/P&gt;&lt;P&gt;the code can be:&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;#define BUSOUT_Disable()&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;SIM_SOPT &amp;amp;= 0xFFF7FFFF;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Add the above statement in MA64_freedom.h.&lt;/P&gt;&lt;P&gt;then add BUSOUT_Disable(); before LED1_Init(); in PIT_demo.c&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Aug 2015 08:35:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/PIT-demo-LED1-Issues/m-p/451464#M26779</guid>
      <dc:creator>Rick_Li</dc:creator>
      <dc:date>2015-08-21T08:35:48Z</dc:date>
    </item>
    <item>
      <title>Re: PIT_demo LED1 Issues</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/PIT-demo-LED1-Issues/m-p/451465#M26780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nice! Thanks Yong!&lt;/P&gt;&lt;P&gt;That fix it, to be honest I looked at that table in the reference manual and completely ignored those entries. Oops.&lt;/P&gt;&lt;P&gt;Now my green LED shines as bright as... well whatever's bright and green I guess!&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Aug 2015 12:45:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/PIT-demo-LED1-Issues/m-p/451465#M26780</guid>
      <dc:creator>mooreken</dc:creator>
      <dc:date>2015-08-21T12:45:29Z</dc:date>
    </item>
  </channel>
</rss>

