<?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: Can't receive data on EP0 in control transfer for HID class</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Can-t-receive-data-on-EP0-in-control-transfer-for-HID-class/m-p/257970#M7708</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems like the _usb_device_recv_data() sets up for the next receive, which I expect to be EP0 OUT transaction (Host to my device).&amp;nbsp; The USB sniffer shows this packet is acked, so where does it go in the stack?&amp;nbsp; Since it is on EP0, shouldn't I see this in the USB_Control_Service() function?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Aug 2013 23:31:01 GMT</pubDate>
    <dc:creator>chuckh</dc:creator>
    <dc:date>2013-08-15T23:31:01Z</dc:date>
    <item>
      <title>Can't receive data on EP0 in control transfer for HID class</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Can-t-receive-data-on-EP0-in-control-transfer-for-HID-class/m-p/257969#M7707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My application is supposed to receive a 64 byte packet on EP0 in the form of a SET REPORT.&amp;nbsp; There is code in usb_framework.c in&amp;nbsp; USB_Control_Service() for class requests with non-zero size that calls _usb_device_recv_data().&amp;nbsp; However, when this function is called, my data buffer is not updated.&amp;nbsp; I added code to call _usb_device_get_transfer_status() after _usb_device_recv_data() and find that this function returns USB_STATUS_TRANSFER_IN_PROGRESS indefinitely.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I missing a call to another function to service the USB or perhaps there is something else I am missing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help will be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Aug 2013 21:58:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Can-t-receive-data-on-EP0-in-control-transfer-for-HID-class/m-p/257969#M7707</guid>
      <dc:creator>chuckh</dc:creator>
      <dc:date>2013-08-15T21:58:45Z</dc:date>
    </item>
    <item>
      <title>Re: Can't receive data on EP0 in control transfer for HID class</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Can-t-receive-data-on-EP0-in-control-transfer-for-HID-class/m-p/257970#M7708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems like the _usb_device_recv_data() sets up for the next receive, which I expect to be EP0 OUT transaction (Host to my device).&amp;nbsp; The USB sniffer shows this packet is acked, so where does it go in the stack?&amp;nbsp; Since it is on EP0, shouldn't I see this in the USB_Control_Service() function?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Aug 2013 23:31:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Can-t-receive-data-on-EP0-in-control-transfer-for-HID-class/m-p/257970#M7708</guid>
      <dc:creator>chuckh</dc:creator>
      <dc:date>2013-08-15T23:31:01Z</dc:date>
    </item>
    <item>
      <title>Re: Can't receive data on EP0 in control transfer for HID class</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Can-t-receive-data-on-EP0-in-control-transfer-for-HID-class/m-p/257971#M7709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I figured out that the LONG_RECEIVE_TRANSACTION and LONG_SEND_TRANSACTION defines were messing me up.&amp;nbsp; Once I changed the Max Packet to 64 and removed these defines, it seems to be working fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Aug 2013 18:03:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Can-t-receive-data-on-EP0-in-control-transfer-for-HID-class/m-p/257971#M7709</guid>
      <dc:creator>chuckh</dc:creator>
      <dc:date>2013-08-16T18:03:58Z</dc:date>
    </item>
  </channel>
</rss>

