<?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 KL1x and KL2x PORT interrupts</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-KL1x-and-KL2x-PORT-interrupts/m-p/227935#M4686</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is true that only PORTA and PORTD support this.&lt;/P&gt;&lt;P&gt;There is no work around, to save cost and power, only these are implemented - 64 should be enough on a small mcu, one would think (although probably some are unavailable due to shared function).&lt;/P&gt;&lt;P&gt;I learned this from the vector table first - there are only vectors fo ports A and D, not sure how (or if) I confirmed it.&lt;/P&gt;&lt;P&gt;It is also true that you can attempt to enable any one of them, but the bits might not stick (I have not tried it).&lt;/P&gt;&lt;P&gt;The NVIC&amp;nbsp; registers are just stock that way, same for the PCR registers. These are defined by ARM but the implementation is optional, and if Freescale forgot to mention&amp;nbsp; this somewhere, well that is an inconvenient oversight.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Mar 2013 18:20:49 GMT</pubDate>
    <dc:creator>JimDon</dc:creator>
    <dc:date>2013-03-15T18:20:49Z</dc:date>
    <item>
      <title>Kinetis KL1x and KL2x PORT interrupts</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-KL1x-and-KL2x-PORT-interrupts/m-p/227934#M4685</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;I just realized, after finishing my board layout, that there are no support for interrupts in some PORTs on Kinetis KL1x and KL2x!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't find this information clear enough in any documentation from Freescale - only CodeWarrior tells me that I can't enable interrupts in any port that is not PORTA or PORTD. And there is the vector table that doesn' t have a position to the other PORTs interrupt handlers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, there is, in the KL14 reference manual, this sentence:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;The external interrupt capability of the PORT module is available in all digital pin&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;muxing modes provided the PORT module is enabled.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Each pin can be individually configured for any of the following external interrupt&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;modes:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;• Interrupt disabled, default out of reset&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;• Active high level sensitive interrupt&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;• Active low level sensitive interrupt&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And, to make things more confusing, every PORT has an interrupt flag register.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone confirm me at least that this is true: there is no support for interrupts in the pins that are not part of PORTA and PORTD?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Funny thing about it is that I can configure LLWU interrupts in many of these pins (from ports C, E...)!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If there is some workaround, please tell me. I wish Freescale documentation was more clear :smileysad:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Luiz Fernando&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Mar 2013 18:05:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-KL1x-and-KL2x-PORT-interrupts/m-p/227934#M4685</guid>
      <dc:creator>lfschrickte</dc:creator>
      <dc:date>2013-03-15T18:05:41Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis KL1x and KL2x PORT interrupts</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-KL1x-and-KL2x-PORT-interrupts/m-p/227935#M4686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is true that only PORTA and PORTD support this.&lt;/P&gt;&lt;P&gt;There is no work around, to save cost and power, only these are implemented - 64 should be enough on a small mcu, one would think (although probably some are unavailable due to shared function).&lt;/P&gt;&lt;P&gt;I learned this from the vector table first - there are only vectors fo ports A and D, not sure how (or if) I confirmed it.&lt;/P&gt;&lt;P&gt;It is also true that you can attempt to enable any one of them, but the bits might not stick (I have not tried it).&lt;/P&gt;&lt;P&gt;The NVIC&amp;nbsp; registers are just stock that way, same for the PCR registers. These are defined by ARM but the implementation is optional, and if Freescale forgot to mention&amp;nbsp; this somewhere, well that is an inconvenient oversight.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Mar 2013 18:20:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-KL1x-and-KL2x-PORT-interrupts/m-p/227935#M4686</guid>
      <dc:creator>JimDon</dc:creator>
      <dc:date>2013-03-15T18:20:49Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis KL1x and KL2x PORT interrupts</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-KL1x-and-KL2x-PORT-interrupts/m-p/227936#M4687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jim, thanks for your observations! &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Already passed this to the ones who can validate and make changes in documentation. &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Really appreciate your contributions.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards!&lt;/P&gt;&lt;P&gt;Monica&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2013 21:45:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-KL1x-and-KL2x-PORT-interrupts/m-p/227936#M4687</guid>
      <dc:creator>Monica</dc:creator>
      <dc:date>2013-03-27T21:45:42Z</dc:date>
    </item>
  </channel>
</rss>

