1 Reply Latest reply on Jun 8, 2018 6:27 AM by apapc_1569406

    libusb : does libusb_dev_mem_alloc() API is used anywhere for USB DMA transfer?


      I have one requirement regarding data transfer over USB. The incoming data should pass through USB host controller to pre-allocated buffer. And after completion of data transfer, user-space app will readout all data.

      FX3 chip from cypress which using libusb at host side to for data transfer and documentation of libusb_dev_mem_alloc() API says same things regarding DMA buffer we can do by save downstream data directly into user buffer.

      But I didn't find any single example snippet code on Google. Does anybody use this API for USB data transfer?