2014-05-27 10:17 AM
Dear all,
I have tested the pwm on the STM32F429 EVAL board. It seems all ok.Then I have seen with oscilloscope that with low values of duty cycle from 1% to 20% the pwm works for a while then stops and then restarts.With higher values, the stop period became shorter and then at 20% of duty cycle the pwm became continuos without stops.What could be happened?Let me know!Best regards #basic-debugging2014-05-27 10:27 AM
Apparently it's
http://www.wikihow.com/Play-Pin-the-Tail-on-the-Donkey
day.... Does this happen with All pins and All timers, or some in particular?' How are you programming this? What else does your code do? Do you have some code modulating the pin? IRQ/DMA Is there some other device conflicting the pin?2014-05-27 12:20 PM
works for a while then stops and then restarts.
In other words the processor is resetting...sounds like stack overflow or some other bug that takes a while to crash the CPU. Do you enable and trap all the faults?