This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28P650SK: 2-phase stepper motor FOC control on F28P650SK

Part Number: TMS320F28P650SK


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.

  • (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?

    Yes. The peripheral resource are enough. The functions mentioned are the software executed by CPU, not related to the peripheral,

    (2) As of August 2025, is there a dedicated 2-phase FOC stepper motor controller function that I can use?

    No.

    (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.

    You can find the related papiers and implement the existing 3-phase motor FOC modules.