<?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 DEMOJM Board USB Resume Issue in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/DEMOJM-Board-USB-Resume-Issue/m-p/188201#M14261</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using MC9S08JM60 with DEMOJM board. It seems there is a problem with HID mouse example code in the disk.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;HID mouse code works well when I connect the board to PC. But if I set PC to standby mode and then back to normal mode, device is not resumed successfully. Digged into the code, I found that &lt;STRONG&gt;MCU went back to STOP3 mode after failed waiting for RESUMEF&lt;/STRONG&gt; which is supposed to be valid at that time. After that MCU will never come back to normal mode. Onlyl if I change the code to not go to STOP3 mode again if the RESUMEF is not valid, then it works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have also measured the external clock signal. When the USB resume signal triggered MCU from STOP3 to normal mode, there is no output from external clock. I guess MCU went to STOP3 mode again before successfully switch clock.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What caused USB resume fail? Is it because of the clock issue? How to solve this properly?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Huachun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Aug 2012 17:39:39 GMT</pubDate>
    <dc:creator>huachun</dc:creator>
    <dc:date>2012-08-13T17:39:39Z</dc:date>
    <item>
      <title>DEMOJM Board USB Resume Issue</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/DEMOJM-Board-USB-Resume-Issue/m-p/188201#M14261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using MC9S08JM60 with DEMOJM board. It seems there is a problem with HID mouse example code in the disk.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;HID mouse code works well when I connect the board to PC. But if I set PC to standby mode and then back to normal mode, device is not resumed successfully. Digged into the code, I found that &lt;STRONG&gt;MCU went back to STOP3 mode after failed waiting for RESUMEF&lt;/STRONG&gt; which is supposed to be valid at that time. After that MCU will never come back to normal mode. Onlyl if I change the code to not go to STOP3 mode again if the RESUMEF is not valid, then it works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have also measured the external clock signal. When the USB resume signal triggered MCU from STOP3 to normal mode, there is no output from external clock. I guess MCU went to STOP3 mode again before successfully switch clock.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What caused USB resume fail? Is it because of the clock issue? How to solve this properly?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Huachun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Aug 2012 17:39:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/DEMOJM-Board-USB-Resume-Issue/m-p/188201#M14261</guid>
      <dc:creator>huachun</dc:creator>
      <dc:date>2012-08-13T17:39:39Z</dc:date>
    </item>
  </channel>
</rss>

