STM32F401 USB maximum transfer size limitation

Report here problems in any of ChibiOS components. This forum is NOT for support.
User avatar
Giovanni
Site Admin
Posts: 14895
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: STM32F401 USB maximum transfer size limitation

Post by Giovanni »

Hi,

Moving this topic in "bug reports".

Giovanni
elagil
Posts: 94
Joined: Tue Sep 19, 2017 7:38 am
Has thanked: 8 times
Been thanked: 7 times

Re: STM32F401 USB maximum transfer size limitation

Post 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
Post Reply