<?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 MK60F120M USB FS slow data transfer in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK60F120M-USB-FS-slow-data-transfer/m-p/661624#M40615</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In FSL USB 4.1.1, can someone please explain to me on why it takes so long (send 64 bytes) for the Callback function to be called? &amp;nbsp;attachment show the picture where the green line shows the data being transfer to the ring buffer, then, the purple line shows the data being transfer to the end point. &amp;nbsp;The yellow line shows the time when the call back is called. &amp;nbsp;I also have the register dump on USB0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it took quite a while for 64 bytes to complete the transfer. &amp;nbsp;I checked that the D+ line is pull high for FS (through the USB_OBSERVE register) and the USB0 control register is set correctly (see attachment). &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have been scratching my head to understand how the call back mechanism works and why it takes too long. &amp;nbsp;Can someone please advise me on how it works? &amp;nbsp;What i am missing here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the TWR_SER board, i put the jumper J16 to pin 3 - 4 for device mode, J10 on 1-2. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data transfer correctly for 8K bytes, but it is dawn slow. &amp;nbsp;I tracked down to the slowness caused by the wait time for each call back at each 64 byte chunk. &amp;nbsp;This transfer rate is even slower than LS.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Henry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Apr 2017 22:41:26 GMT</pubDate>
    <dc:creator>henrynguyen</dc:creator>
    <dc:date>2017-04-07T22:41:26Z</dc:date>
    <item>
      <title>MK60F120M USB FS slow data transfer</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK60F120M-USB-FS-slow-data-transfer/m-p/661624#M40615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In FSL USB 4.1.1, can someone please explain to me on why it takes so long (send 64 bytes) for the Callback function to be called? &amp;nbsp;attachment show the picture where the green line shows the data being transfer to the ring buffer, then, the purple line shows the data being transfer to the end point. &amp;nbsp;The yellow line shows the time when the call back is called. &amp;nbsp;I also have the register dump on USB0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it took quite a while for 64 bytes to complete the transfer. &amp;nbsp;I checked that the D+ line is pull high for FS (through the USB_OBSERVE register) and the USB0 control register is set correctly (see attachment). &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have been scratching my head to understand how the call back mechanism works and why it takes too long. &amp;nbsp;Can someone please advise me on how it works? &amp;nbsp;What i am missing here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the TWR_SER board, i put the jumper J16 to pin 3 - 4 for device mode, J10 on 1-2. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data transfer correctly for 8K bytes, but it is dawn slow. &amp;nbsp;I tracked down to the slowness caused by the wait time for each call back at each 64 byte chunk. &amp;nbsp;This transfer rate is even slower than LS.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Henry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Apr 2017 22:41:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK60F120M-USB-FS-slow-data-transfer/m-p/661624#M40615</guid>
      <dc:creator>henrynguyen</dc:creator>
      <dc:date>2017-04-07T22:41:26Z</dc:date>
    </item>
  </channel>
</rss>

