stm32-rs / synopsys-usb-otg

usb-device implementation for Synopsys USB OTG IP cores
MIT License
41 stars 29 forks source link

Quick fix for ISO endpoints #38

Open kiffie opened 1 year ago

kiffie commented 1 year ago

This is a quick fix for isochronous (ISO) endpoints that does not require changes on the usb-device.

There is already PR #29 for ISO endpoints pending, which seems to aim at a more sophisticated solution. I propose to integrate the present PR as an intermediate solution.

Successfully tested on STM32F446 on FS using a Linux host with different values for endpoint bInterval. Got reports on successful experiments on HS.

Primary use case: audio streaming according to USB Audio Device Class, Release 1.0