cancel
Showing results for 
Search instead for 
Did you mean: 

VCP driver without SOF output?

pa
Associate II
Posted on October 23, 2013 at 17:22

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

Patrick
10 REPLIES 10
Posted on October 25, 2013 at 17:42

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.
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..