<?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 Software Development KitのトピックRe: GPIO demo not working</title>
    <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/GPIO-demo-not-working/m-p/448506#M3052</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Randy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you run the project located in C:\Freescale\KSDK_1.2.0\examples\twrk21f120m\driver_examples\gpio\kds?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I ran that project and it works OK. The macro &lt;STRONG&gt;BOARD_SW_IRQ_HANDLER&lt;/STRONG&gt; is to call the interrupt handler for the port C &lt;STRONG&gt;PORTC_IRQHandler&lt;/STRONG&gt;. This handler is called in every falling edge if the SW2 (PTC7). It is configured in the structure &lt;STRONG&gt;gpio_input_pin_user_config_t inputPin&lt;/STRONG&gt; in the field &lt;STRONG&gt;.config.interrupt&lt;/STRONG&gt;. Please debug the project and be sure if the interrupt handler &lt;STRONG&gt;BOARD_SW_IRQ_HANDLER&lt;/STRONG&gt; is called after you press the SW2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Earl.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Jul 2015 21:00:05 GMT</pubDate>
    <dc:creator>EarlOrlando</dc:creator>
    <dc:date>2015-07-27T21:00:05Z</dc:date>
    <item>
      <title>GPIO demo not working</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/GPIO-demo-not-working/m-p/448505#M3051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am running the SDK GPIO demo on a TRW-K21F120M and the LED does not toggle when the switch is pressed.&lt;/P&gt;&lt;P&gt;Looking at the source code I see that an ISR is defined for the switches, but there isn't any code to install it.&amp;nbsp; Probably why it isn't working.&lt;/P&gt;&lt;P&gt;Is this a bug or am I missing something.&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&gt;Randy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2015 16:46:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/GPIO-demo-not-working/m-p/448505#M3051</guid>
      <dc:creator>randyhermes</dc:creator>
      <dc:date>2015-07-27T16:46:47Z</dc:date>
    </item>
    <item>
      <title>Re: GPIO demo not working</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/GPIO-demo-not-working/m-p/448506#M3052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Randy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you run the project located in C:\Freescale\KSDK_1.2.0\examples\twrk21f120m\driver_examples\gpio\kds?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I ran that project and it works OK. The macro &lt;STRONG&gt;BOARD_SW_IRQ_HANDLER&lt;/STRONG&gt; is to call the interrupt handler for the port C &lt;STRONG&gt;PORTC_IRQHandler&lt;/STRONG&gt;. This handler is called in every falling edge if the SW2 (PTC7). It is configured in the structure &lt;STRONG&gt;gpio_input_pin_user_config_t inputPin&lt;/STRONG&gt; in the field &lt;STRONG&gt;.config.interrupt&lt;/STRONG&gt;. Please debug the project and be sure if the interrupt handler &lt;STRONG&gt;BOARD_SW_IRQ_HANDLER&lt;/STRONG&gt; is called after you press the SW2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Earl.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2015 21:00:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/GPIO-demo-not-working/m-p/448506#M3052</guid>
      <dc:creator>EarlOrlando</dc:creator>
      <dc:date>2015-07-27T21:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: GPIO demo not working</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/GPIO-demo-not-working/m-p/448507#M3053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Earl,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I rebuilt and it works.&amp;nbsp; Not sure what I did wrong the 1st time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Randy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2015 15:18:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/GPIO-demo-not-working/m-p/448507#M3053</guid>
      <dc:creator>randyhermes</dc:creator>
      <dc:date>2015-07-28T15:18:18Z</dc:date>
    </item>
  </channel>
</rss>

