Content originally posted in LPCWare by shiggy on Sun Jan 05 01:20:23 MST 2014
Hi everyone!
I am using the USB 2.0 High speed of LPC1830.
I question you about that of the interruption transmission to which a host(libusb) receives data from a device (LPC1830).
-------------------------------------------------------------
The command of host: usb_interrupt_read()
The command of device: USB_WriteEP()
-------------------------------------------------------------
When there is no send data, is it that which is if the buffer is emptied?
When there is send data, should the send data be cop(ied) to the buffer?
The data transfer interval is 250us and the data size is 256 bytes.
I have made a code of bulk transfer already, but unfortunatey the latency time is not
specified(or guarantied).
So I am considering the interrupt transfer.
If anyone give me any comment, I am very happy.
Shiggy