<?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: KL05 Interupt question</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL05-Interupt-question/m-p/330547#M15411</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;the link provided seems to be concerned specifically with the TWR K60. Will this still work? I searched the list of demos for mention of FRDM-KL05 but came up blank.&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Dec 2014 00:07:36 GMT</pubDate>
    <dc:creator>danreltek</dc:creator>
    <dc:date>2014-12-10T00:07:36Z</dc:date>
    <item>
      <title>KL05 Interupt question</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL05-Interupt-question/m-p/330540#M15404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have a FRDM-KL05Z board. I have made a connection between PB10 as an output (Also Blue LED), and PA11 as input, via a 300 Ohm resistor.&lt;/P&gt;&lt;P&gt;My test program reports that the input is following the output but the ISR is not being called. What am I not doing right please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are some snippets of code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void PORTA_ISR(void)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp; PORTA_PCR11 |= PORT_PCR_ISF_MASK;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf("\r\n *** ISR *** \r\n");&lt;/P&gt;&lt;P&gt;}&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;&amp;nbsp;&amp;nbsp; #if(defined(CW))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sysinit();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; #endif&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; gpio_init();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; app_init();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf("\r\nRunning the project.\r\n");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; EnableInterrupts;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LED3_OFF;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // configure PA11 as input&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PDDR(A) &amp;amp;= ~(1&amp;lt;&amp;lt;11);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // configure port A for falling edge interupts&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PORTA_PCR11 |= PORT_PCR_IRQC(0x10);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Initialise the NVIC to enable the specified IRQ&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; enable_irq(30); //30 = 46-16&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // clear PA11 ISF&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PORTA_PCR11 |= PORT_PCR_ISF_MASK;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; while(1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf("\r\nInput: %d", PDIR(A) &amp;amp; (1&amp;lt;&amp;lt;11));&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LED3_ON;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; delay(500000);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf("\r\nInput: %d", PDIR(A) &amp;amp; (1&amp;lt;&amp;lt;11));&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LED3_OFF;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; delay(500000);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;isr.h:&lt;/P&gt;&lt;P&gt;#ifndef __ISR_H&lt;/P&gt;&lt;P&gt;#define __ISR_H 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#undef&amp;nbsp; VECTOR_046&lt;/P&gt;&lt;P&gt;#define VECTOR_046&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PORTA_ISR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;extern void PORTA_ISR(void);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#endif&amp;nbsp; //__ISR_H&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The output of this program is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;K05&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;32pin&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SRAM Size:&amp;nbsp; 4 KB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Silicon rev 15&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Flash size:&amp;nbsp; 32 KB program flash, 1 KB protection region&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Running the project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Input: 2048&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Input: 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Input: 2048&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Input: 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Input: 2048&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Dec 2014 20:42:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL05-Interupt-question/m-p/330540#M15404</guid>
      <dc:creator>danreltek</dc:creator>
      <dc:date>2014-12-07T20:42:43Z</dc:date>
    </item>
    <item>
      <title>Re: KL05 Interupt question</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL05-Interupt-question/m-p/330541#M15405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I didn't see anything obviously incorrect but I suspect that you have a problem with the NVIC configuration somewhere (although the vector number is correct).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Therefore I set up the same configuration in the uTasker project - see code below (this is an API so doesn't show the register setup details) but in the PORTA_PCR11 register it sets 0x000a0103 which you could check yours against (this is enabling pull-up too).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14179939512061737" jivemacro_uid="_14179939512061737" modifiedtitle="true"&gt;
&lt;P&gt;INTERRUPT_SETUP interrupt_setup; // interrupt configuration parameters&lt;/P&gt;
&lt;P&gt;interrupt_setup.int_type = PORT_INTERRUPT; // identifier to configure port interrupt&lt;/P&gt;
&lt;P&gt;interrupt_setup.int_handler = test_irq_A_11; // handling function&lt;/P&gt;
&lt;P&gt;interrupt_setup.int_priority = PRIORITY_PORT_A_INT; // interrupt priority level&lt;/P&gt;
&lt;P&gt;interrupt_setup.int_port = PORTA; // the port that the interrupt input is on&lt;/P&gt;
&lt;P&gt;interrupt_setup.int_port_bits = PORTA_BIT11; // the IRQ input connected&lt;/P&gt;
&lt;P&gt;interrupt_setup.int_port_sense = (IRQ_FALLING_EDGE | PULLUP_ON); // interrupt is to be falling edge sensitive&lt;/P&gt;
&lt;P&gt;fnConfigureInterrupt((void *)&amp;amp;interrupt_setup); // configure interrupt&lt;/P&gt;

&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the interrupt is triggered the UART output (on virtual COM port of the FRDM-KL05Z at 115200Baud) writes "IRQ_A_11" and also the RED LED is toggled so that the interrupt is seen on the LED colour as well.&lt;/P&gt;&lt;P&gt;The blue LED is toggling every 500ms (I think that yours does this).&lt;/P&gt;&lt;P&gt;You can use a debugger to compare all registers to see what is different. There is also a memory debugger on the UART (hit ENTER and then go to the I/O menu).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also attached a FRDM-KL05Z (also in the ZIP file) simulation (screen shot below) which I used to quickly set up and test the operation. You can run it be simply double clicking the EXE (doesn't need installation) and you can also test the IRQ operation [the Blue LED is toggling and you can change the input state of PTA11 by clicking on it - you will see that the interrupt fires and the RED LED is controlled as on the HW].&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;P.S: If you need to develop efficiently with the FRDM-KL05Z you can simply download the uTasker project and do the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.utasker.com/kinetis.html" rel="nofollow noopener noreferrer noopener noreferrer" target="_blank"&gt;http://www.utasker.com/kinetis.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;IMG alt="pastedImage_1.png" src="https://community.nxp.com/t5/image/serverpage/image-id/47899i3493BBA481571565/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_1.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2020 13:10:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL05-Interupt-question/m-p/330541#M15405</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2020-11-02T13:10:33Z</dc:date>
    </item>
    <item>
      <title>Re: KL05 Interupt question</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL05-Interupt-question/m-p/330542#M15406</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;I appreciate the time and care you’ve taken on my problem. Thanks. I’ll download and give it a try.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Dec 2014 03:20:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL05-Interupt-question/m-p/330542#M15406</guid>
      <dc:creator>danreltek</dc:creator>
      <dc:date>2014-12-09T03:20:40Z</dc:date>
    </item>
    <item>
      <title>Re: KL05 Interupt question</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL05-Interupt-question/m-p/330543#M15407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No problem - I only need a few minutes to do such things with the uTasker project (on almost any KE, KL or K processor that exists).&lt;/P&gt;&lt;P&gt;You may find that you just need to assign an interrupt priority to your interrupt - I didn't see that this was being explicitly done in your code.&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, 09 Dec 2014 03:36:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL05-Interupt-question/m-p/330543#M15407</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2014-12-09T03:36:58Z</dc:date>
    </item>
    <item>
      <title>Re: KL05 Interupt question</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL05-Interupt-question/m-p/330544#M15408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did not see the obviously problem on your code either, could you please check NVIC registers to see if they are configed correctly.&lt;/P&gt;&lt;P&gt;please refer to document in below thread:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-103034" title="https://community.freescale.com/docs/DOC-103034"&gt;https://community.freescale.com/docs/DOC-103034&lt;/A&gt;&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>Tue, 09 Dec 2014 07:43:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL05-Interupt-question/m-p/330544#M15408</guid>
      <dc:creator>Rick_Li</dc:creator>
      <dc:date>2014-12-09T07:43:48Z</dc:date>
    </item>
    <item>
      <title>Re: KL05 Interupt question</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL05-Interupt-question/m-p/330545#M15409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yong Li&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks. I’ve been away from microcontrollers for over 10 years and am now effectively a novice again. I’m learning uVision 4 but can’t get a debug or download connection to work. I’m currently programming the device by dragging and dropping the .s19 file into the FRDM_KL05Z drive. So, my program has to examine registers and report via the serial port.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I’ve been trying to understand the NVIC register access macros so that I can use them and report contents, but I’m still having trouble understanding them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please give me examples of how to read and write the relevant NVIC registers?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dan Bovill&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Dec 2014 21:46:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL05-Interupt-question/m-p/330545#M15409</guid>
      <dc:creator>danreltek</dc:creator>
      <dc:date>2014-12-09T21:46:09Z</dc:date>
    </item>
    <item>
      <title>Re: KL05 Interupt question</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL05-Interupt-question/m-p/330546#M15410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to read the Cortex M4 NVIC document to find details of the interrupt registers.&lt;/P&gt;&lt;P&gt;To get your code to enable the interrupt in question the actual operation is:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IRQ28_31_PRIORITY |= 0x00P00000;&lt;/STRONG&gt; // where P is the priority that the interrupt should have (KL05 supports 4 levels so P can be 0, 0x4, 0x8 or 0xc) [K has 16] lowest number is highest priority&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IRQ0_31_SER = 0x40000000;&lt;/STRONG&gt; // enable the PORTA interrupt request - this is a bit set write which sets the bit in the corresponding register &lt;STRONG&gt;IRQ0_31_CER&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check these two registers if you have a debugger. You can use the uTasker KL05 simulator to step the code and examine the registers without the need for a debugger.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you load the binary that I posted you can examine registers on the UART interface. Eg. to see the &lt;STRONG&gt;IRQ0_31_CER&lt;/STRONG&gt; (long word address at &lt;STRONG&gt;0xe000e180&lt;/STRONG&gt;) the command&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;md e000e180 l 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;gives&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Memory Display&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;0xe000e180&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 50201001&amp;nbsp; P ..&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[showing that PORTA, LPT, DMA0, and UART0 interrupts are unmasked]&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, 09 Dec 2014 23:23:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL05-Interupt-question/m-p/330546#M15410</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2014-12-09T23:23:21Z</dc:date>
    </item>
    <item>
      <title>Re: KL05 Interupt question</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL05-Interupt-question/m-p/330547#M15411</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;the link provided seems to be concerned specifically with the TWR K60. Will this still work? I searched the list of demos for mention of FRDM-KL05 but came up blank.&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Dec 2014 00:07:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL05-Interupt-question/m-p/330547#M15411</guid>
      <dc:creator>danreltek</dc:creator>
      <dc:date>2014-12-10T00:07:36Z</dc:date>
    </item>
    <item>
      <title>Re: KL05 Interupt question</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL05-Interupt-question/m-p/330548#M15412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a single project which configures itself for any supported KE, KL or K parts. There is no binary for the KL05 on the demos page - I attached one here for that reason.&lt;/P&gt;&lt;P&gt;Use the following for the direct download&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.utasker.com/forum/index.php?topic=1721.msg6697#msg6697" title="http://www.utasker.com/forum/index.php?topic=1721.msg6697#msg6697"&gt;http://www.utasker.com/forum/index.php?topic=1721.msg6697#msg6697&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This version has support for the following boards:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FRDM-KE02Z&lt;BR /&gt;FRDM-KL02Z&lt;BR /&gt;&lt;SPAN style="text-decoration: underline;"&gt;FRDM-KL05Z&lt;/SPAN&gt;&lt;BR /&gt;FRDM-KL25Z&lt;BR /&gt;FRDM-KL26Z&lt;BR /&gt;TWR-KL25Z48MZ&lt;BR /&gt;FRDM-KL46Z&lt;BR /&gt;TWR-K20N50M&lt;BR /&gt;TWR-K20D72M&lt;BR /&gt;TWR-K21D50M&lt;BR /&gt;TWR-K21F120M&lt;BR /&gt;TEENSY 3.1&lt;BR /&gt;FRDM-K20D50M&lt;BR /&gt;TWR-K40X246&lt;BR /&gt;TWR-K40D100M&lt;BR /&gt;KWIKSTIK&lt;BR /&gt;TWR-K60N512&lt;BR /&gt;TWR-K60D100M&lt;BR /&gt;TWR-K60F120M&lt;BR /&gt;ELZET80 NET-KBED&lt;BR /&gt;ELZET80 NET-K60&lt;BR /&gt;EMCRAFT K61F150M&lt;BR /&gt;FRDM-K64F&lt;BR /&gt;EMCRAFT K70F150M&lt;BR /&gt;TWR-K70F120M&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;You can follow this video: &lt;A href="https://www.youtube.com/watch?v=uBbiw36Caq4&amp;amp;feature=youtu.be" title="https://www.youtube.com/watch?v=uBbiw36Caq4&amp;amp;feature=youtu.be"&gt;https://www.youtube.com/watch?v=uBbiw36Caq4&amp;amp;feature=youtu.be&lt;/A&gt;&lt;/P&gt;&lt;P&gt;but essentially you just need to&lt;/P&gt;&lt;P&gt;1: select the part family (in config.h in the uTaskerV1.4 folder)&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;#define KINETIS_KL00&lt;/STRONG&gt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;// processor type - M0+ basic&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;2: Select the board (in the same header)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;#define FRDM_KL05Z&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;3: Build in VisualStudio and simulate the operation (it emulates peripherals, Flash, interrupts and DMA in approx. real-time). If you select the GNU target it will also build a target with the GCC compiler which can be loaded to the board (you may need to set the bat file path to your local copy)&lt;/P&gt;&lt;P&gt;3a. Or open any IDE project and ensure that the processor is set to the correct type (especially Cortex m0+ rather than Cortex m4)&lt;BR /&gt;3b. AND ensure that it is using the correct linker script (KL_32_4.ld is correct for the KL05 with 32k Flash and 4k RAM)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to test port interrupts open Port_Interrupts.h and enable IRQ_TEST. In fnInitIRQ() there will be one or more port interrupts configured and assigned to interrupt handlers.&lt;/P&gt;&lt;P&gt;This port interrupt interface allows you to assign an individual interrupt call back to EACH port bit (rather than just one to a port). You can also assign an interrupt to multiple port bits (eg. PTA11, PTA3 and PTA4 could all be assigned to cause a certain interrupt handler to be called when any of them causes a trigger).&lt;/P&gt;&lt;P&gt;You will find that you can test everything in the simulator (if used) and develop, debug, solve problems, experiment and learn. Then you can load to the HW where it will work the same.&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;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Dec 2014 00:48:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL05-Interupt-question/m-p/330548#M15412</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2014-12-10T00:48:21Z</dc:date>
    </item>
    <item>
      <title>Re: Re: KL05 Interupt question</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL05-Interupt-question/m-p/330549#M15413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm sorry for delay replying!&lt;/P&gt;&lt;P&gt;I've developed an interrupt example project based on MK64 (I dont have an KL05Z board on my hand right now).&lt;/P&gt;&lt;P&gt;I hope it helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Dec 2014 08:30:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL05-Interupt-question/m-p/330549#M15413</guid>
      <dc:creator>Rick_Li</dc:creator>
      <dc:date>2014-12-12T08:30:19Z</dc:date>
    </item>
    <item>
      <title>Re: KL05 Interupt question</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL05-Interupt-question/m-p/330550#M15414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your advice. I've been reading about NVIC and trying a few things.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found an error in my original program and fixed that. (I had PORTA_PCR11 |= PORT_PCR_IRQC(0x10); should've been PORTA_PCR11 |= PORT_PCR_IRQC(0xA);)&lt;/P&gt;&lt;P&gt;Now the program switches the BLUE LED on (which should trigger the interrupt) but does not enter the ISR... NOR does it get to "Test Point 1". The blue LED does not switch off (obviously).&lt;/P&gt;&lt;P&gt;So, something is working and something else isn't.&lt;/P&gt;&lt;P&gt;=========&lt;/P&gt;&lt;P&gt;here is main:&lt;/P&gt;&lt;P&gt;=========&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;&amp;nbsp;&amp;nbsp; #if(defined(CW))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sysinit();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; #endif&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; gpio_init();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; app_init();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf("\r\nRunning the PA11 Interrupt project.\r\n");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LED3_OFF;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // The following 2 lines commented out because subsequent lines should do the same job. Shouldn't they?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // EnableInterrupts;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // enable_irq(30); //30 = 46-16&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Initialise the NVIC to enable the specified IRQ&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Report relevant NVIC Regs&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf("\r\nNVIC_ICPR: %x", NVIC_ICPR);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf("\r\nNVIC_ISER: %x", NVIC_ISER);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf("\r\nNVIC_IPR7: %x\r\n", NVIC_IPR7);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Setup relevant NVIC Regs&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; NVIC_ICPR = 0x40000000; // Clear pending interrupts&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; NVIC_ISER = 0x40000000;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Enable interrupts from Port A&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; NVIC_IPR7 = 0x00c00000;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Set interrupt priority to 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Report relevant NVIC Regs&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf("\r\nNVIC_ICPR: %x", NVIC_ICPR);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf("\r\nNVIC_ISER: %x", NVIC_ISER);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf("\r\nNVIC_IPR7: %x\r\n", NVIC_IPR7);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Configure PA11&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PDDR(A) &amp;amp;= ~(1&amp;lt;&amp;lt;11);&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; // configure PA11 as input&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PORTA_PCR11 &amp;amp;= ~(1&amp;lt;&amp;lt;2);&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; // Clear bit 2 for fast slew rate&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PORTA_PCR11 |= PORT_PCR_IRQC(0xA);&amp;nbsp;&amp;nbsp;&amp;nbsp; // configure port A for falling edge interrupts&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Report PORT A Regs&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf("\r\nGPIO_PDDR_REG(PTA_BASE_PTR): %x", GPIO_PDDR_REG(PTA_BASE_PTR));&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf("\r\nPORTA_PCR11: %x", PORTA_PCR11);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf("\r\nPORTA_ISFR: %x\r\n", PORTA_ISFR);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; while(1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf("\r\nInput: %d", PDIR(A) &amp;amp; (1&amp;lt;&amp;lt;11));&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LED3_ON;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf("\r\n *************** Test point 1 **************");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; delay(500000);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf("\r\nInput: %d", PDIR(A) &amp;amp; (1&amp;lt;&amp;lt;11));&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LED3_OFF;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; delay(500000);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;===========&lt;/P&gt;&lt;P&gt;Here is the ISR:&lt;/P&gt;&lt;P&gt;===========&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void PORTA_ISR(void)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PORTA_PCR11 |= PORT_PCR_ISF_MASK;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf("\r\n *** ISR *** \r\n");&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;================&lt;/P&gt;&lt;P&gt;and here is isr.h:&lt;/P&gt;&lt;P&gt;================&lt;/P&gt;&lt;P&gt;#ifndef __ISR_H&lt;/P&gt;&lt;P&gt;#define __ISR_H 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#undef&amp;nbsp; VECTOR_046 &lt;/P&gt;&lt;P&gt;#define VECTOR_046&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PORTA_ISR &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;extern void PORTA_ISR(void);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#endif&amp;nbsp; //__ISR_H&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;==============&lt;/P&gt;&lt;P&gt;Here is the output:&lt;/P&gt;&lt;P&gt;==============&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Running the project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NVIC_ICPR: 100000&lt;/P&gt;&lt;P&gt;NVIC_ISER: 0&lt;/P&gt;&lt;P&gt;NVIC_IPR7: 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NVIC_ICPR: 100000&lt;/P&gt;&lt;P&gt;NVIC_ISER: 40000000&lt;/P&gt;&lt;P&gt;NVIC_IPR7: c00000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GPIO_PDDR_REG(PTA_BASE_PTR): 0&lt;/P&gt;&lt;P&gt;PORTA_PCR11: a0107&lt;/P&gt;&lt;P&gt;PORTA_ISFR: 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Input: 2048&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Dec 2014 00:46:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL05-Interupt-question/m-p/330550#M15414</guid>
      <dc:creator>danreltek</dc:creator>
      <dc:date>2014-12-15T00:46:37Z</dc:date>
    </item>
    <item>
      <title>Re: KL05 Interupt question</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL05-Interupt-question/m-p/330551#M15415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you compare the code that I sent to see whether you could find differences between it and yours?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not all errors are obvious in code and also problems might be at other locations that are not visible/obvious.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It may be easier if you post the binary that you are loading to the board and then I will be able to tell you "why" it is not working. If you know why, you should be able to then fix it easier.&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;A href="http://www.utasker.com/kinetis.html" title="http://www.utasker.com/kinetis.html"&gt;http://www.utasker.com/kinetis.html&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Dec 2014 01:14:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL05-Interupt-question/m-p/330551#M15415</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2014-12-15T01:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: KL05 Interupt question</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL05-Interupt-question/m-p/330552#M15416</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;Thanks for your help. After much frustration I decided to learn how to use Processor Expert in Code Warrior. This is worth the pain for a novice such as I.&lt;/P&gt;&lt;P&gt;I now have LEDs flashing in timer interupts. I do have a new question about using printf in a Processor Expert project and will ask a new question about that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Jan 2015 02:08:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL05-Interupt-question/m-p/330552#M15416</guid>
      <dc:creator>danreltek</dc:creator>
      <dc:date>2015-01-11T02:08:28Z</dc:date>
    </item>
  </channel>
</rss>

