<?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>MPC5xxxのトピックRe: 5606S problem when return from standby</title>
    <link>https://community.nxp.com/t5/MPC5xxx/5606S-problem-when-return-from-standby/m-p/344223#M424</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: .0001pt;"&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;be sure all wake up flags are really cleared before going to low power mode.&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;Also you should set pull-ups to all wake up sources, so use WKUP.WIPUER.R = 0x001FFFFF;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;Regards&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;Petr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Jan 2015 12:38:36 GMT</pubDate>
    <dc:creator>PetrS</dc:creator>
    <dc:date>2015-01-19T12:38:36Z</dc:date>
    <item>
      <title>5606S problem when return from standby</title>
      <link>https://community.nxp.com/t5/MPC5xxx/5606S-problem-when-return-from-standby/m-p/344222#M423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody.&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have some problems in standby mode exit with MPC5606S CPU&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The source code is based on "Low power modes" from freescale examples for MPC5606S.&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The purpose of the source code is to wait from 2 wakeup sources to exit from standby mode&lt;/P&gt;&lt;P&gt;#define IN_IGNITION&amp;nbsp;&amp;nbsp; 19&amp;nbsp;&amp;nbsp;&amp;nbsp; // IN_IGNITION&amp;nbsp;&amp;nbsp; -&amp;gt; PB3&amp;nbsp; GPIO[19]&amp;nbsp; uC_PIN 110 &lt;/P&gt;&lt;P&gt;#define IN_HNBR_L_SW1 75&amp;nbsp;&amp;nbsp;&amp;nbsp; // IN_HNBR_L_SW1 -&amp;gt; PF5&amp;nbsp; GPIO[75]&amp;nbsp; uC_PIN 117&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In run mode, the code checks what is the wake-up source and flashes some LED. If the wakeup GPI line is low, come back to standby mode.&lt;/P&gt;&lt;P&gt;Additionally in run mode the main clock is send out by PH[4] GPIO to check the frequency.&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The system seems to be working correctly but there are some problems that I can't fix.&lt;/P&gt;&lt;P&gt;Starting from power supply OFF to ON, the CPU need 3 or 4 wake-up event to start to flash the LED.&lt;/P&gt;&lt;P&gt;Checking the power consumption, when the wake-up GPI line is active, the CPU current consumption increase and flash some LED very fast.&lt;/P&gt;&lt;P&gt;Checking the clock output line. I see that:&lt;/P&gt;&lt;P&gt;1) In the cases that the CPU works (LED flashing) the clock is 64MHz and the system works fine&lt;/P&gt;&lt;P&gt;2) In the cases that the CPU not wake-up OK (very fast LED flash), the clock start to oscillate for 500ns and then stabilize the frequency at 64MHz for 3us, after these 3us, the oscillation stop.&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I do the same test using different clocks source (XTAL, PLL and internal 16MHz rc oscillator) and the results are the same.&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I thing I'm doing something wrong but I can't fine the mistake.&lt;/P&gt;&lt;P&gt;Can somebody help me to fine the problem.&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Miquel Soler i Mir&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338368"&gt;main.c.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jan 2015 16:18:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/5606S-problem-when-return-from-standby/m-p/344222#M423</guid>
      <dc:creator>miquel_soler</dc:creator>
      <dc:date>2015-01-14T16:18:24Z</dc:date>
    </item>
    <item>
      <title>Re: 5606S problem when return from standby</title>
      <link>https://community.nxp.com/t5/MPC5xxx/5606S-problem-when-return-from-standby/m-p/344223#M424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: .0001pt;"&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;be sure all wake up flags are really cleared before going to low power mode.&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;Also you should set pull-ups to all wake up sources, so use WKUP.WIPUER.R = 0x001FFFFF;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;Regards&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;Petr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2015 12:38:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/5606S-problem-when-return-from-standby/m-p/344223#M424</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2015-01-19T12:38:36Z</dc:date>
    </item>
    <item>
      <title>Re: 5606S problem when return from standby</title>
      <link>https://community.nxp.com/t5/MPC5xxx/5606S-problem-when-return-from-standby/m-p/344224#M425</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;The two wake-up inputs are pulled down externally.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In line 195 before to enter into standby mode, the wake up flag are cleaned.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2015 16:00:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/5606S-problem-when-return-from-standby/m-p/344224#M425</guid>
      <dc:creator>miquel_soler</dc:creator>
      <dc:date>2015-01-19T16:00:27Z</dc:date>
    </item>
  </channel>
</rss>

