Part Number: AM5726
I noticed that when calling USBHostRead() function from USB driver it fires DMA and loops in xhci_wait_for_event(). It's actually not only this call doing that but whole driver designed on this principle. Is there easy way to rewrite this code using interrupt so the task will sleep on event?
Is there plans to fix "TODO: need to get the actual read bytes from the pipe" in USBHCDPipeRead() function?
Or may be I miss more right way to use the RTOS USB driver?
Thanks in advance.
Best regards,
Alexander