Hi.
Could somebody explain to me where did the 19,2 Mhz PWM Max freq. come from?
I can't find any literature regarding this.
Is it a default value? Is possible to change it?
The datasheet says: "Both modes clocked by clk_pwm which is nominally 100MHz, but can be varied by
the clock manager".
Many thanks.
Pedro
Lisbon - PORTUGAL
- pmoliveira
- Posts: 4
- Joined: Fri Dec 18, 2015 12:33 pm
Re: PWM 19,2 MHz Max?
I expect the 19,2MHz figure is from the physical crystal.
As far as I can tell the PWM signal is derived from the 500MHz PLLD (derived I presume from the crystal).
For reasons I have forgotten the maximum frequency appears to be 125 MHz (although it's unlikely that anything over 30 MHz will work on the Pi).
As far as I can tell the PWM signal is derived from the 500MHz PLLD (derived I presume from the crystal).
For reasons I have forgotten the maximum frequency appears to be 125 MHz (although it's unlikely that anything over 30 MHz will work on the Pi).
- pmoliveira
- Posts: 4
- Joined: Fri Dec 18, 2015 12:33 pm
Re: PWM 19,2 MHz Max?
Hi joan. Thanks for your reply.
After a while using bcm2835 and WiringPi libs, I'm starting programming in a more low-level way, and I got stuck here.
It's hard to find the right answers. This should be better documented.
Thanks,
Pedro
After a while using bcm2835 and WiringPi libs, I'm starting programming in a more low-level way, and I got stuck here.
It's hard to find the right answers. This should be better documented.
Thanks,
Pedro
Re: PWM 19,2 MHz Max?
It could be better documented but I doubt there is anyone left at Broadcom who has that responsibility. Some stuff you will need to discover by experiment.pmoliveira wrote:Hi joan. Thanks for your reply.
After a while using bcm2835 and WiringPi libs, I'm starting programming in a more low-level way, and I got stuck here.
It's hard to find the right answers. This should be better documented.
Thanks,
Pedro
Re: PWM 19,2 MHz Max?
I read an old post by Gert yesterday, where he said even he didn't understand how all the clocks work (or maybe the software that controls them), and he was the guy that designed the chip!