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

Increasing speed in interrupt tranfer

The maximum speed for the interrupt transfer for USB 2.0 full speed is 64kbytes/s. LPC2148 is used in device side. Is there a possibility of increasing the interrupt transfer speed by increasing the packet size. In that case generic device class wont support the device. Is there any possibility of moving to custom hid driver

Parents
  • OK, Per. He is hard :-)

    > The problem in using bulk trnsfer is that application will be tested in the stress condition loading the PC with many other applications and it is expected to meet both guarantied data and time. Thats why the interrupt transfer was chose.

    Under stressed condition of PC, any transfer type can't guarantee transfer timing. No difference for bulk from interrupt. The interrupt bandwidth is guaranteed just on the USB wire. If PC device driver or your application can't pass transfer requests to the host controller in time, the guaranteed bandwidth is lost in vain.

    > If we go for custom driver also the packet size increasing is not possible?

    It can't.
    USB spec defines wMaxPacketSize of interrupt as up to 64 bytes in full-speed.

    If you want to guarantee such a high transfer speed on full-speed, run it on bulk with a separated host controller (add-on PCI card for USB), so that the device can occupy full bandwidth. Or, insert a multi-TT hub between the bulk device and the PC.

    Multi-TT hubs
    Belkin F5U234V1, F5U237v1
    etc.

    Tsuneo

Reply
  • OK, Per. He is hard :-)

    > The problem in using bulk trnsfer is that application will be tested in the stress condition loading the PC with many other applications and it is expected to meet both guarantied data and time. Thats why the interrupt transfer was chose.

    Under stressed condition of PC, any transfer type can't guarantee transfer timing. No difference for bulk from interrupt. The interrupt bandwidth is guaranteed just on the USB wire. If PC device driver or your application can't pass transfer requests to the host controller in time, the guaranteed bandwidth is lost in vain.

    > If we go for custom driver also the packet size increasing is not possible?

    It can't.
    USB spec defines wMaxPacketSize of interrupt as up to 64 bytes in full-speed.

    If you want to guarantee such a high transfer speed on full-speed, run it on bulk with a separated host controller (add-on PCI card for USB), so that the device can occupy full bandwidth. Or, insert a multi-TT hub between the bulk device and the PC.

    Multi-TT hubs
    Belkin F5U234V1, F5U237v1
    etc.

    Tsuneo

Children