<?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: Kinetis K20D72M development kit - Unable to generate Interrupt</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-K20D72M-development-kit-Unable-to-generate-Interrupt/m-p/436128#M25397</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;This sample set was very useful. The interrupt works in the demo_gpio sample. I have something to move forward with. Still I would like to know what was missing in the configuration I did with the Processor Expert.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you sir,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Mathew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Aug 2015 05:43:51 GMT</pubDate>
    <dc:creator>mathewjmanavala</dc:creator>
    <dc:date>2015-08-14T05:43:51Z</dc:date>
    <item>
      <title>Kinetis K20D72M development kit - Unable to generate Interrupt</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-K20D72M-development-kit-Unable-to-generate-Interrupt/m-p/436124#M25393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a Kinetis K20D72M development kit and im trying out some basic Bareboard stuff with it. I am trying to configure an interrupt to be triggered by one of the switches present on the board (SW1). I used Processor Expert to configure the pin “PTC1/DSPI0_PCS3/SCI1_RTS/FTM0_CH0/FBA_AD13/LCD_P21/ADC0_SE15/TSI0_CH14” as interrupt. I get an ISR generated in the Events.c file.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I run the code and press the switch but the code doesn’t enter the ISR.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I missing something here ? I have not modified a single line of code. I am using whatever code the Processor Expert has generated.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is appreciated.&amp;nbsp; &lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Mathew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2015 09:14:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-K20D72M-development-kit-Unable-to-generate-Interrupt/m-p/436124#M25393</guid>
      <dc:creator>mathewjmanavala</dc:creator>
      <dc:date>2015-08-13T09:14:26Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis K20D72M development kit - Unable to generate Interrupt</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-K20D72M-development-kit-Unable-to-generate-Interrupt/m-p/436125#M25394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mathew&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will need to post your project so that the reason can be looked into.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are starting on a project don't miss looking it to &lt;A href="http://www.utasker.com/kinetis/TWR-K20D72M.html" rel="nofollow noopener noreferrer" title="http://www.utasker.com/kinetis/TWR-K20D72M.html" target="_blank"&gt;µTasker Kinetis TWR-K20D72M support&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This gives you much more powerful features and also allows you to simulate the K20 and your board in real-time, whereby all operatiosn have been extensively tested and so there are no problems with parts that may or may not operate as expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For port interrupts you can assign an individual handler to every pin, each with different trigger property. An example is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14395117178395204 jive_text_macro" data-renderedposition="218_8_1232_240" jivemacro_uid="_14395117178395204"&gt;&lt;P&gt;extern void fnConfigPinInterrupt(void)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; INTERRUPT_SETUP interrupt_setup;&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // interrupt configuration parameters&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; interrupt_setup.int_type&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = PORT_INTERRUPT;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // identifier to configure port interrupt&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; interrupt_setup.int_handler&amp;nbsp;&amp;nbsp;&amp;nbsp; = fnPinInterrupt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // handling function&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; interrupt_setup.int_priority&amp;nbsp;&amp;nbsp; = 1;&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // interrupt priority level (low priority since not critical)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; interrupt_setup.int_port&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = PORT_A;&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;&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;&amp;nbsp;&amp;nbsp; // the port that the interrupt input is on&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; interrupt_setup.int_port_bits&amp;nbsp; = PORTA_BIT13;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // the interrupt input&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; interrupt_setup.int_port_sense = (IRQ_FALLING_EDGE | PULLUP_ON);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // interrupt falling edge sensitivity with internal pull-up connected&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fnConfigureInterrupt((void *)&amp;amp;interrupt_setup);&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // configure interrupt&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;static void fnPinInterrupt(void)&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;&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;&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;&amp;nbsp; // button has been pressed&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Handling code here (in interrupt context and interrupt source has been cleared)&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/PRE&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" rel="nofollow noopener noreferrer" title="http://www.utasker.com/kinetis.html" target="_blank"&gt;http://www.utasker.com/kinetis.html&lt;/A&gt; &lt;/P&gt;&lt;P&gt;K20: &lt;A href="http://www.utasker.com/kinetis/TWR-K20D72M.html" rel="nofollow noopener noreferrer" title="http://www.utasker.com/kinetis/TWR-K20D72M.html" target="_blank"&gt;µTasker Kinetis TWR-K20D72M support&lt;/A&gt;&amp;nbsp; / &lt;A href="http://www.utasker.com/kinetis/FRDM-K20D50M.html" rel="nofollow noopener noreferrer" title="http://www.utasker.com/kinetis/FRDM-K20D50M.html" target="_blank"&gt;http://www.utasker.com/kinetis/FRDM-K20D50M.html&lt;/A&gt;&amp;nbsp; / &lt;A href="http://www.utasker.com/kinetis/TWR-K20D50M.html" rel="nofollow noopener noreferrer" title="http://www.utasker.com/kinetis/TWR-K20D50M.html" target="_blank"&gt;http://www.utasker.com/kinetis/TWR-K20D50M.html&lt;/A&gt;&amp;nbsp; / &lt;A href="http://www.utasker.com/kinetis/TEENSY_3.1.html" rel="nofollow noopener noreferrer" title="http://www.utasker.com/kinetis/TEENSY_3.1.html" target="_blank"&gt;http://www.utasker.com/kinetis/TEENSY_3.1.html&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>Fri, 14 Aug 2015 00:24:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-K20D72M-development-kit-Unable-to-generate-Interrupt/m-p/436125#M25394</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2015-08-14T00:24:41Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis K20D72M development kit - Unable to generate Interrupt</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-K20D72M-development-kit-Unable-to-generate-Interrupt/m-p/436126#M25395</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;Please download and refer TWR-K20D72M board example software from &lt;A href="http://cache.freescale.com/files/32bit/software/KINETIS_72MHz_SRC.zip"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Wish it helps.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ma Hui&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>Fri, 14 Aug 2015 01:53:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-K20D72M-development-kit-Unable-to-generate-Interrupt/m-p/436126#M25395</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2015-08-14T01:53:10Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis K20D72M development kit - Unable to generate Interrupt</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-K20D72M-development-kit-Unable-to-generate-Interrupt/m-p/436127#M25396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Mark,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the pointers. I am a beginner with the platform and I am simply trying to configure the interrupt using a bareboard project. The configuration for the interrupt was purely done using the Processor Expert alone. Any tips/docs on using the PE will be highly appreciated (apart from the document that comes with the CodeWarrior installation).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have uploaded the project files. Will share the link as soon as i can.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mathew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Aug 2015 04:05:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-K20D72M-development-kit-Unable-to-generate-Interrupt/m-p/436127#M25396</guid>
      <dc:creator>mathewjmanavala</dc:creator>
      <dc:date>2015-08-14T04:05:04Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis K20D72M development kit - Unable to generate Interrupt</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-K20D72M-development-kit-Unable-to-generate-Interrupt/m-p/436128#M25397</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;This sample set was very useful. The interrupt works in the demo_gpio sample. I have something to move forward with. Still I would like to know what was missing in the configuration I did with the Processor Expert.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you sir,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Mathew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Aug 2015 05:43:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-K20D72M-development-kit-Unable-to-generate-Interrupt/m-p/436128#M25397</guid>
      <dc:creator>mathewjmanavala</dc:creator>
      <dc:date>2015-08-14T05:43:51Z</dc:date>
    </item>
  </channel>
</rss>

