<?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>ColdFire/68K Microcontrollers and ProcessorsのトピックMCF52259 as USB device</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF52259-as-USB-device/m-p/177567#M7061</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am now using MCF52259 as an USB device .&amp;nbsp; It's the first time to use usb&amp;nbsp;peripheral .I am a little confused about the meaning of&amp;nbsp; tok_dne bit .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If&amp;nbsp; this bit is set only after receiving a token packet ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example if it's an out token ,&amp;nbsp; what will happen after receiving a data packet from the host&amp;nbsp; ?&amp;nbsp; A bit will be set to indicate the receiving of a data packet ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also , if the device wants to send a status packet . What will the device do ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks a lot .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-email-small" href="mailto:tangxinzhou@gmail.com"&gt;tangxinzhou@gmail.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Oct 2011 13:47:23 GMT</pubDate>
    <dc:creator>xinzhoutang</dc:creator>
    <dc:date>2011-10-27T13:47:23Z</dc:date>
    <item>
      <title>MCF52259 as USB device</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF52259-as-USB-device/m-p/177567#M7061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am now using MCF52259 as an USB device .&amp;nbsp; It's the first time to use usb&amp;nbsp;peripheral .I am a little confused about the meaning of&amp;nbsp; tok_dne bit .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If&amp;nbsp; this bit is set only after receiving a token packet ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example if it's an out token ,&amp;nbsp; what will happen after receiving a data packet from the host&amp;nbsp; ?&amp;nbsp; A bit will be set to indicate the receiving of a data packet ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also , if the device wants to send a status packet . What will the device do ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks a lot .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-email-small" href="mailto:tangxinzhou@gmail.com"&gt;tangxinzhou@gmail.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2011 13:47:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF52259-as-USB-device/m-p/177567#M7061</guid>
      <dc:creator>xinzhoutang</dc:creator>
      <dc:date>2011-10-27T13:47:23Z</dc:date>
    </item>
    <item>
      <title>Re: MCF52259 as USB device</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF52259-as-USB-device/m-p/177568#M7062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The tok_dne bit means that a token has completed. Depending on whether the pipe is an IN or OUT pipe determines which direction it is, but the TX_TRANSACTION bit in the STAT register will also indicate the direction (an IN transaction will have this set to 0).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When the user wants to send data (or zero data) the Tx buffer descriptor needs to be set up and the OWN bt set so that the device then sends the content. Otherwise the controller handles all tokens like ACK and NAK automatically.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See also &lt;A href="http://www.utasker.com/docs/uTasker/USB_User_Guide.PDF" rel="nofollow" target="_blank"&gt;http://www.utasker.com/docs/uTasker/USB_User_Guide.PDF&lt;/A&gt; (there is some M522XX specific stuff in the appendix).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2011 23:42:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF52259-as-USB-device/m-p/177568#M7062</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2011-10-27T23:42:53Z</dc:date>
    </item>
  </channel>
</rss>

