I am aware this thread is a bit old but I have a patch ready that fixes this behaviour. Is anyone interested?
Guillermo Rodriguez El 19/12/2013 15:29, Jürgen Beisert escribió: > Hi Pawel, > > On Thursday 19 December 2013 12:23:36 Pawel Suchanecki wrote: >> [...] >> but also occasionally (1 per hundreds of while loops) it beeps longer >> than normally, basically up to next loop. >> >> How can I get this working? I need this for my project (the device is >> going to be sent tomorrow to the client). > > I think it's not defined what electrical level the PWM output pin has, when > the > software stops the PWM. At least such kind of failure we have seen on > different platforms like i.MX SoCs. > > The only solution is to configure the pin to act as a GPIO with a well > defined > level when the PWM stops. And to reconfigure the pin to act as a PWM output, > if the PWM is enabled again. > > Regards, > Juergen >
