<?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>LPC MicrocontrollersのトピックROM USB  MIDI cant seem to get Interrupts to fire</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/ROM-USB-MIDI-cant-seem-to-get-Interrupts-to-fire/m-p/1199206#M43256</link>
    <description>&lt;P&gt;I am trying to get a ROM USB MIDI device running on an LPC51U68 using MCUxpresso&amp;nbsp; similar to the Microchip MIDI tone generator example . ( which runs out of the box )&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am to be able to initialize and register the Rom handlers without errors . Same descriptor which is working with Microchip example.&lt;/P&gt;&lt;P&gt;ret = USBD_API-&amp;gt;hw-&amp;gt;Init(&amp;amp;g_hUsb, &amp;amp;desc, &amp;amp;usb_param);&amp;nbsp; = LPC_OK&lt;/P&gt;&lt;P&gt;ret = USBD_API-&amp;gt;core-&amp;gt;RegisterClassHandler(hUsb, ADC_ep0_hdlr, pAdcCtrl);&amp;nbsp; = LPC_OK&lt;/P&gt;&lt;P&gt;ret = USBD_API-&amp;gt;core-&amp;gt;RegisterEpHandler(hUsb, pSubs-&amp;gt;ep_index, ADC_iso_out_hdlr, pSubs);&amp;nbsp; = LPC_OK&lt;/P&gt;&lt;P&gt;USBD_API-&amp;gt;hw-&amp;gt;Connect(g_hUsb, 1);&amp;nbsp;&amp;nbsp; is OK and my computer enumerates it fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I cant seem to get any Interrupts to fire for the registered class ADC_ep0_hdlr or other EP handlers.&lt;/P&gt;&lt;P&gt;Any one have any ideas?&amp;nbsp; Do they only fire if I receive something, so do I need to send something to my device or should the class handler fire all the time when the usb link is open?&lt;/P&gt;&lt;P&gt;Any way to debug this?&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;</description>
    <pubDate>Tue, 15 Dec 2020 00:14:27 GMT</pubDate>
    <dc:creator>BetoGreen</dc:creator>
    <dc:date>2020-12-15T00:14:27Z</dc:date>
    <item>
      <title>ROM USB  MIDI cant seem to get Interrupts to fire</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/ROM-USB-MIDI-cant-seem-to-get-Interrupts-to-fire/m-p/1199206#M43256</link>
      <description>&lt;P&gt;I am trying to get a ROM USB MIDI device running on an LPC51U68 using MCUxpresso&amp;nbsp; similar to the Microchip MIDI tone generator example . ( which runs out of the box )&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am to be able to initialize and register the Rom handlers without errors . Same descriptor which is working with Microchip example.&lt;/P&gt;&lt;P&gt;ret = USBD_API-&amp;gt;hw-&amp;gt;Init(&amp;amp;g_hUsb, &amp;amp;desc, &amp;amp;usb_param);&amp;nbsp; = LPC_OK&lt;/P&gt;&lt;P&gt;ret = USBD_API-&amp;gt;core-&amp;gt;RegisterClassHandler(hUsb, ADC_ep0_hdlr, pAdcCtrl);&amp;nbsp; = LPC_OK&lt;/P&gt;&lt;P&gt;ret = USBD_API-&amp;gt;core-&amp;gt;RegisterEpHandler(hUsb, pSubs-&amp;gt;ep_index, ADC_iso_out_hdlr, pSubs);&amp;nbsp; = LPC_OK&lt;/P&gt;&lt;P&gt;USBD_API-&amp;gt;hw-&amp;gt;Connect(g_hUsb, 1);&amp;nbsp;&amp;nbsp; is OK and my computer enumerates it fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I cant seem to get any Interrupts to fire for the registered class ADC_ep0_hdlr or other EP handlers.&lt;/P&gt;&lt;P&gt;Any one have any ideas?&amp;nbsp; Do they only fire if I receive something, so do I need to send something to my device or should the class handler fire all the time when the usb link is open?&lt;/P&gt;&lt;P&gt;Any way to debug this?&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;</description>
      <pubDate>Tue, 15 Dec 2020 00:14:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/ROM-USB-MIDI-cant-seem-to-get-Interrupts-to-fire/m-p/1199206#M43256</guid>
      <dc:creator>BetoGreen</dc:creator>
      <dc:date>2020-12-15T00:14:27Z</dc:date>
    </item>
    <item>
      <title>Re: ROM USB  MIDI cant seem to get Interrupts to fire</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/ROM-USB-MIDI-cant-seem-to-get-Interrupts-to-fire/m-p/1209426#M43514</link>
      <description>&lt;P&gt;Got them to fire but WriteEP crashing. I guess I'll submit a ticket... seems pointless talking to myself.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jan 2021 06:12:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/ROM-USB-MIDI-cant-seem-to-get-Interrupts-to-fire/m-p/1209426#M43514</guid>
      <dc:creator>BetoGreen</dc:creator>
      <dc:date>2021-01-11T06:12:05Z</dc:date>
    </item>
  </channel>
</rss>

