Re: Problems with ST32F302 and USB
Posted: Wed Sep 23, 2020 7:51 pm
Hi,
I should have been more specific
In the module hal_usb.c, there is a default_handler() function, it decodes all standard messages, you should verify if it gets in that function and which messages are processed in there, if any (I suspect none).
The problem is that the two things that can cause that are clocks and GPIO setup and you already verified that.
Could you try the F3 USB demo as-is by just making the minimum of changes? (STM32-USB-CDC) the problem must be in those changes.
Giovanni
I should have been more specific
In the module hal_usb.c, there is a default_handler() function, it decodes all standard messages, you should verify if it gets in that function and which messages are processed in there, if any (I suspect none).
The problem is that the two things that can cause that are clocks and GPIO setup and you already verified that.
Could you try the F3 USB demo as-is by just making the minimum of changes? (STM32-USB-CDC) the problem must be in those changes.
Giovanni