cancel
Showing results for 
Search instead for 
Did you mean: 

Timer with PWM not possible on L412/L432 when using USB FS?

Davorin
Senior

Good evening

Is it not possible to use TIM1/TIM" for generating a PWM output when USB FS is selected?

IDE shows me a warning when selecting internal clock source...and I can't set PSC or preloader value....

thansk in advance

richard

4 REPLIES 4

 > Is it not possible to use TIM1/TIM" for generating a PWM output when USB FS is selected?

Of course it's possible.

That some software does not allow you to click some combination does not mean it cannot be achieved by normal programming.

Does the clicky say some usable information with the warning?

JW

Davorin
Senior

Hmm..this is odd...after disabling USB FS I could set PSC and preload....even when re-enabling USB FS afterwards...

Guess the Cube IDE is still buggy on Debian/Ubuntu as many times the text cursor is lost and I can't type anything....only when switching to another application and back...

The interdepencies here can be complicated, and there is a significant chance of things being missed, or coded incorrectly.

Not sure what pins are involved, or what TIM the USB FS boilerplate might be using, perhap in place of SysTick.

For ST to evaluate you'd likely need to furnish an .IOC and storyboard the interactions with screenshots, or a video.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
berendi
Principal

> IDE shows me a warning when selecting internal clock source...

Read it.