buzzer in SAMA5D3 Xplained

This forum is for users of Microchip MPUs and who are interested in using Linux OS.

Moderator: nferre

Alexdev
Posts: 22
Joined: Thu Oct 22, 2015 9:14 am

buzzer in SAMA5D3 Xplained

Wed Mar 09, 2016 6:44 pm

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.

Thanks!
Regards.

Return to “LINUX”

Who is online

Users browsing this forum: Google [Bot] and 1 guest