This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to create a USB host custom class for Mdk 5

I am developing a USB Host Application using LPC1857. I need send data to device with bulk transfer. The MDK-ARM Version 5 only supports HID and MSC in USB Host component.

But when I defined micro as follow.

#define USBH_CLASS                      0x0004                         // USB device enabled
#define USBH_CLS_NUM                    1


The configuration can be completed using USB Core function USBH_Initialize(0). But I don't know how to send data to device from host. I think a usb host custom class middleware is needed.

Does anyone know how to create it for Mdk5 or to send data to device with bulk transfer.

0