<?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 USB 4.0.3 CDC HOST doesn't receive data in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-4-0-3-CDC-HOST-doesn-t-receive-data/m-p/248597#M6837</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I modified the example from "...\Freescale USB Stack v4.0.3\Source\Host\examples\cdc_serial\cw10\kinetis_l2k" to use it with openSDA on FRDM-KL25Z.&lt;/P&gt;&lt;P&gt;I can send data from Host to CDC device but not from Device to HOST. It doesn't works. Host doesn't receive nothing.&lt;/P&gt;&lt;P&gt;Function&amp;nbsp; _io_cdc_serial_read always return 0.&lt;/P&gt;&lt;P&gt;If I connect the device to a PC,&amp;nbsp; I can see in the hyperterminal the data sent, so the problem seems to be on the host.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need change any specific register initialization code?&lt;/P&gt;&lt;P&gt;This example works correctly in TWRMKL25z ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Feb 2013 07:50:50 GMT</pubDate>
    <dc:creator>pedropol</dc:creator>
    <dc:date>2013-02-06T07:50:50Z</dc:date>
    <item>
      <title>USB 4.0.3 CDC HOST doesn't receive data</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-4-0-3-CDC-HOST-doesn-t-receive-data/m-p/248597#M6837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I modified the example from "...\Freescale USB Stack v4.0.3\Source\Host\examples\cdc_serial\cw10\kinetis_l2k" to use it with openSDA on FRDM-KL25Z.&lt;/P&gt;&lt;P&gt;I can send data from Host to CDC device but not from Device to HOST. It doesn't works. Host doesn't receive nothing.&lt;/P&gt;&lt;P&gt;Function&amp;nbsp; _io_cdc_serial_read always return 0.&lt;/P&gt;&lt;P&gt;If I connect the device to a PC,&amp;nbsp; I can see in the hyperterminal the data sent, so the problem seems to be on the host.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need change any specific register initialization code?&lt;/P&gt;&lt;P&gt;This example works correctly in TWRMKL25z ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2013 07:50:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-4-0-3-CDC-HOST-doesn-t-receive-data/m-p/248597#M6837</guid>
      <dc:creator>pedropol</dc:creator>
      <dc:date>2013-02-06T07:50:50Z</dc:date>
    </item>
    <item>
      <title>Re: USB 4.0.3 CDC HOST doesn't receive data</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-4-0-3-CDC-HOST-doesn-t-receive-data/m-p/248598#M6838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the &lt;STRONG&gt;usb_class_cdc_set_acm_ctrl_state()&lt;/STRONG&gt; function, at lines&lt;STRONG&gt; 350 / 351&lt;/STRONG&gt; if_acm_ptr-&amp;gt;ctrl_state.bmStates[&lt;STRONG&gt;1&lt;/STRONG&gt;] should be changed with if_acm_ptr-&amp;gt;ctrl_state.bmStates[&lt;STRONG&gt;0&lt;/STRONG&gt;]. The problem was that the state was sent on the usb in big endian instead of little endian.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Feb 2013 22:23:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-4-0-3-CDC-HOST-doesn-t-receive-data/m-p/248598#M6838</guid>
      <dc:creator>florintoma</dc:creator>
      <dc:date>2013-02-10T22:23:46Z</dc:date>
    </item>
  </channel>
</rss>

