Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

DAVE™ Forum Discussions

Not applicable
Hi,
I have a problem with stopping PWM (PWMSP002 app). When I use "PWMSP002_Stop" function it works but inverted output goes to random state (sometimes it lasts ON, sometimes OFF). In my case both outputs must be cleared after stopping PWM. Can anybody tell me how to stop PWM and then immediately clear both outputs (inverted and direct output)?
Thanks in advance,
TM
0 Likes
2 Replies
Not applicable
Hi TM,

You may get some hints from DAVE Forum "Feature request : When PWMSP002 is stopped, set the outputs to passive level".

BR,
Zain
0 Likes
Not applicable
Thanks for link.
I already solved my problem. My solution is: two external AND gates driven by GPIO pin.
By the way: Setting/resetting ST signal suggested by P. Yélamos doesn't work in my case. Solution given by Aaron Walsh was not tested by me.
BR
TM
0 Likes