[TinyUSB] USB in host mode #903
-
Hello everyone, I'm trying to use modm library on my STM32F4 discovery board that has a USB OTG, but I need to use TinyUSB in host mode to be able to connect (and make use of) a USB flash drive to my board. After reading the TinyUSB section of the modm documentation, I think only device mode is currently implemented. Can you please confirm that for me and if you have any hints on how to implement host mode with modm ? I appreciate your help ! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
Device mode is especially supported, but host most should still work if you leave the I would just try it and compare what is missing from the TinyUSB host examples. Note that TinyUSB v0.14 was just released this week, but modm is still using v0.13 which is quite old now. |
Beta Was this translation helpful? Give feedback.
-
I had a quick look at the TinyUSB documentation, and apparently TinyUSB doesn't support yet Host mode for the F4 family of STM32 MCUs. |
Beta Was this translation helpful? Give feedback.
-
So as an alternative, I wanna use an SD card in SPI mode to store data. Is there a driver for that in modm ? (I looked and apparently there isn't) or do I need to develop it myself on top of the SPI module ? |
Beta Was this translation helpful? Give feedback.
I had a quick look at the TinyUSB documentation, and apparently TinyUSB doesn't support yet Host mode for the F4 family of STM32 MCUs.