Hi I have a sama5d3 Xplained, I have connected a buzzer in the port PE31. I have configurate this port like:
sama5d3.dtsi
pinctrl_pwm0_pwml1_2: pwm0_pwml1-2 {
atmel,pins =
<AT91_PIOE 31 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* conflicts with IRQ */
};
at91-sama5d3_xplained.dts
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?
Thanks!
Regards!!
Sama5d3 pwm-buzzer sound while boot kernel
Moderator: nferre
Who is online
Users browsing this forum: Bing [Bot] and 2 guests