2011-05-11 12:59 AM
When will be USB HOST fw(HS/FS) be availiable for STM32F2xx?
#stm32f2xx-usb-host2011-07-07 11:41 PM
when ? when ?
2011-07-11 1:50 AM
Good question, would be nice to know. But until then, there is a solution:
The OTG FS controller in the F2XX is nearly identical to that in the the F105/F107. Therefore it is possible to use the USB Lib 3.3.0 with the F2XX. (#define STM32F10X_CL). The only thing that will cause problems is, that NOVBUSSENS in GCCFG has to be set when VUSB is not connected to PA9 (which is the case on most Non-USB-Host boards). My self written very basic USB host is now working, too. In Forced Host mode I did not discover any difference in the registers/bits between F105 and F205, only some different behaviour when halting a channel. (Maybe my fault). So I think it should be possible to use the ST USB Host lib, too. But: This will not work with the OTG HS controller in the F2XX. The differences are much bigger here, one could try to adapt the code, but IMHO this will be a lot of work. So I think, here it will make much more sense to wait for the official solution from ST (at least if it can be expected in the next few months...) Regards, JohannesWe’re moving the ST Community to a new platform to give you a better and more reliable community experience.