Solved
How can i switch gpio function from USB to normal GPIO?
I set stm32f401 to use USB and deinit USB to dP/dN to use normal GPIO.
But I can not control dP/dN for GPIO.
How can I switch GPIO function from USB to normal GPIO?
I set stm32f401 to use USB and deinit USB to dP/dN to use normal GPIO.
But I can not control dP/dN for GPIO.
How can I switch GPIO function from USB to normal GPIO?
What is this, SPL?
I don't use SPL nor Cube. As I've said, make sure OTG_GCCFG.PWRDWN gets cleared. Read the post I've linked to above, and the posts linked from there.
JW
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.