I am working on the i.MX8ULP platform using Linux BSP version 6.6, built with the Yocto Project. For implementing the buzzer functionality, I used the "fsl,imx7ulp-pwm"driver. However, there is an issue when setting different frequencies-the buzzer sound is generated only after a significant delay (more than 2 minutes). In contrast, when using a fixed frequency and varying only the duty cycle, the buzzer output works as expected.
Hello,
Could you share how are you changing the frequency?
Is it directly using the device tree?
Best regards/Saludos,
Aldo.