<?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のトピックusb_cdc k20</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/usb-cdc-k20/m-p/509666#M32130</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have 2 boards, the targets are k64 and k20(MK20DN64XXX5) repectively.&lt;/P&gt;&lt;P&gt;Requirements calls for boards to communicate over USB , Just simple Data back and forth, This link would replace the UART link on the newer design. While I am not an expert in USB communication, I decided to use CDC class for this, I HOPE THIS IS THE RIGHT CHOICE!!!!.&lt;/P&gt;&lt;P&gt;To that end ,I was able to use one of the demos in KDS to build code for the K64&amp;nbsp; target board as a&amp;nbsp; USB CDS host, I have added Freertos to that and seems to be running&amp;nbsp; OK, however to be able to test the USB I need to have the k20 target running as USB CDC device but I can't find any support for this in KDS or in DSK demos and examples.&lt;/P&gt;&lt;P&gt;I tried to use processor expert in KDS for the K20 target but when I looked at the component list I don't see any FSL_USB for the CDC class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I missing something here?&lt;/P&gt;&lt;P&gt;Is USB CDC class the right choice for simple request and response over usb link?&lt;/P&gt;&lt;P&gt;Where would I find support for the USB CDC for k20 target.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please I need help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Koorosh Hajiani &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Mar 2016 17:32:15 GMT</pubDate>
    <dc:creator>kooroshhajiani</dc:creator>
    <dc:date>2016-03-28T17:32:15Z</dc:date>
    <item>
      <title>usb_cdc k20</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/usb-cdc-k20/m-p/509666#M32130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have 2 boards, the targets are k64 and k20(MK20DN64XXX5) repectively.&lt;/P&gt;&lt;P&gt;Requirements calls for boards to communicate over USB , Just simple Data back and forth, This link would replace the UART link on the newer design. While I am not an expert in USB communication, I decided to use CDC class for this, I HOPE THIS IS THE RIGHT CHOICE!!!!.&lt;/P&gt;&lt;P&gt;To that end ,I was able to use one of the demos in KDS to build code for the K64&amp;nbsp; target board as a&amp;nbsp; USB CDS host, I have added Freertos to that and seems to be running&amp;nbsp; OK, however to be able to test the USB I need to have the k20 target running as USB CDC device but I can't find any support for this in KDS or in DSK demos and examples.&lt;/P&gt;&lt;P&gt;I tried to use processor expert in KDS for the K20 target but when I looked at the component list I don't see any FSL_USB for the CDC class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I missing something here?&lt;/P&gt;&lt;P&gt;Is USB CDC class the right choice for simple request and response over usb link?&lt;/P&gt;&lt;P&gt;Where would I find support for the USB CDC for k20 target.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please I need help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Koorosh Hajiani &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Mar 2016 17:32:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/usb-cdc-k20/m-p/509666#M32130</guid>
      <dc:creator>kooroshhajiani</dc:creator>
      <dc:date>2016-03-28T17:32:15Z</dc:date>
    </item>
    <item>
      <title>Re: usb_cdc k20</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/usb-cdc-k20/m-p/509667#M32131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Koorosh Hajiani:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The latest NXP USB stack supporting the Kinetis K20_50MHz family was the &lt;STRONG&gt;USB Stack V4.1.1&lt;/STRONG&gt;. It is available from the next link but unfortunately this is a legacy package and does not include projects for KDS, only for CodeWarrior, IAR and Keil:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.nxp.com/products/automotive-products/microcontrollers-and-processors/8-bit-s08-5.5v-mcus/usb-stack:MEDICALUSB?fpsp=1&amp;amp;tab=Design_Tools_Tab" title="http://www.nxp.com/products/automotive-products/microcontrollers-and-processors/8-bit-s08-5.5v-mcus/usb-stack:MEDICALUSB?fpsp=1&amp;amp;tab=Design_Tools_Tab"&gt;USB Stack|NXP&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A good alternative would be to use the USB components provided by colleague Erich Styger. See this article for the K20:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.com/2013/04/27/usb-cdc-with-the-frdm-k20d50m/" title="http://mcuoneclipse.com/2013/04/27/usb-cdc-with-the-frdm-k20d50m/"&gt;USB CDC with the FRDM-K20D50M | MCU on Eclipse&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The related Processor Expert components from that tutorial are not delivered by default with KDS, those have to be installed:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.com/2014/10/21/mcuoneclipse-releases-on-sourceforge/" title="http://mcuoneclipse.com/2014/10/21/mcuoneclipse-releases-on-sourceforge/"&gt;McuOnEclipse Releases on SourceForge | MCU on Eclipse&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Jorge Gonzalez&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Mar 2016 22:04:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/usb-cdc-k20/m-p/509667#M32131</guid>
      <dc:creator>Jorge_Gonzalez</dc:creator>
      <dc:date>2016-03-30T22:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: usb_cdc k20</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/usb-cdc-k20/m-p/509668#M32132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jorge,&lt;/P&gt;&lt;P&gt;Many thanks for your reply.&lt;/P&gt;&lt;P&gt;So I have the USB_HOST_CDC demo running on the TWR64F12+ser2 board, I downloaded the&amp;nbsp; &lt;STRONG&gt;USB Stack V4.0.3 and &lt;/STRONG&gt;was able to build the CDC_DEVICE for k20 target using IAR WORK BENCH evaluation compiler.&lt;/P&gt;&lt;P&gt;Then I downloaded it to the K20 target using KDS ide and PE MULTILINK box. I plugged the device (K20) in the PC and I can see that the PC tries to download the drivers which of course it fails. &lt;/P&gt;&lt;P&gt;HOWEVER WHEN I plugged the k20(device) in the K64+SER2 USB socket nothing happened . The host code running on the 64k+Ser2 board does not even try to attach. I am not an expert in USB and this is the first time I'm trying to do USB.&lt;/P&gt;&lt;P&gt;I checked all the relevant jumpers on the TWR_K64 and SER2 board and they seem to be correct. the HOST software running on K64 target is the USB_HOST_CDC_SERIAL demo in the SDK&lt;/P&gt;&lt;P&gt;.Pleas, any help is truly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Koorosh Hajiani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Mar 2016 15:19:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/usb-cdc-k20/m-p/509668#M32132</guid>
      <dc:creator>kooroshhajiani</dc:creator>
      <dc:date>2016-03-31T15:19:29Z</dc:date>
    </item>
    <item>
      <title>Re: usb_cdc k20</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/usb-cdc-k20/m-p/509669#M32133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Koorosh&lt;/P&gt;&lt;P&gt;From my experience, USB CDC class is a suitable solution for transmitting data between your board and a host. If you connect the USB port to a Windows PC, it should come up in Device Manager as a COM port.&lt;/P&gt;&lt;P&gt;If you want to learn more about USB protocol, I recommend the book "USB Complete" by Jan Axelson. See this link: &lt;A href="http://janaxelson.com/usbc.htm" title="http://janaxelson.com/usbc.htm"&gt;Jan Axelson's Lakeview Research&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Good luck&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Apr 2016 01:36:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/usb-cdc-k20/m-p/509669#M32133</guid>
      <dc:creator>Jiun_Yong</dc:creator>
      <dc:date>2016-04-01T01:36:24Z</dc:date>
    </item>
  </channel>
</rss>

