cancel
Showing results for 
Search instead for 
Did you mean: 

How to make a PWM of 13.9ns pulse width with HRTIM?

PMach.2
Associate II

Hello ST community,

I use a STM32F3348 DISCO board (STM32F334C8Tx MCU) and I would like to realize a PWM with a period of 4µs (250 000 Hz) and a pulse width of 13,9ns. I tried first with the TIM1 and then with the HRTIM but in both cases I can't reduce the pulse width below 50ns.

However the HRTIM has a resolution of 6.95ns so normally it is possible. But even taking the examples provided for this timer, it’s as if the card was limited. Can you give me some guidance on what I might have forgotten?

1 ACCEPTED SOLUTION

Accepted Solutions
PMach.2
Associate II

It was just an oscilloscope problem

View solution in original post

1 REPLY 1
PMach.2
Associate II

It was just an oscilloscope problem