On 12/11/2016 1:18 PM, Marius Alksnys wrote:
> <https://lh3.googleusercontent.com/-1CZT9VDaixc/WE2lvJMxr9I/AAAAAAAAWdM/wWu9VhkzQzUriDJTViM-OCImyc2ej_EPACLcB/s1600/bb_pru_pwm.jpg>
> 
> Quite some time passed, but now I ran across the same issue and caught it on 
> scope. It is quite easy to get one by wiring sine or triangle siggen to pru 
> pwmgen and watch pwm or filtered signal on scope.
> Spikes like this occur quite often.

That looks very much like a bug in the PRU code or ARM side HAL
driver.  Do you have an example HAL config you can share (or send me
direct) that causes this behavior?

> My cape for BeagleBone, named Furaday Cape, and its users would benefit from 
> high quality PWM signal. I am just not up to writing PRU drivers on my own.

IIRC someone wrote a HAL driver for the hardware PWMs.  If not, it
ought to be fairly straight-forward to implement.  Anything using PWM
for something more than heater (or maybe spindle speed) control on the
BBB would likely benefit greatly from using hardware PWM.

-- 
Charles Steinkuehler
[email protected]

-- 
website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
https://github.com/machinekit
--- 
You received this message because you are subscribed to the Google Groups 
"Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to