2013-10-23 08:22 AM
Hi all
I've a little problem. I use the USB driver from st to communicate with my STM32F4-Discovery. This works realy good. But I've would make a streaming protocol with a camera sensor. For this I have to use the MCO1. The parts works but in combination it won't do anything. So I searched for a reason. Then I've found something special in the driver library: The SOF overwrites the MCO1 configuration from PA8, but this pin isn't used for anything. If I remove the PA8 configuration for SOF output, the usb doesn't work correctly. So for what is this pin used? Is ist also used internal for something? Best regards Patrick2013-10-25 08:42 AM
Could there be a problem with the usb interrupts or something else?
There could be problems in all manner of aspects, you'll have to start with the Hard Fault in the debugger and dig from there. Break point the Hard Fault, inspect the registers and stacks, look at memory and try to pin point why/how it got there.