Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8374

Troubleshooting • Re: Raspberry Pi 5 PWM control method inquiry

$
0
0
adding an external PWM controller is less painful then dealing with the RP1
Ha, I believe it. No chance of trouncing your PWM output when the pin mux gets fettled by gpiod for starters.

Pi PWM was cheap and worked well for our very crude hobbyist purposes, though. I'm both reluctant to let go of that, and stuck trying to contrive software for the Pi 5 that works with hardware designed around <= Pi 4 assumptions.

Also RP1 PIO PWM has at least a chance to be... kinda sort cool. Having a whole bank of reasonably decent PWM pins with no extra hardware needed could be fun.
if you have your overlay with

Code:

compatible = "brcm,bcm2835";
you should not see a difference in PWM between Pi5 and what you get on on other Pi's. The ALT modes for PWM0.0 and 0.1 are unchanged. You just can't use PWM0.2 and PWM0.3 with that compatibility string. Sure, other limits may apply ...

I need to say that I tend to have a habit for throwing in a PC9685... 12-bit PWM's and GP-outputs for less than 2 bucks.

Statistics: Posted by aBUGSworstnightmare — Fri Mar 08, 2024 2:43 pm



Viewing all articles
Browse latest Browse all 8374

Trending Articles