<?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中的主题 Reset of the USB stack on card FRDM-K22F</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Reset-of-the-USB-stack-on-card-FRDM-K22F/m-p/828225#M50042</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;PRE class="" data-fulltext="" data-placeholder="Traduction" dir="ltr" style="text-align: left; height: 360px;"&gt;&lt;SPAN lang="en"&gt;Hello, &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
Me &amp;amp; my team are currently developing a system using FRDM-K22F test cards. 
The work in 'HIGH-SPEED' is necessary for the proper functioning of our application.
Still, we have to slow down to 'LOW-SPEED' to write in FLASH. 
This reduction of the speed induces a reset of the USB stack which create many communication problems with our HMI.
Currently we are looking for a way around this problem, but it is difficult.
Do you have any advice to give us?

Thanks in advance community,

&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Oct 2018 13:15:10 GMT</pubDate>
    <dc:creator>celine_tiraby</dc:creator>
    <dc:date>2018-10-05T13:15:10Z</dc:date>
    <item>
      <title>Reset of the USB stack on card FRDM-K22F</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Reset-of-the-USB-stack-on-card-FRDM-K22F/m-p/828225#M50042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;PRE class="" data-fulltext="" data-placeholder="Traduction" dir="ltr" style="text-align: left; height: 360px;"&gt;&lt;SPAN lang="en"&gt;Hello, &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
Me &amp;amp; my team are currently developing a system using FRDM-K22F test cards. 
The work in 'HIGH-SPEED' is necessary for the proper functioning of our application.
Still, we have to slow down to 'LOW-SPEED' to write in FLASH. 
This reduction of the speed induces a reset of the USB stack which create many communication problems with our HMI.
Currently we are looking for a way around this problem, but it is difficult.
Do you have any advice to give us?

Thanks in advance community,

&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2018 13:15:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Reset-of-the-USB-stack-on-card-FRDM-K22F/m-p/828225#M50042</guid>
      <dc:creator>celine_tiraby</dc:creator>
      <dc:date>2018-10-05T13:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: Reset of the USB stack on card FRDM-K22F</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Reset-of-the-USB-stack-on-card-FRDM-K22F/m-p/828226#M50043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Céline&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am assuming that with HIGH SPEED you mean "HSRUN mode and with LOW SPEED you mean normal RUN mode (rather than high speed and low speed USB). HSRUN is up to 12oMHz on the K22 used in the FRDM-K22F circuit and RUN mode is up to 80MHz.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In HSRUN mode flash programming is not possible so I assume that you are temporarily switching to 80MHz and this is disturbing your USB clock settings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To avoid disturbing the USB clock you could run USB in crystal-less mode (derived from the 48MHz IRC) in device mode and thus maintain a constant clock to it. Alternatively, USB can be clocked from an external source (needing an additional oscillator) which would allow both device and host modes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For production - note that not all K22s have HSRUN mode - there are some K22 parts that can operate to 120Mz in RUN mode and such a part may be more suitable for your final application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For less questions and faster, cheaper developments: try uTasker for Kinetis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2018 17:21:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Reset-of-the-USB-stack-on-card-FRDM-K22F/m-p/828226#M50043</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2018-10-05T17:21:41Z</dc:date>
    </item>
    <item>
      <title>Re: Reset of the USB stack on card FRDM-K22F</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Reset-of-the-USB-stack-on-card-FRDM-K22F/m-p/828227#M50044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mark,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your response.&lt;/P&gt;&lt;P&gt;But we are already in cyrstal-less mode. We suspect a problem in the stack usb itself, we have seen that the port stays open but the stack is never refreshed (no interruption anymore). Realterm is used for the send of message, but when we try to send message, it notifies 'transmition error'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Oct 2018 08:58:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Reset-of-the-USB-stack-on-card-FRDM-K22F/m-p/828227#M50044</guid>
      <dc:creator>celine_tiraby</dc:creator>
      <dc:date>2018-10-10T08:58:55Z</dc:date>
    </item>
    <item>
      <title>Re: Reset of the USB stack on card FRDM-K22F</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Reset-of-the-USB-stack-on-card-FRDM-K22F/m-p/828228#M50045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Céline&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use the uTasker USB stack and so don't have issues&lt;BR /&gt;For other stacks you will need to contact their manufacturer since they may be sensitive.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Oct 2018 15:26:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Reset-of-the-USB-stack-on-card-FRDM-K22F/m-p/828228#M50045</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2018-10-10T15:26:54Z</dc:date>
    </item>
    <item>
      <title>Re: Reset of the USB stack on card FRDM-K22F</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Reset-of-the-USB-stack-on-card-FRDM-K22F/m-p/828229#M50046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mark,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your answer.&lt;/P&gt;&lt;P&gt;It seems we have figure out the problem. We did some configurations twice and that induced a reset of the stack.&lt;/P&gt;&lt;P&gt;The problem is solved now. Thank you for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2018 07:20:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Reset-of-the-USB-stack-on-card-FRDM-K22F/m-p/828229#M50046</guid>
      <dc:creator>celine_tiraby</dc:creator>
      <dc:date>2018-10-11T07:20:46Z</dc:date>
    </item>
  </channel>
</rss>

