Open kuldeepdhaka opened 6 years ago
Conclusion
f1: dev=3[fs] , host=8[fs]
f2: dev=3[fs]/5[hs], host=8[fs]/12[hs]
f4:
F446: dev=5[fs]/7[hs], host=12[fs]/16[hs]
F469 / F469 / F479: dev=5[fs]/8[hs], host=12[fs]/16[hs]
else: dev=3[fs]/5[hs], host=8[fs]/12[hs]
f7: dev=5[fs]/8[hs], host=12[fs]/16[hs]
h7: dev=8[hs], host=16[hs]
l4: dev=5[fs], host=12[fs]
Note: dev do not include ep0
In code, we need to consider the varying number of endpoints count.
DEVICE: Currently the values in code (endpoints including ep0) are hard coded to 6[FS] / 9 [HS] These values fit most target, but some target have different numbers.
HOST: Currently the values in code are hard coded to 8[FS] / 12 [HS] These values fit most target, but some target have different numbers.
Reference: https://github.com/libopencm3/libopencm3/issues/811
Note: Data based on all STM32 microcontrollers family datasheet with USB OTG FS/HS produced by ST (1 August 2017)
Note: Added Host mode data too.