<?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: [MQX LOWPOWER] Issue with CAN wakeup source on STOP mode in Vybrid Processors</title>
    <link>https://community.nxp.com/t5/Vybrid-Processors/MQX-LOWPOWER-Issue-with-CAN-wakeup-source-on-STOP-mode/m-p/298207#M2579</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;(updated)&lt;/P&gt;&lt;P&gt;Dear Toan,&lt;/P&gt;&lt;P&gt;It looks like we had a STOP mode question some time ago.&lt;/P&gt;&lt;P&gt;Please, try using the attached code by &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/rendy"&gt;rendy&lt;/A&gt;, which worked well in the past. - It is not related to CAN, just proper control of the STOP mode itself.&lt;/P&gt;&lt;P&gt;Sincerely, Naoum Gitnik.&lt;/P&gt;&lt;P&gt;(&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/timesyssupport"&gt;timesyssupport&lt;/A&gt; - FYI)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 May 2014 18:36:48 GMT</pubDate>
    <dc:creator>naoumgitnik</dc:creator>
    <dc:date>2014-05-20T18:36:48Z</dc:date>
    <item>
      <title>[MQX LOWPOWER] Issue with CAN wakeup source on STOP mode</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/MQX-LOWPOWER-Issue-with-CAN-wakeup-source-on-STOP-mode/m-p/298201#M2573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Issue Description:&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I configured CAN module as wakeup source from STOP mode as following:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;1- Init Flexcan 1 Module in Core A5 &amp;amp; config clock gate for CAN1 is on during all modes, even STOP mode. (by setCCM_CCGR9[CG148/Flexcan1] to 10b)&lt;/P&gt;&lt;P&gt;2- Config CAN1 interrupt to wake up from STOP mode (by clear bit No.27 (Flexcan 1) in GPC_IMR2 register to enable Flexcan 1 interrupt as source of wake-up from STOP mode - Please refer Vybrid Reference Manual F-Series. Index 15.3.5 Interrupt Mask Register 2 (GPC_IMR2) - pages 757)&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3- set Core A5 to STOP mode&lt;/P&gt;&lt;P&gt;4- send CAN frame from CANoe to generate CAN 1's interrupt (to wake Core A5 up)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Result: Core A5 is still on STOP mode --&amp;gt; The above configuration is not effective.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Note:&lt;/P&gt;&lt;P&gt; + In case Core A5 is set to WAIT mode in step 3;&amp;nbsp; the Core A5 is wake up when CAN frame is sent.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In summary:&lt;/P&gt;&lt;P&gt; - CAN Interrupt can&lt;STRONG&gt; wake up A5 core from WAIT mode&lt;/STRONG&gt; but &lt;STRONG&gt;cannot wake-up the processor from STOP mode&lt;/STRONG&gt;. Is it a hardware issue or flexcan module is not designed as wakeup source from STOP mode !?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&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-339057"&gt;canwakeup-issue.txt.zip&lt;/A&gt;&lt;/STRONG&gt;&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-339057"&gt;CAN_LPM_Project.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 May 2014 06:57:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/MQX-LOWPOWER-Issue-with-CAN-wakeup-source-on-STOP-mode/m-p/298201#M2573</guid>
      <dc:creator>toanlengoc</dc:creator>
      <dc:date>2014-05-15T06:57:18Z</dc:date>
    </item>
    <item>
      <title>Re: [MQX LOWPOWER] Issue with CAN wakeup source on STOP mode</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/MQX-LOWPOWER-Issue-with-CAN-wakeup-source-on-STOP-mode/m-p/298202#M2574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/timesyssupport"&gt;timesyssupport&lt;/A&gt; can you&amp;nbsp; help here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 May 2014 16:45:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/MQX-LOWPOWER-Issue-with-CAN-wakeup-source-on-STOP-mode/m-p/298202#M2574</guid>
      <dc:creator>karina_valencia</dc:creator>
      <dc:date>2014-05-16T16:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: [MQX LOWPOWER] Issue with CAN wakeup source on STOP mode</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/MQX-LOWPOWER-Issue-with-CAN-wakeup-source-on-STOP-mode/m-p/298203#M2575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Toan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your program, CCM_CCGR9[CG148] is set to 11b (Clock is on during all modes, &lt;STRONG&gt;except&lt;/STRONG&gt; stop mode.), not 10b. This is reflected in the program output in your attached .docx file:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CCM_CCGR9 = 0x3f052&lt;STRONG&gt;3&lt;/STRONG&gt;44&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please ensure that this register contains the value 0x3f052&lt;STRONG&gt;2&lt;/STRONG&gt;44, then try waking up from STOP mode with FlexCAN1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Timesys Support&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 May 2014 19:14:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/MQX-LOWPOWER-Issue-with-CAN-wakeup-source-on-STOP-mode/m-p/298203#M2575</guid>
      <dc:creator>timesyssupport</dc:creator>
      <dc:date>2014-05-19T19:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: [MQX LOWPOWER] Issue with CAN wakeup source on STOP mode</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/MQX-LOWPOWER-Issue-with-CAN-wakeup-source-on-STOP-mode/m-p/298204#M2576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Timesys Support,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I configured as you recommend, but the processor cannot be able to wake up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as I know, when you disable clock on stop mode; the peripheral module is disable --&amp;gt; No interrupt (for this module) is generated in STOP mode --&amp;gt; it's not able to wake up processor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see attached file for details.You can see that when the clock for Flexcan is disable, the CAN signal is lost in CANoe (It's different than flexcan clock is enable in STOP mode.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;ToanLN&lt;span class="lia-inline-image-display-wrapper" image-alt="canwakeup_issue.PNG.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/43707iC9465737BEB744AA/image-size/large?v=v2&amp;amp;px=999" role="button" title="canwakeup_issue.PNG.png" alt="canwakeup_issue.PNG.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 May 2014 07:23:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/MQX-LOWPOWER-Issue-with-CAN-wakeup-source-on-STOP-mode/m-p/298204#M2576</guid>
      <dc:creator>toanlengoc</dc:creator>
      <dc:date>2014-05-20T07:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: [MQX LOWPOWER] Issue with CAN wakeup source on STOP mode</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/MQX-LOWPOWER-Issue-with-CAN-wakeup-source-on-STOP-mode/m-p/298205#M2577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Toan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have set CCM_CCGR9[CG148/Flexcan1] to 10b, then I am unsure why you are unable to wakeup from STOP mode. I did notice that there appears to be a typo in your source where you attempt to print CCM_CCGR9 (line 26 at CAN_LPM_Project/mqx/examples/can/flexcan_lpm_demo/fsl_lowpower.c), so I do not think we are seeing the true value of the register in your application output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does the Freescale Vybrid Design team have any input on this issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Timesys Support&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 May 2014 17:08:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/MQX-LOWPOWER-Issue-with-CAN-wakeup-source-on-STOP-mode/m-p/298205#M2577</guid>
      <dc:creator>timesyssupport</dc:creator>
      <dc:date>2014-05-20T17:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: [MQX LOWPOWER] Issue with CAN wakeup source on STOP mode</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/MQX-LOWPOWER-Issue-with-CAN-wakeup-source-on-STOP-mode/m-p/298206#M2578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/naoumgitnik"&gt;naoumgitnik&lt;/A&gt; can you comment please?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 May 2014 17:17:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/MQX-LOWPOWER-Issue-with-CAN-wakeup-source-on-STOP-mode/m-p/298206#M2578</guid>
      <dc:creator>karina_valencia</dc:creator>
      <dc:date>2014-05-20T17:17:46Z</dc:date>
    </item>
    <item>
      <title>Re: [MQX LOWPOWER] Issue with CAN wakeup source on STOP mode</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/MQX-LOWPOWER-Issue-with-CAN-wakeup-source-on-STOP-mode/m-p/298207#M2579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;(updated)&lt;/P&gt;&lt;P&gt;Dear Toan,&lt;/P&gt;&lt;P&gt;It looks like we had a STOP mode question some time ago.&lt;/P&gt;&lt;P&gt;Please, try using the attached code by &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/rendy"&gt;rendy&lt;/A&gt;, which worked well in the past. - It is not related to CAN, just proper control of the STOP mode itself.&lt;/P&gt;&lt;P&gt;Sincerely, Naoum Gitnik.&lt;/P&gt;&lt;P&gt;(&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/timesyssupport"&gt;timesyssupport&lt;/A&gt; - FYI)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 May 2014 18:36:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/MQX-LOWPOWER-Issue-with-CAN-wakeup-source-on-STOP-mode/m-p/298207#M2579</guid>
      <dc:creator>naoumgitnik</dc:creator>
      <dc:date>2014-05-20T18:36:48Z</dc:date>
    </item>
  </channel>
</rss>

