Hi I have connected a buzzer in the port PE31. I have configurate this port like pwm (sama5d3-pwm).
I can control and do sound the buzzer but sometimes when I stop buzz (enable = 0) the output sometimes is high level and others is low level.
Is there any way to make the output is always low level when I stop buzz?
Configuration PWM output
period = 1818000
duty_cycle = 909000
polarity = inversed
initial output = low level.