I am trying to get a ROM USB MIDI device running on an LPC51U68 using MCUxpresso similar to the Microchip MIDI tone generator example . ( which runs out of the box )
I am to be able to initialize and register the Rom handlers without errors . Same descriptor which is working with Microchip example.
ret = USBD_API->hw->Init(&g_hUsb, &desc, &usb_param); = LPC_OK
ret = USBD_API->core->RegisterClassHandler(hUsb, ADC_ep0_hdlr, pAdcCtrl); = LPC_OK
ret = USBD_API->core->RegisterEpHandler(hUsb, pSubs->ep_index, ADC_iso_out_hdlr, pSubs); = LPC_OK
USBD_API->hw->Connect(g_hUsb, 1); is OK and my computer enumerates it fine.
But I cant seem to get any Interrupts to fire for the registered class ADC_ep0_hdlr or other EP handlers.
Any one have any ideas? 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?
Any way to debug this?