<?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>LPCXpresso IDE中的主题 Re: UART after Deep Sleep (LPC1114)</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/UART-after-Deep-Sleep-LPC1114/m-p/540587#M7057</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by serge on Sun Jun 30 15:59:02 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I am not familiar with this MCU but what happens to the registers while the MCU is in deep sleep? Do they keep their values or are they reset when the MCU wakes up? This could happen if internally the power to the memory section where the registers reside is turned off.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Check SYSAHBCLKCTRL register when comming out of deep sleep.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 01:45:57 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T01:45:57Z</dc:date>
    <item>
      <title>UART after Deep Sleep (LPC1114)</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/UART-after-Deep-Sleep-LPC1114/m-p/540584#M7054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by shashankiim on Sun Jun 30 06:11:37 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hey&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have multiple boards with LPC1114 (302). As per the design the system remains in deep sleep mode after initial setup of all the peripherals. An external interrupt wakes it up. After waking up the LPC1114 transmits some UART data and goes back to deep sleep.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However the system is not transmitting proper UART data. It always transmits garbage values with dots and weird characters. If instead of "deep sleep" I make it "sleep mode" the UART data transmitted is perfect.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I do not understand why is it happening. Has this happened to anyone before ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I would really immensely appreciate any help or pointers in this issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Shashank&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:45:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/UART-after-Deep-Sleep-LPC1114/m-p/540584#M7054</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:45:55Z</dc:date>
    </item>
    <item>
      <title>Re: UART after Deep Sleep (LPC1114)</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/UART-after-Deep-Sleep-LPC1114/m-p/540585#M7055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by R2D2 on Sun Jun 30 06:53:02 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: shashankiim&lt;/STRONG&gt;&lt;BR /&gt;I would really immensely appreciate any help or pointers in this issue.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;:confused:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Without seeing a single line of code I would guess it's a FIFO problem.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:45:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/UART-after-Deep-Sleep-LPC1114/m-p/540585#M7055</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: UART after Deep Sleep (LPC1114)</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/UART-after-Deep-Sleep-LPC1114/m-p/540586#M7056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by shashankiim on Sun Jun 30 08:45:59 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;but every time before transmitting I enable and clear the Tx Rx FIFO. Out of the whole string on UART many times I get a few initial characters correct while others as dots otherwise the whole string is a garbage other times.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Additional info : before deep sleep I switch clock to watchdog and after wakeup I switch it back to PLL with IRC with the system core clock to 48MHz&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;what can be the issue ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:45:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/UART-after-Deep-Sleep-LPC1114/m-p/540586#M7056</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:45:57Z</dc:date>
    </item>
    <item>
      <title>Re: UART after Deep Sleep (LPC1114)</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/UART-after-Deep-Sleep-LPC1114/m-p/540587#M7057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by serge on Sun Jun 30 15:59:02 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I am not familiar with this MCU but what happens to the registers while the MCU is in deep sleep? Do they keep their values or are they reset when the MCU wakes up? This could happen if internally the power to the memory section where the registers reside is turned off.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Check SYSAHBCLKCTRL register when comming out of deep sleep.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:45:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/UART-after-Deep-Sleep-LPC1114/m-p/540587#M7057</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:45:57Z</dc:date>
    </item>
    <item>
      <title>Re: UART after Deep Sleep (LPC1114)</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/UART-after-Deep-Sleep-LPC1114/m-p/540588#M7058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by shashankiim on Sun Jun 30 21:10:20 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: Serge&lt;/STRONG&gt;&lt;BR /&gt;I am not familiar with this MCU but what happens to the registers while the MCU is in deep sleep? Do they keep their values or are they reset when the MCU wakes up? This could happen if internally the power to the memory section where the registers reside is turned off.&lt;BR /&gt;Check SYSAHBCLKCTRL register when comming out of deep sleep.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;According to datasheet&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In Deep-sleep mode, the system clock to the processor is disabled as in Sleep mode. All analog blocks are powered down, except for the BOD circuit and the watchdog oscillator, which must be selected or deselected during Deep-sleep mode in the PDSLEEPCFG register.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Deep-sleep mode eliminates all power used by the flash and analog peripherals and all dynamic power used by the processor itself, memory systems and their related controllers, and internal buses. The processor state and registers, peripheral registers, and internal SRAM values are maintained, and the logic levels of the pins remain static.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To be specific if I program to output a string "open close " I get the constant&amp;nbsp; UART output as "1=MÂ·Â·=AÂ·9Â·"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I do not understand why this is happening.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:45:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/UART-after-Deep-Sleep-LPC1114/m-p/540588#M7058</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:45:58Z</dc:date>
    </item>
    <item>
      <title>Re: UART after Deep Sleep (LPC1114)</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/UART-after-Deep-Sleep-LPC1114/m-p/540589#M7059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by shashankiim on Wed Jul 03 00:01:53 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I got the solution. It seem that after deep sleep wake up the PLLs do not set up properly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After trying all the things, I finally switched off the PLL and used IRC directly as the system clock and started running the system at 12MHz. This did the trick and the outputs are proper.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:45:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/UART-after-Deep-Sleep-LPC1114/m-p/540589#M7059</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:45:59Z</dc:date>
    </item>
  </channel>
</rss>

