Tool/software:
I'm looking at having x3 FOC motor controllers for 2-phase stepper motors on a TMS320F28P650SK. Each stepper motor requires the following.
• x2 differential 16-bit ADC's
• x1 ABN encoder inputs
• x8 PWM signals
• x2 position limits
• x1 single ended 12-bit ADC for temperature monitoring
There will also be CAN, UART, SPI and USB to communicate with other peripherals. This can run on CPU1 while the FOC can run on the CLA, if possible.
(1) Is the F28P650SK6PZPR suitable for x3 FOC given there are the Clarke Transformation (Clarke), the Park Transformation (Park), the inverse Park Transformation (iPark), and the inverse Clarke Transformation (iClarke)? Or would I need the pin-for-pin compatible F28P650DK6PZPR?
(2) As of August 2025, is there a dedicated 2-phase FOC stepper motor controller function that I can use?
(3) If no to (2), how can I realise this? Would I need to modify an existing function in the motor control library? Some guidance would be helpful here as I'm starting from a blank sheet of paper.