Could be all you need is a pull up resistance on the pwm output, possibly inverting the configuration.

You can test the regulator input to see if it has a pull up or pull down resistor, if not you need to add one to the duet side.