A lot of drives do NOT like SMPSs, for a very good reason. The remaining high frequency noise on the supply can send the driver mad. That is the main reason you are recommended to use a very simple transformer/diode/capacitor PS for the motors.
Cheers
Roger