<?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 cdc or hid or another in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-cdc-or-hid-or-another/m-p/296529#M12209</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have a problem with the usb interface...im running very low on space with the kl25 128Kb part... so no more room to move&lt;/P&gt;&lt;P&gt;and i think that the 26 odd k for the usb may have to go.... but at the moment we are using the cdc ... is hid going to be much smaller.... &lt;/P&gt;&lt;P&gt;or are there some o ther tricks that can save me a heap of flash??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have thought oif the possibility of putting some of the data that is in flash into external eeprom but this will have issuse as i have to find lat longs by running through data... its going to take a while at 400kz baud accross i2c&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;anybody got some ideas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Apr 2014 07:19:42 GMT</pubDate>
    <dc:creator>Danzo</dc:creator>
    <dc:date>2014-04-15T07:19:42Z</dc:date>
    <item>
      <title>USB cdc or hid or another</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-cdc-or-hid-or-another/m-p/296529#M12209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have a problem with the usb interface...im running very low on space with the kl25 128Kb part... so no more room to move&lt;/P&gt;&lt;P&gt;and i think that the 26 odd k for the usb may have to go.... but at the moment we are using the cdc ... is hid going to be much smaller.... &lt;/P&gt;&lt;P&gt;or are there some o ther tricks that can save me a heap of flash??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have thought oif the possibility of putting some of the data that is in flash into external eeprom but this will have issuse as i have to find lat longs by running through data... its going to take a while at 400kz baud accross i2c&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;anybody got some ideas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2014 07:19:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-cdc-or-hid-or-another/m-p/296529#M12209</guid>
      <dc:creator>Danzo</dc:creator>
      <dc:date>2014-04-15T07:19:42Z</dc:date>
    </item>
    <item>
      <title>Re: USB cdc or hid or another</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-cdc-or-hid-or-another/m-p/296530#M12210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked out the space required for USB CDC and HID in the uTasker project on the KL25:&lt;/P&gt;&lt;P&gt;- CDC Flash 7k, RAM 96 bytes, Heap 1.8k (depending on buffer sizes allocated - this size allows fast and comfortable operation)&lt;/P&gt;&lt;P&gt;- HID Flash 6k, RAM 60 bytes, Heap 600 bytes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The advantage of CDC is that the PC can use virtual COM and the data exchanges is like a UART - doesn't require special drivers or a special protocol solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to the comparison there is little difference in the program overhead from HID to CDC on the KL25 - probably additional code would be required at the application layer too for an HID solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you using optimisation for size? 26k for CDC seems rather large.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need to save data to EEPROM/Flash you could also use SPI at much higher speeds to SPI Flash.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Depending on the advancement of your project you could look at the uTasker project since it is designed for small footprint solutions and allows a lot to be performed in restricted memory environments..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2014 13:51:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-cdc-or-hid-or-another/m-p/296530#M12210</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2014-04-15T13:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: USB cdc or hid or another</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-cdc-or-hid-or-another/m-p/296531#M12211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so im usinng the PE expert library .... may be there is a large difference there&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes and our project is a long way down the track... so i need to find something that i can integerate in easily&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2014 21:34:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-cdc-or-hid-or-another/m-p/296531#M12211</guid>
      <dc:creator>Danzo</dc:creator>
      <dc:date>2014-04-16T21:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: USB cdc or hid or another</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-cdc-or-hid-or-another/m-p/296532#M12212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree with Mark about uTasker but also have you tried using &lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MEDICALUSB&amp;amp;fsrch=1&amp;amp;sr=1&amp;amp;pageNum=1"&gt;&lt;STRONG&gt;USB Stack&lt;/STRONG&gt;&lt;/A&gt;?? may be you also could to take a look to the &lt;A href="http://cache.freescale.com/files/32bit/doc/app_note/AN4748.pdf?&amp;amp;Parent_nodeId=&amp;amp;Parent_pageType="&gt;&lt;SPAN class="l"&gt;&lt;SPAN class="goog-trans-section l"&gt;AN4748, USB and Using Freescale USB Stack with Kinetis L devices&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/A&gt;, I hope you find it useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2014 22:44:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-cdc-or-hid-or-another/m-p/296532#M12212</guid>
      <dc:creator>perlam_i_au</dc:creator>
      <dc:date>2014-04-16T22:44:50Z</dc:date>
    </item>
  </channel>
</rss>

