Prototyping setup for MPC for PMSM