fkpwolf
Posts: 3
Joined: Sat Nov 03, 2012 9:27 am

PWM of Pi 2

Mon Mar 02, 2015 10:11 am

is there any update on PWM of pi 2? I didn't know if the spec changed or not.

User avatar
DougieLawson
Posts: 38854
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: PWM of Pi 2

Mon Mar 02, 2015 11:40 am

It's the same as the B+.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

Tarcas
Posts: 741
Joined: Thu Jan 09, 2014 5:38 am
Location: USA

Re: PWM of Pi 2

Wed Mar 04, 2015 1:45 pm

Dougie, I suspect what he means is that due to the fact that the processor is so much faster, can it PWM at higher frequencies? I could be mistaken, but I believe the max frequency of the B+ was CPU-limited, so it's entirely plausible that the v2 has better specs in that regard. A quick google search doesn't yield any PWM benchmarks, but if you know of any I'm certain that would be appreciated.

User avatar
joan
Posts: 14885
Joined: Thu Jul 05, 2012 5:09 pm
Location: UK

Re: PWM of Pi 2

Wed Mar 04, 2015 2:01 pm

There are two usable hardware PWM channels on the Pi's with the 40 pin expansion header. The capabilities are unchanged from the original Pi's.

Hardware timed PWM (using DMA) is available on all user gpios but again this is unchanged from earlier models.

Software timed PWM may be more usable (less jitter) because of the extra cores on the Pi2.

User avatar
DougieLawson
Posts: 38854
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: PWM of Pi 2

Wed Mar 04, 2015 2:36 pm

Tarcas wrote:Dougie, I suspect what he means is that due to the fact that the processor is so much faster... .
Trying to deduce what the OP meant is a little difficult when his/her problem description is so fuzzy.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

Return to “Automation, sensing and robotics”