I try to use the pwm from GPIO to PWM control a fan. I would need around 20kHz with a variable duty cycle.
As far as I understand I need to activate the pwm overlay, but its only available for the h5. Can I change the UART or I2C overlay to achieve this or should I try to write my own overlay? Is that even doable?