This website will guide you through the FOC control algorithm and also the software implementation targeting an embedded microcontroller (NXP S32k). Please notice that the software will only cover the general functions, so the motor in a demo system (MCSPTE1AK144) can be spined. For different applications, there could be different requirements for the control software. These are not covered here.
However, if you have any specific functions that would like to be discussed, please feel free to contact us.