Rpi4 hardware pwm dtoverlay need kernel module?

Hi Frank,

Thanks for your response. I now have a custom nerves_system_rpi4 built and am currently experimenting with it. I cannot go the i2c route and have to use the hardware pwm as this is targeted to work with an existing daughterboard on the rpi4. I’ll create a PR for the nerves_system_rpi4 as soon as it works.

I never heard of the pigpio dma solution, right now I’m getting a 10khz frequency (from what I remember) on the hardware pwm pin 18 (gpio 12) which is working nice for led dimming. I’ll experiment with pigpio later too, thanks for the tip.

Regards,

Leon