Hi,
I have a dev platform based on stm32f411ce.
I'm trying to get working USB, but I doesn't work.
I copied code from f4 examples (my build for blinking LED example
works), but somehow USB is dead.
I don't see any USB example for stm32f411re or near.
Is there some reason why example is not imple
There are four things that must be correct for USB to work
1) You must set the proper USB peripheral (FS, HS, OTG) and have the
appropriate code for that peripheral
2) You must set the proper I/O pins (enable the clocks, set their alternate
function)
3) You must enable the clocks for both the GPIO
F411 simply didn't exist when those examples were written.
As far as I can tell, you should be using the ogffs_usb_driver,
and you'll probably have to do some things to configure your RCC
clocks properly, I imagine there may have been some changes, but
a cursory check over RM0383 seems to the sam
Hi,
Thank you for your response.
USB works on my board, I tested it with code generated by: STM32CubeMX.
STM32CubeMX generates only one USB interface code, and it is not
possible use few USB interfaces;-/
That is why I'm trying use libopenmc3:)
I reused settings from STM32CubeMX rcc tab, and I'v
Looks pretty reasonable. What sort of debugger are you using?
--Chuck
On Mon, Nov 27, 2017 at 1:27 PM, Zygmunt Ptak wrote:
> Hi,
>
> Thank you for your response.
>
> USB works on my board, I tested it with code generated by: STM32CubeMX.
> STM32CubeMX generates only one USB interface code, and