<?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>Kinetis MicrocontrollersのトピックRe: USB Suspend-Resume Management on MK22FN512?</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-Suspend-Resume-Management-on-MK22FN512/m-p/389263#M21118</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bruno,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will try to answer your questions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;nbsp;&amp;nbsp;&amp;nbsp; Does the USB module behave well if the MCU is put in STOP mode without any precaution (DEEPSLEEP)?&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Regarding the table 7-2 of the RM the USB registers remains static in the STOP mode this means that once the system returns to RUN mode the registers will have the same values before the STOP mode entering. The process of going to STOP modes is normal. Please refer to one of this Application Notes &lt;A href="http://cache.freescale.com/files/32bit/doc/app_note/AN4503.pdf" title="http://cache.freescale.com/files/32bit/doc/app_note/AN4503.pdf"&gt;AN4503&lt;/A&gt; and &lt;A href="http://cache.freescale.com/files/microcontrollers/doc/app_note/AN4470.pdf" title="http://cache.freescale.com/files/microcontrollers/doc/app_note/AN4470.pdf"&gt;AN4470&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;-&amp;nbsp;&amp;nbsp;&amp;nbsp; If the MCU is put in STOP mode what happens with the IRC48 USB clock (does it stop?)&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Regarding the section 5.7.2 the IRC 48 MHz clock is availabel in High Speed Run, Run, WAIT and Stop modes of operation.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;-&amp;nbsp;&amp;nbsp;&amp;nbsp; If the MCU is put in STOP mode what happens with the USB regulator?&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The operation of the USB Voltage Regulator is optional while the different Low power modes (Table 7-2). The SIM_SOPT1[USBSSTBY] and SIM_SOPT1[USBVSTBY] field controls when the regulator is in standby mode.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;-&amp;nbsp;&amp;nbsp;&amp;nbsp; Is there some pre-configuration to do before putting the MCU in STOP?&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Please refer to the Application Notes mentioned before.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;-&amp;nbsp;&amp;nbsp;&amp;nbsp; The reference manual indicates that the USB transceiver should be put in suspend before enabling the asynchronous resume interrupt,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; but when I do that the USB module does not wake up functional!&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I am not really sure about this but I will try to find some useful information. You may find useful this Application Note &lt;A href="http://cache.freescale.com/files/microcontrollers/doc/app_note/AN4905.pdf" title="http://cache.freescale.com/files/microcontrollers/doc/app_note/AN4905.pdf"&gt;AN4905&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;-&amp;nbsp;&amp;nbsp;&amp;nbsp; Is there some post-configuration to do at resume, after the MCU wakes up?&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;As far as I know is the normal process to resume operational modes. Please refer to the Application notes mentioned before.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;BR /&gt;Hope this information can help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;BR /&gt;Adrian Sanchez Cano&lt;BR /&gt;Technical Support Engineer&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Jan 2015 18:14:48 GMT</pubDate>
    <dc:creator>adriancano</dc:creator>
    <dc:date>2015-01-09T18:14:48Z</dc:date>
    <item>
      <title>USB Suspend-Resume Management on MK22FN512?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-Suspend-Resume-Management-on-MK22FN512/m-p/389262#M21117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Is there an example that shows how to manage the suspend and resume events on the MK22FN512 (or other MCU with the same USB module) in order to comply with the USB spec (Icc&amp;lt;2.5mA)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Does the USB module behave well if the MCU is put in STOP mode without any precaution (DEEPSLEEP)?&lt;/P&gt;&lt;P&gt;-&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If the MCU is put in STOP mode what happens with the IRC48 USB clock (does it stop?)&lt;/P&gt;&lt;P&gt;-&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If the MCU is put in STOP mode what happens with the USB regulator?&lt;/P&gt;&lt;P&gt;-&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Is there some pre-configuration to do before putting the MCU in STOP?&lt;/P&gt;&lt;P&gt;-&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The reference manual indicates that the USB transceiver should be put in suspend before enabling the asynchronous resume interrupt, but when I do that the USB module does not wake up functional!&lt;/P&gt;&lt;P&gt;-&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Is there some post-configuration to do at resume, after the MCU wakes up?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...Some example would be welcome...!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 17:19:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-Suspend-Resume-Management-on-MK22FN512/m-p/389262#M21117</guid>
      <dc:creator>brunopaillard</dc:creator>
      <dc:date>2015-01-06T17:19:51Z</dc:date>
    </item>
    <item>
      <title>Re: USB Suspend-Resume Management on MK22FN512?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-Suspend-Resume-Management-on-MK22FN512/m-p/389263#M21118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bruno,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will try to answer your questions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;nbsp;&amp;nbsp;&amp;nbsp; Does the USB module behave well if the MCU is put in STOP mode without any precaution (DEEPSLEEP)?&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Regarding the table 7-2 of the RM the USB registers remains static in the STOP mode this means that once the system returns to RUN mode the registers will have the same values before the STOP mode entering. The process of going to STOP modes is normal. Please refer to one of this Application Notes &lt;A href="http://cache.freescale.com/files/32bit/doc/app_note/AN4503.pdf" title="http://cache.freescale.com/files/32bit/doc/app_note/AN4503.pdf"&gt;AN4503&lt;/A&gt; and &lt;A href="http://cache.freescale.com/files/microcontrollers/doc/app_note/AN4470.pdf" title="http://cache.freescale.com/files/microcontrollers/doc/app_note/AN4470.pdf"&gt;AN4470&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;-&amp;nbsp;&amp;nbsp;&amp;nbsp; If the MCU is put in STOP mode what happens with the IRC48 USB clock (does it stop?)&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Regarding the section 5.7.2 the IRC 48 MHz clock is availabel in High Speed Run, Run, WAIT and Stop modes of operation.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;-&amp;nbsp;&amp;nbsp;&amp;nbsp; If the MCU is put in STOP mode what happens with the USB regulator?&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The operation of the USB Voltage Regulator is optional while the different Low power modes (Table 7-2). The SIM_SOPT1[USBSSTBY] and SIM_SOPT1[USBVSTBY] field controls when the regulator is in standby mode.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;-&amp;nbsp;&amp;nbsp;&amp;nbsp; Is there some pre-configuration to do before putting the MCU in STOP?&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Please refer to the Application Notes mentioned before.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;-&amp;nbsp;&amp;nbsp;&amp;nbsp; The reference manual indicates that the USB transceiver should be put in suspend before enabling the asynchronous resume interrupt,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; but when I do that the USB module does not wake up functional!&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I am not really sure about this but I will try to find some useful information. You may find useful this Application Note &lt;A href="http://cache.freescale.com/files/microcontrollers/doc/app_note/AN4905.pdf" title="http://cache.freescale.com/files/microcontrollers/doc/app_note/AN4905.pdf"&gt;AN4905&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;-&amp;nbsp;&amp;nbsp;&amp;nbsp; Is there some post-configuration to do at resume, after the MCU wakes up?&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;As far as I know is the normal process to resume operational modes. Please refer to the Application notes mentioned before.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;BR /&gt;Hope this information can help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;BR /&gt;Adrian Sanchez Cano&lt;BR /&gt;Technical Support Engineer&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jan 2015 18:14:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-Suspend-Resume-Management-on-MK22FN512/m-p/389263#M21118</guid>
      <dc:creator>adriancano</dc:creator>
      <dc:date>2015-01-09T18:14:48Z</dc:date>
    </item>
    <item>
      <title>Re: USB Suspend-Resume Management on MK22FN512?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-Suspend-Resume-Management-on-MK22FN512/m-p/389264#M21119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Adrian&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for these answers. Regarding the question about the asynchronous resume interrupt being only enabled when the USB transceiver is suspended, maybe I am interpreting this wrong:&lt;/P&gt;&lt;P&gt;-&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The table at section 43.4.27 of the Ref Manual indicates about USBRESMEN: "This interrupt should only be enabled when the transceiver is in suspend". I interpreted that as to say I should put the transceiver in suspend (using the SUSP bit of USB0_USBCTRL) BEFORE enabling the asynchronous resume interrupt. But maybe it really means that the USB BUS should be in suspend (suspend-state detected on the bus) before the async resume interrupt is enabled...?&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;Bruno&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Jan 2015 19:20:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-Suspend-Resume-Management-on-MK22FN512/m-p/389264#M21119</guid>
      <dc:creator>brunopaillard</dc:creator>
      <dc:date>2015-01-11T19:20:16Z</dc:date>
    </item>
  </channel>
</rss>

