<?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: PORT B Pin 2 GPIO Interrupt not being triggered</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/PORT-B-Pin-2-GPIO-Interrupt-not-being-triggered/m-p/1483138#M63503</link>
    <description>&lt;P&gt;Thanks to Erich for the reminder, I found that the location of the relevant code was confusing, so I debugged it directly on the FRDM-K64F.&lt;/P&gt;
&lt;P&gt;Found a problem:&lt;/P&gt;
&lt;P&gt;GPIO_PortClearInterruptFlags(&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;BOARD_PWM_SYCNH_TRG_PIN&lt;/STRONG&gt;&lt;/FONT&gt;, 1U &amp;lt;&amp;lt; BOARD_PWM_SYCNH_TRG_PIN);&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GPIO_PortClearInterruptFlags.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/185245iFBCBFCCF121395D3/image-size/large?v=v2&amp;amp;px=999" role="button" title="GPIO_PortClearInterruptFlags.png" alt="GPIO_PortClearInterruptFlags.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Robin&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
    <pubDate>Fri, 01 Jul 2022 03:08:44 GMT</pubDate>
    <dc:creator>Robin_Shen</dc:creator>
    <dc:date>2022-07-01T03:08:44Z</dc:date>
    <item>
      <title>PORT B Pin 2 GPIO Interrupt not being triggered</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/PORT-B-Pin-2-GPIO-Interrupt-not-being-triggered/m-p/1482884#M63491</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to get PORT B Pin 2 to detect a rising edge of a 16khz clock signal from another board.&lt;/P&gt;&lt;P&gt;Attached is my project.&lt;/P&gt;&lt;P&gt;All the initializations are done properly, but the ISR never gets triggered (i.e. the control never reaches the ISR)&lt;/P&gt;&lt;P&gt;Could you please check what could be the issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rashmitha&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2022 15:37:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/PORT-B-Pin-2-GPIO-Interrupt-not-being-triggered/m-p/1482884#M63491</guid>
      <dc:creator>Rashmitha_Nair</dc:creator>
      <dc:date>2022-06-30T15:37:26Z</dc:date>
    </item>
    <item>
      <title>Re: PORT B Pin 2 GPIO Interrupt not being triggered</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/PORT-B-Pin-2-GPIO-Interrupt-not-being-triggered/m-p/1482899#M63492</link>
      <description>&lt;P&gt;without checking too much of your code:&lt;/P&gt;&lt;P&gt;- have you tried the the interrupts *without* that high frequency? Just enabling interrupts on that pin and try with a jumper/button?&lt;/P&gt;&lt;P&gt;- I see that in GPIOInit() you are not actually intializing the pin for interrupts (it as all commented out). Instead you are calling BOARD_InitPeripherals() which shall usually happen in main.&lt;/P&gt;&lt;P&gt;I recommend that you have a look at the pin logic levels (not sure what you have on your board there), with a logic analyzer or scope, just to verify the levels are indeed changing.&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2022 15:51:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/PORT-B-Pin-2-GPIO-Interrupt-not-being-triggered/m-p/1482899#M63492</guid>
      <dc:creator>ErichStyger</dc:creator>
      <dc:date>2022-06-30T15:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: PORT B Pin 2 GPIO Interrupt not being triggered</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/PORT-B-Pin-2-GPIO-Interrupt-not-being-triggered/m-p/1483138#M63503</link>
      <description>&lt;P&gt;Thanks to Erich for the reminder, I found that the location of the relevant code was confusing, so I debugged it directly on the FRDM-K64F.&lt;/P&gt;
&lt;P&gt;Found a problem:&lt;/P&gt;
&lt;P&gt;GPIO_PortClearInterruptFlags(&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;BOARD_PWM_SYCNH_TRG_PIN&lt;/STRONG&gt;&lt;/FONT&gt;, 1U &amp;lt;&amp;lt; BOARD_PWM_SYCNH_TRG_PIN);&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GPIO_PortClearInterruptFlags.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/185245iFBCBFCCF121395D3/image-size/large?v=v2&amp;amp;px=999" role="button" title="GPIO_PortClearInterruptFlags.png" alt="GPIO_PortClearInterruptFlags.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Robin&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2022 03:08:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/PORT-B-Pin-2-GPIO-Interrupt-not-being-triggered/m-p/1483138#M63503</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2022-07-01T03:08:44Z</dc:date>
    </item>
  </channel>
</rss>

