Sama5d3 pwm-buzzer sound while boot kernel

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

Moderator: nferre

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

Sama5d3 pwm-buzzer sound while boot kernel

Tue Aug 09, 2016 5:39 pm

Hi I have a sama5d3 Xplained, I have connected a buzzer in the port PE31. I have configurate this port like:
pinctrl_pwm0_pwml1_2: pwm0_pwml1-2 {
atmel,pins =
<AT91_PIOE 31 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* conflicts with IRQ */
pwm0: pwm@f002c000 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_pwm0_pwmh0_0 &pinctrl_pwm0_pwmh1_0 &pinctrl_pwm0_pwml1_2>;
status = "okay";

The buzzer works well but I have a little problem. When I boot the Xplained when the kernel is run I can hear a buzz.
it seems that during the configuration of this pin there is a change in the output level that makes it sound.

Is there any way to avoid this?
Is this the pin PE31 properly configured to function as PWM output?


Return to “LINUX”

Who is online

Users browsing this forum: Bing [Bot] and 2 guests