This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Problem with USB HID and Timers

Hi,

I try to program an STM32F103ZE.
I use the Keil USB HID program and want to add some functions, such as a PWM, ADC and some other.
If I use the USB HID, the ADC or the PWM in different programs I have no problems, but if I want to use all in one program I get trouble with the timers.
For the PWM I use Timer 8, channel 1, because if I use Timer 1, the USB device could not be detected by my PC. And now there is the same trouble with the ADC.
If I use a timer for the ADC (I tested every timer which is connected to ADC), the USB device could not be detected.
Is there any connection between the USB HID program and the Timers 1 to 8??
And if yes, how can I get it work?
There must be any way to get such a program to work.

Thanks for your help

Tobias