I missed the 24V part. That indeed needs a buck converter, which should provide quite good isolation from the motor noise in the process.
I missed the 24V part. That indeed needs a buck converter, which should provide quite good isolation from the motor noise in the process.