Raspberry as primary mcu

No, its not. Ref About the Developers category

Check your settings against RPi microcontroller - Klipper documentation and https://github.com/dotnet/iot/blob/main/Documentation/raspi-pwm.md

Maybe a permission issue. In any case post your klippy.log