The article outlines the real-time implementation stages for a permanent magnet synchronous motor (PMSM) control system using a field-oriented control (FOC) strategy. It details the development process, including model-in-the-loop, software-in-the-loop, processor-in-the-loop, and hardware-in-the-loop stages, along with results that highlight the evolution of the PMSM control system's performance. The study emphasizes the potential for implementing these control algorithms in low/medium embedded systems.