The pages link below provide keys for motor Rapid Control Prototyping of synchronous motor. Originally intended to 5th year students in the electrical engineering department of INSA Lyon for the CCSA option, the objective of these pages is to propose an initiation to the programming environment toolbox MPLAB Device Blocks for Simulink. It allows targeting Microchip Microcontrollers directly from the Matlab-Simulink environment.