I added the Isochronous to USBHost library. The Isochronous code based on the following. http://developer.mbed.org/users/va009039/code/USBHostC270_example/
Dependencies: FATFileSystem mbed-rtos
Fork of USBHost_AddIso by
Diff: USBHost/USBHALHost_RZ_A1.cpp
- Revision:
- 29:d3b77affed28
- Parent:
- 28:8e62b6403505
- Child:
- 30:2851a9b2bbfb
--- a/USBHost/USBHALHost_RZ_A1.cpp Fri Feb 27 10:01:08 2015 +0000 +++ b/USBHost/USBHALHost_RZ_A1.cpp Tue Mar 31 16:15:42 2015 +0100 @@ -47,7 +47,7 @@ } void USBHALHost::init() { - ohciwrapp_init(&_usbisr, 1); + ohciwrapp_init(&_usbisr); ohciwrapp_reg_w(OHCI_REG_CONTROL, 1); // HARDWARE RESET ohciwrapp_reg_w(OHCI_REG_CONTROLHEADED, 0); // Initialize Control list head to Zero @@ -266,9 +266,6 @@ usb_hcca->DoneHead = 0; } - // wait 200ms to avoid bounce - wait_ms(200); - deviceDisconnected(0, 1, NULL, usb_hcca->DoneHead & 0xFFFFFFFE); if (int_status & OR_INTR_STATUS_WDH) {