Page 2 of 2
Re: STM32F401 USB maximum transfer size limitation
Posted: Tue Apr 18, 2023 6:59 pm
by Giovanni
Hi,
Moving this topic in "bug reports".
Giovanni
Re: STM32F401 USB maximum transfer size limitation
Posted: Tue Apr 18, 2023 7:50 pm
by elagil
I would probably check that no single OUT endpoint's maximum packet size is larger than the RX FIFO. Otherwise, not much can be done.
There is no control over how many of which type of packet the host sends, so the RX FIFO should simply accomodate one of the largest packet that can occur.
I suggest something like this:
https://github.com/ChibiOS/ChibiOS/comm ... 38b2b454d6