<?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>LPC MicrocontrollersのトピックRe: LPC4357 M0 GPIO pin_4 interrupt not work</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4357-M0-GPIO-pin-4-interrupt-not-work/m-p/1244052#M44247</link>
    <description>&lt;P&gt;Hi Alice,&lt;/P&gt;&lt;P&gt;Chip_SCU_PinMuxSet(&lt;FONT color="#FF0000"&gt;0xF&lt;/FONT&gt;, 5, SCU_PINIO_FAST | SCU_MODE_FUNC4);&lt;/P&gt;&lt;P&gt;Is this you want?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;YES, PF_5,&amp;nbsp;GPIO7[19],&amp;nbsp; General purpose digital input pin.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;#define SCU_PINIO_FAST (SCU_MODE_INACT | SCU_MODE_HIGHSPEEDSLEW_EN | SCU_MODE_INBUFF_EN | SCU_MODE_ZIF_DIS)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;It is used to detect the 15.625us periodic pulse wave.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;And also please first delete the gpio code in M4 project .&lt;/P&gt;&lt;P&gt;In order to debug, Just only run the M0.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The M4 project will not start until M0 works normally, so M4 does not set this GPIO.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 11 Mar 2021 09:09:12 GMT</pubDate>
    <dc:creator>willgo</dc:creator>
    <dc:date>2021-03-11T09:09:12Z</dc:date>
    <item>
      <title>LPC4357 M0 GPIO pin_4 interrupt not work</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4357-M0-GPIO-pin-4-interrupt-not-work/m-p/1243071#M44219</link>
      <description>&lt;P&gt;I use M0 of LPC4357 to create a project,&lt;BR /&gt;And use two interrupt timer0 and GPIO_4&lt;BR /&gt;In debug mode, only timer0 will trigger the interrupt regularly,&lt;BR /&gt;After GPIO4 received the signal, it did not execute the PIN_INT4_IRQHandler function.&lt;BR /&gt;The GPIO4 interrupt didn't work.&lt;BR /&gt;But use M4 to create a project and use the same settings, GPIO_4 will be triggered and enter PIN_INT4_IRQHandler,&lt;BR /&gt;The following is the setting of my GPIO_4.&lt;/P&gt;&lt;P&gt;Chip_SCU_PinMuxSet(0xF, 5, SCU_PINIO_FAST | SCU_MODE_FUNC4);&lt;BR /&gt;Chip_GPIO_SetPinDIRInput(LPC_GPIO_PORT,7,19);&lt;BR /&gt;/* Configure interrupt channel for the GPIO pin in SysCon block */&lt;BR /&gt;Chip_SCU_GPIOIntPinSel(4, 7, 19);&lt;BR /&gt;/* Configure channel interrupt as edge sensitive and falling edge interrupt */&lt;BR /&gt;Chip_PININT_ClearIntStatus(LPC_GPIO_PIN_INT, PININTCH(4));&lt;BR /&gt;Chip_PININT_SetPinModeEdge(LPC_GPIO_PIN_INT, PININTCH(4));&lt;BR /&gt;Chip_PININT_EnableIntLow(LPC_GPIO_PIN_INT, PININTCH(4));&lt;BR /&gt;/* preemption = 1, sub-priority = 1 */&lt;BR /&gt;NVIC_SetPriority(PIN_INT4_IRQn, 8);&lt;BR /&gt;/* Enable interrupt in the NVIC */&lt;BR /&gt;NVIC_ClearPendingIRQ(PIN_INT4_IRQn);&lt;BR /&gt;NVIC_EnableIRQ(PIN_INT4_IRQn);&lt;/P&gt;</description>
      <pubDate>Wed, 10 Mar 2021 07:58:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4357-M0-GPIO-pin-4-interrupt-not-work/m-p/1243071#M44219</guid>
      <dc:creator>willgo</dc:creator>
      <dc:date>2021-03-10T07:58:52Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4357 M0 GPIO pin_4 interrupt not work</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4357-M0-GPIO-pin-4-interrupt-not-work/m-p/1243806#M44236</link>
      <description>&lt;P&gt;Hello willgo,&lt;/P&gt;
&lt;P&gt;Please tell me more detail about which port , pin you used to generate interrupt?&lt;/P&gt;
&lt;P&gt;Chip_SCU_PinMuxSet(&lt;FONT color="#FF0000"&gt;0xF&lt;/FONT&gt;, 5, SCU_PINIO_FAST | SCU_MODE_FUNC4);&lt;/P&gt;
&lt;P&gt;Is this you want?&lt;/P&gt;
&lt;P&gt;And also please first delete the gpio code in M4 project .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;</description>
      <pubDate>Thu, 11 Mar 2021 03:07:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4357-M0-GPIO-pin-4-interrupt-not-work/m-p/1243806#M44236</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2021-03-11T03:07:59Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4357 M0 GPIO pin_4 interrupt not work</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4357-M0-GPIO-pin-4-interrupt-not-work/m-p/1244052#M44247</link>
      <description>&lt;P&gt;Hi Alice,&lt;/P&gt;&lt;P&gt;Chip_SCU_PinMuxSet(&lt;FONT color="#FF0000"&gt;0xF&lt;/FONT&gt;, 5, SCU_PINIO_FAST | SCU_MODE_FUNC4);&lt;/P&gt;&lt;P&gt;Is this you want?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;YES, PF_5,&amp;nbsp;GPIO7[19],&amp;nbsp; General purpose digital input pin.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;#define SCU_PINIO_FAST (SCU_MODE_INACT | SCU_MODE_HIGHSPEEDSLEW_EN | SCU_MODE_INBUFF_EN | SCU_MODE_ZIF_DIS)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;It is used to detect the 15.625us periodic pulse wave.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;And also please first delete the gpio code in M4 project .&lt;/P&gt;&lt;P&gt;In order to debug, Just only run the M0.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The M4 project will not start until M0 works normally, so M4 does not set this GPIO.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Mar 2021 09:09:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4357-M0-GPIO-pin-4-interrupt-not-work/m-p/1244052#M44247</guid>
      <dc:creator>willgo</dc:creator>
      <dc:date>2021-03-11T09:09:12Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4357 M0 GPIO pin_4 interrupt not work</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4357-M0-GPIO-pin-4-interrupt-not-work/m-p/1245482#M44279</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;How about delete&lt;/P&gt;
&lt;P&gt;* preemption = 1, sub-priority = 1 */&lt;BR /&gt;NVIC_SetPriority(PIN_INT4_IRQn, 8);&lt;/P&gt;
&lt;P&gt;to use default priority.&lt;/P&gt;
&lt;P&gt;There is no error with your showed code,&lt;/P&gt;
&lt;P&gt;If still can't work, you can send a simple project that can reproduce your issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;</description>
      <pubDate>Mon, 15 Mar 2021 07:45:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4357-M0-GPIO-pin-4-interrupt-not-work/m-p/1245482#M44279</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2021-03-15T07:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4357 M0 GPIO pin_4 interrupt not work</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4357-M0-GPIO-pin-4-interrupt-not-work/m-p/1247921#M44322</link>
      <description>&lt;P&gt;Thank you for the reply.&lt;/P&gt;&lt;P&gt;When I use the M4 project contains M0 image, the M0 GPIO4&amp;nbsp;interrupt worked.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Mar 2021 07:47:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4357-M0-GPIO-pin-4-interrupt-not-work/m-p/1247921#M44322</guid>
      <dc:creator>willgo</dc:creator>
      <dc:date>2021-03-18T07:47:30Z</dc:date>
    </item>
  </channel>
</rss>

