<?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>topic Re: LPC11C24 can't wake up from Deep-Sleep in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11C24-can-t-wake-up-from-Deep-Sleep/m-p/831859#M33216</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Ruifeng!&lt;BR /&gt;Sorry to bother you, I have tried the same setup (in my case I use pin 0.2 instead) but apparently it gets stuck in IntDefaultHandler().&amp;nbsp;&lt;BR /&gt;Do you have any idea on how to solve this issue?&lt;BR /&gt;&lt;BR /&gt;Concerning the setup, how do you send the interrupt on the falling edge for the wakeup pins? Do you use something particular?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 30 Dec 2018 18:56:54 GMT</pubDate>
    <dc:creator>f_fiorini</dc:creator>
    <dc:date>2018-12-30T18:56:54Z</dc:date>
    <item>
      <title>LPC11C24 can't wake up from Deep-Sleep</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11C24-can-t-wake-up-from-Deep-Sleep/m-p/831856#M33213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using the LPC11C24 board OM13093 to test the deep-sleep mode.&amp;nbsp;&lt;/P&gt;&lt;P&gt;According to the manual of LPC11xx and the application note AN11027,&amp;nbsp; &amp;nbsp;I set three pins (p0.6, p0.11, p1.0)&amp;nbsp; connect the start logic.&amp;nbsp; But the chip couldn't wake up when I triggered the pins.&amp;nbsp; I tried to set the main clock to the IRC and&amp;nbsp; WDTOSC, but both didn't work.&amp;nbsp; I didn't go into the Wakeup_IRQhandler ever when I set '&lt;SPAN&gt;SCB-&amp;gt;SCR |= (1&amp;lt;&amp;lt;2);&amp;nbsp;&lt;/SPAN&gt;'(let the chip be deep-sleep). But when I comment this line, I can enter the wakeup_IRQHandler.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me find the reasons if you have experience with this problem.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are related configurations:&lt;/P&gt;&lt;P&gt;//Deep-Sleep according to the manual UM10398 3.9.3.2&lt;BR /&gt;//1 SET PMU PCON register to 0&lt;BR /&gt;Chip_PMU_SleepState(LPC_PMU);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//2 BOD is powered down but WTD is powered up&lt;BR /&gt;Chip_SYSCTL_SetDeepSleepPD(SYSCTL_DEEPSLP_BOD_PD);&lt;BR /&gt;//LPC_SYSCTL-&amp;gt;PDSLEEPCFG = 0x000018BF;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//2 WTD oscillator is powered up&lt;BR /&gt;Chip_SYSCTL_PowerUp(SYSCTL_POWERDOWN_IRC_PD);&lt;BR /&gt;Chip_SYSCTL_PowerUp(SYSCTL_POWERDOWN_IRCOUT_PD);&lt;BR /&gt;Chip_SYSCTL_PowerUp(SYSCTL_POWERDOWN_WDTOSC_PD);&lt;BR /&gt;Chip_Clock_SetWDTOSC(WDTLFO_OSC_0_60, 20);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// switch the clock source&lt;BR /&gt;//Chip_Clock_SetMainClockSource(SYSCTL_MAINCLKSRC_WDTOSC);&lt;BR /&gt;Chip_Clock_SetMainClockSource(SYSCTL_MAINCLKSRC_IRC);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//select the power configuration after wakeup&lt;BR /&gt;Chip_SYSCTL_SetWakeup(SYSCTL_SLPWAKE_IRC_PD|SYSCTL_SLPWAKE_IRCOUT_PD|SYSCTL_SLPWAKE_FLASH_PD|SYSCTL_SLPWAKE_SYSPLL_PD|SYSCTL_SLPWAKE_WDTOSC_PD);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Disable all peripherals except WDT&lt;BR /&gt;Chip_Clock_DisablePeriphClock(SYSCTL_CLOCK_I2C); //!&amp;lt; 5: I2C clock, not on LPC110x&lt;BR /&gt;Chip_Clock_DisablePeriphClock(SYSCTL_CLOCK_CT16B0); //!&amp;lt; 7: 16-bit Counter/timer 0 clock&lt;BR /&gt;Chip_Clock_DisablePeriphClock(SYSCTL_CLOCK_CT16B1); //!&amp;lt; 8: 16-bit Counter/timer 1 clock&lt;BR /&gt;Chip_Clock_DisablePeriphClock(SYSCTL_CLOCK_CT32B0); //!&amp;lt; 9: 32-bit Counter/timer 0 clock&lt;BR /&gt;Chip_Clock_DisablePeriphClock(SYSCTL_CLOCK_CT32B1); //!&amp;lt; 10: 32-bit Counter/timer 1 clock&lt;BR /&gt;Chip_Clock_DisablePeriphClock(SYSCTL_CLOCK_SSP0); //!&amp;lt; 11: SSP0 clock&lt;BR /&gt;Chip_Clock_DisablePeriphClock(SYSCTL_CLOCK_UART0); //!&amp;lt; 12: UART0 clock&lt;BR /&gt;Chip_Clock_DisablePeriphClock(SYSCTL_CLOCK_ADC); //!&amp;lt; 13: ADC clock&lt;BR /&gt;Chip_Clock_DisablePeriphClock(SYSCTL_CLOCK_CAN); //!&amp;lt; 17: CAN clock, LPC11Cxx only&lt;BR /&gt;Chip_Clock_DisablePeriphClock(SYSCTL_CLOCK_SSP1); //!&amp;lt; 18: SSP1 clock, LPC11A/C/E/Uxx//1125 only&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*set external pins for wakeup*/&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Chip_SYSCTL_SetStartPin(PIO1_0_WKUP, EDGE_FALL);&lt;BR /&gt;Chip_SYSCTL_ResetStartPin(PIO1_0_WKUP);&lt;BR /&gt;Chip_SYSCTL_EnableStartPin(PIO1_0_WKUP);&lt;/P&gt;&lt;P&gt;Chip_SYSCTL_SetStartPin(PIO0_6_WKUP, EDGE_FALL);&lt;BR /&gt;Chip_SYSCTL_ResetStartPin(PIO0_6_WKUP);&lt;BR /&gt;Chip_SYSCTL_EnableStartPin(PIO0_6_WKUP);&lt;/P&gt;&lt;P&gt;Chip_SYSCTL_SetStartPin(PIO0_11_WKUP, EDGE_FALL);&lt;BR /&gt;Chip_SYSCTL_ResetStartPin(PIO0_11_WKUP);&lt;BR /&gt;Chip_SYSCTL_EnableStartPin(PIO0_11_WKUP);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NVIC_ClearPendingIRQ(PIO1_0_IRQn);&lt;BR /&gt;NVIC_EnableIRQ(PIO1_0_IRQn);&lt;/P&gt;&lt;P&gt;NVIC_ClearPendingIRQ(PIO0_6_IRQn);&lt;BR /&gt;NVIC_EnableIRQ(PIO0_6_IRQn);&lt;/P&gt;&lt;P&gt;NVIC_ClearPendingIRQ(PIO0_11_IRQn);&lt;BR /&gt;NVIC_EnableIRQ(PIO0_11_IRQn);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Specify Deep Sleep mode before entering mode&amp;nbsp;&lt;BR /&gt;SCB-&amp;gt;SCR |= (1&amp;lt;&amp;lt;2); //Set SLEEPDEEP bit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;__WFI();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void WAKEUP_IRQHandler(void){&lt;/P&gt;&lt;P&gt;Board_LED_Toggle(1);&lt;/P&gt;&lt;P&gt;Chip_SYSCTL_ResetStartPin(PIO1_0_WKUP);&lt;BR /&gt;Chip_SYSCTL_ResetStartPin(PIO0_6_WKUP);&lt;BR /&gt;Chip_SYSCTL_ResetStartPin(PIO0_11_WKUP);&lt;BR /&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2018 15:14:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11C24-can-t-wake-up-from-Deep-Sleep/m-p/831856#M33213</guid>
      <dc:creator>ruifengzhang</dc:creator>
      <dc:date>2018-11-13T15:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11C24 can't wake up from Deep-Sleep</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11C24-can-t-wake-up-from-Deep-Sleep/m-p/831857#M33214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey, I have a similar problem with LPC11C24 that it can't wake up when in deep sleep mode.&amp;nbsp;&lt;BR /&gt;Did you figure out how to solve the issue?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2018 14:55:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11C24-can-t-wake-up-from-Deep-Sleep/m-p/831857#M33214</guid>
      <dc:creator>f_fiorini</dc:creator>
      <dc:date>2018-12-11T14:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11C24 can't wake up from Deep-Sleep</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11C24-can-t-wake-up-from-Deep-Sleep/m-p/831858#M33215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I did.&lt;/P&gt;&lt;P&gt;It works by correcting the mistake:&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Chip_SYSCTL_SetWakeup(~(SYSCTL_SLPWAKE_IRC_PD|SYSCTL_SLPWAKE_IRCOUT_PD|SYSCTL_SLPWAKE_FLASH_PD|SYSCTL_SLPWAKE_SYSPLL_PD|SYSCTL_SLPWAKE_WDTOSC_PD))&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Good luck.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2018 15:07:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11C24-can-t-wake-up-from-Deep-Sleep/m-p/831858#M33215</guid>
      <dc:creator>ruifengzhang</dc:creator>
      <dc:date>2018-12-12T15:07:04Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11C24 can't wake up from Deep-Sleep</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11C24-can-t-wake-up-from-Deep-Sleep/m-p/831859#M33216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Ruifeng!&lt;BR /&gt;Sorry to bother you, I have tried the same setup (in my case I use pin 0.2 instead) but apparently it gets stuck in IntDefaultHandler().&amp;nbsp;&lt;BR /&gt;Do you have any idea on how to solve this issue?&lt;BR /&gt;&lt;BR /&gt;Concerning the setup, how do you send the interrupt on the falling edge for the wakeup pins? Do you use something particular?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Dec 2018 18:56:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11C24-can-t-wake-up-from-Deep-Sleep/m-p/831859#M33216</guid>
      <dc:creator>f_fiorini</dc:creator>
      <dc:date>2018-12-30T18:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11C24 can't wake up from Deep-Sleep</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11C24-can-t-wake-up-from-Deep-Sleep/m-p/831860#M33217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;IntDefaultHandler is the default interrupt handler, meaning an interrupt has been taken for which a specific handler has not been setup in theVector Table. You need to check which interrupt has fired and make sure that a handler has been correctly located in the vector table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Dec 2018 09:06:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11C24-can-t-wake-up-from-Deep-Sleep/m-p/831860#M33217</guid>
      <dc:creator>converse</dc:creator>
      <dc:date>2018-12-31T09:06:46Z</dc:date>
    </item>
  </channel>
</rss>

