Based on customer requirement, I dragged the PMSM FOC control code here so that customer can download it from the link.
BR
Xiangjun Rong