STM32F103 USB KO after being suspended
Posted: Sat Jan 02, 2021 2:20 pm
Hello,
First of all, many thanks to Roger for the job done. I found many many things on this forum.
I finished creating a MIDI footswitch. I only have one problem :
When USB is suspended, I could not received any more data on it, even if state is back to connected. But I can still send data.
I debugged libmaple/usb.c and saw that function usb_resume_init is well called.
My board is a cutom one but is a clone of any bluepill board with a STM32F103RCT6.
As a workaround, I programmatically restart the board when USB state go to suspended state.
If you 've got an idea of the problem, I would appreciate your help.
Many thanks.
regards,
Aurélien
First of all, many thanks to Roger for the job done. I found many many things on this forum.
I finished creating a MIDI footswitch. I only have one problem :
When USB is suspended, I could not received any more data on it, even if state is back to connected. But I can still send data.
I debugged libmaple/usb.c and saw that function usb_resume_init is well called.
My board is a cutom one but is a clone of any bluepill board with a STM32F103RCT6.
As a workaround, I programmatically restart the board when USB state go to suspended state.
If you 've got an idea of the problem, I would appreciate your help.
Many thanks.
regards,
Aurélien