<?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 Re: Missing definitions and need help with USB_LDD in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Missing-definitions-and-need-help-with-USB-LDD/m-p/216284#M3771</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have downloadable USB AUDIO code without MQX?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;RIchard.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Jan 2012 01:25:42 GMT</pubDate>
    <dc:creator>T_M_F</dc:creator>
    <dc:date>2012-01-05T01:25:42Z</dc:date>
    <item>
      <title>Missing definitions and need help with USB_LDD</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Missing-definitions-and-need-help-with-USB-LDD/m-p/216279#M3766</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;I tried to use USB Logical Device Driver (USB_LDD) in device mode together with MQX and KwikStik. All documents about USB_LDD and code segments that I can find &amp;nbsp;are in help content&amp;nbsp;of Processor Expert Manuals, so I copied those code segments&amp;nbsp;from Typical Usage section,&amp;nbsp;and then got the following compilation errors:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;undefined identifier 'USB_Device_SET_ADDRESS'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;﻿﻿&lt;/P&gt;&lt;P&gt;undefined identifier 'LDD_USB_TSetAddressRequest'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;undefined identifier 'MAX_INTERFACE_NUMBER'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;undefined identifier 'MAX_EP_IDX'&lt;/P&gt;&lt;P&gt;etc&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;FONT size="2"&gt;&lt;FONT size="2"&gt;&lt;FONT size="2"&gt;&lt;FONT size="2"&gt;&lt;FONT size="2"&gt;I searched in all files of CW10 and MQX 3.7, and could not find definition of USB_Device_SET_ADDRESS, therefore it looks like that there are support files missing for USB_LDD.&amp;nbsp;It seems not possible for me to proceed further.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;FONT size="2"&gt;&lt;FONT size="2"&gt;&lt;FONT size="2"&gt;&lt;FONT size="2"&gt;&lt;FONT size="2"&gt;&lt;FONT size="2"&gt;&lt;FONT size="2"&gt;&lt;FONT size="2"&gt;﻿&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;FONT size="2"&gt;&lt;FONT size="2"&gt;﻿&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;May Freescale please give an example of using USB_LDD in device mode together with MQX and Kinetis, or any example of&amp;nbsp;using USB_LDD in device mode? There must exist some code to test USB_LDD when USB_LDD was developed.&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;FONT size="2"&gt;&lt;FONT size="2"&gt;﻿&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;FONT size="2"&gt;&lt;FONT size="2"&gt;﻿&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;FONT size="2"&gt;&lt;FONT size="2"&gt;﻿&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;bobf&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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>Tue, 21 Jun 2011 04:12:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Missing-definitions-and-need-help-with-USB-LDD/m-p/216279#M3766</guid>
      <dc:creator>bobf</dc:creator>
      <dc:date>2011-06-21T04:12:26Z</dc:date>
    </item>
    <item>
      <title>Re: Missing definitions and need help with USB_LDD</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Missing-definitions-and-need-help-with-USB-LDD/m-p/216280#M3767</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;The USB Logical Device Driver (USB_LDD) is low-level&amp;nbsp; diver. It is not full USB stack but is intended to provide uniform access to the USB hardware.&lt;BR /&gt;In device mode it provides methods to configure Endpoints (DeviceInitEndpoint(..), ..), methods to transfer data through these endpoints (DeviceSendData(...), DeviceRecvData(), ..) and a few methods needed by device configuration and power management.&lt;/P&gt;&lt;P&gt;Bulk, Interrupt and Isochronous endpoint are unidirectional = can be either IN&amp;nbsp; or OUT -&amp;gt; either DeviceSendData () or DeviceRecvData() can be used in time.&lt;BR /&gt;Control endpoint is bidirectional = Both methods DeviceSendData () or DeviceRecvData() are required and these methods must be called by the user from OnDeviceSetupPacket() event.&lt;BR /&gt;It is user responsibilty to decode received setup data packet and provide correct response. On typical usage page you can fine code sceleton how to handle OnDeviceSetupPacket() event but the code is application specific e.g. constant MAX_INTERFACE_NUMBER should contain maximal interface number in current configuration etc.&lt;/P&gt;&lt;P&gt;Currently, we are preparing demo projects for USB (e.g. USB mass storage, USB audio device, USB human interface device).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;Jiri Rezler&lt;BR /&gt;Processor Support Team&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2011 18:52:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Missing-definitions-and-need-help-with-USB-LDD/m-p/216280#M3767</guid>
      <dc:creator>ProcessorExpert</dc:creator>
      <dc:date>2011-06-22T18:52:06Z</dc:date>
    </item>
    <item>
      <title>Re: Missing definitions and need help with USB_LDD</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Missing-definitions-and-need-help-with-USB-LDD/m-p/216281#M3768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jiri,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;what do you think, how long it takes to get a complete running demo project on USB. For example sendingand receiving strings for a terminal program on PC ?&lt;/P&gt;&lt;P&gt;Best regard Volker&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2011 15:02:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Missing-definitions-and-need-help-with-USB-LDD/m-p/216281#M3768</guid>
      <dc:creator>addy2000</dc:creator>
      <dc:date>2011-06-23T15:02:55Z</dc:date>
    </item>
    <item>
      <title>Re: Missing definitions and need help with USB_LDD</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Missing-definitions-and-need-help-with-USB-LDD/m-p/216282#M3769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, please find enclosed project that was used in the past to test the USB LDD component.&amp;nbsp; It could help you with your development. Please note that this project is not official demo project and not all features of the USB_LDD component are used here. We are preparing a few USB demo projects that should be part of the next release.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2011 05:00:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Missing-definitions-and-need-help-with-USB-LDD/m-p/216282#M3769</guid>
      <dc:creator>MVa</dc:creator>
      <dc:date>2011-07-08T05:00:04Z</dc:date>
    </item>
    <item>
      <title>Re: Missing definitions and need help with USB_LDD</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Missing-definitions-and-need-help-with-USB-LDD/m-p/216283#M3770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi MVa,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot for providing the demo code. I moved on to hack USB PHDC example code, and made a little bit progress there. Anyway, I really appreciate your help here!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BTW, I wish there would be a USB demo project for USB Test and Measurement Class. The reason is that Kinetis MCUs have mixed signal capability, and there is need to transfer ADC results to host via USB.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;bobf&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, 14 Jul 2011 23:49:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Missing-definitions-and-need-help-with-USB-LDD/m-p/216283#M3770</guid>
      <dc:creator>bobf</dc:creator>
      <dc:date>2011-07-14T23:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: Missing definitions and need help with USB_LDD</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Missing-definitions-and-need-help-with-USB-LDD/m-p/216284#M3771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have downloadable USB AUDIO code without MQX?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;RIchard.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2012 01:25:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Missing-definitions-and-need-help-with-USB-LDD/m-p/216284#M3771</guid>
      <dc:creator>T_M_F</dc:creator>
      <dc:date>2012-01-05T01:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: Missing definitions and need help with USB_LDD</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Missing-definitions-and-need-help-with-USB-LDD/m-p/216285#M3772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marek&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you send me the example code for USB_LDD? (and/or any code that uses the USB_LDD module), I would be interested as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know if the USB module on MK22FN512VLH12 has what it takes to detect VBus when it is used as a device? I tried to read the AVBUSVLD bit of OTGSTAT, but that does not seem to work... Or should I use a separate GPIO for that purpose?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bruno&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2014 16:26:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Missing-definitions-and-need-help-with-USB-LDD/m-p/216285#M3772</guid>
      <dc:creator>brunopaillard</dc:creator>
      <dc:date>2014-12-02T16:26:28Z</dc:date>
    </item>
    <item>
      <title>Re: Missing definitions and need help with USB_LDD</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Missing-definitions-and-need-help-with-USB-LDD/m-p/216286#M3773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marek,&lt;BR /&gt;I need a demo code for USB_LDD. &lt;BR /&gt;I could not find the attachment. If possible can you send it again?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2016 14:52:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Missing-definitions-and-need-help-with-USB-LDD/m-p/216286#M3773</guid>
      <dc:creator>kirantujare</dc:creator>
      <dc:date>2016-08-30T14:52:11Z</dc:date>
    </item>
  </channel>
</rss>

