<?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 on-chip driver information in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/USB-on-chip-driver-information/m-p/561807#M16469</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Fernando on Mon Feb 28 16:46:37 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello. I´m developing an application using the on-chip USB driver and some questions arised.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;First of all, the drivers require two callback functions to handle the in/out transactions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In the report OUT function callback, the user must provide a pointer to some data area where the incoming usb data will be stored. The question is, if i reserved 384 bytes of RAM memory needed for the drivers, why do i need to use more memory?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;am i wrong with this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The second question is where are the callback functions called?? inside the usb interrupt?? I want to know, in order to develop efficient code, if its called from an isr or from any other function. Because is not the same to make a big callback function with command parsing and data processing than a callback function that only stores the data and sets a flag.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Fernando&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 02:10:56 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T02:10:56Z</dc:date>
    <item>
      <title>USB on-chip driver information</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/USB-on-chip-driver-information/m-p/561807#M16469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Fernando on Mon Feb 28 16:46:37 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello. I´m developing an application using the on-chip USB driver and some questions arised.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;First of all, the drivers require two callback functions to handle the in/out transactions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In the report OUT function callback, the user must provide a pointer to some data area where the incoming usb data will be stored. The question is, if i reserved 384 bytes of RAM memory needed for the drivers, why do i need to use more memory?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;am i wrong with this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The second question is where are the callback functions called?? inside the usb interrupt?? I want to know, in order to develop efficient code, if its called from an isr or from any other function. Because is not the same to make a big callback function with command parsing and data processing than a callback function that only stores the data and sets a flag.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Fernando&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:10:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/USB-on-chip-driver-information/m-p/561807#M16469</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:10:56Z</dc:date>
    </item>
  </channel>
</rss>

