cancel
Showing results for 
Search instead for 
Did you mean: 

Can make a 50MHz PWM output?

jhwan.2
Associate II

MCU : STM32H7, PB0 ​PWM CH2N

TIM1 CLK : 200MHz

Prescaler : 0

Counter Period : 3

Pulse : 2

GPIO Speed : Very High​

I'm testing a 50MHz PWM output.

And my test conditions are written at the top of this question.

As a result, I decided that a 50MHz PWM output was impossible.

This is because the square wave is distorted by the slew rate as shown in the attached picture.

However, the output buffer timing characteristics of the datasheet states that frequencies up to 220 MHz are possible.

So I leave a question to ask if I've missed anything.

thank you

16 REPLIES 16

Nice, okay, I oversaw the 500 MHz!

Still, you can do a lot of things wrong with the probe.

Looks like the wrong probe or setting.

Make sure to put it in 10x mode if you're using a 1x / 10x probe.

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

Thanks for your reply.

I am using my own custom board.

So I think the key point is my probe.

I'm used in x1 mode. and I don't know "Pf input" exactly.

I wonder what is your MCU Model

please let me know. thank you

LCE
Principal

In GHz-wireless times, measuring some 50 MHz seems like it must be so simple... :D

"pF" input: capacitance of the probe, a good probe has that printed on the probe or its connector.

And do NOT use x1 mode, all the probes I ever used have a much higher capacitance than in the 10:1 divider mode.

AScha.3
Chief III

you have to use probe in 10:1 setting. (1:1 is useless with hi-speed cmos circuits ! )

cpu is stm32H743vit , at 200MHz core clk.

If you feel a post has answered your question, please click "Accept as Solution".

The problem has been resolved.

Probe setup was the problem.

After setting to x10 mode, the waveform was checked normally.

thank you