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.

LAUNCHXL-F28069M: Simulink closed loop control system

Part Number: LAUNCHXL-F28069M


Hi all,
I'm using the Ti LAUNCHXL-28069M to run the PMSM motor using the SPI absolute encoder.
I used the "mcb_pmsm_foc_qep_f28069LaunchPad" example and modified it to do the position control of the motor as shown below.
The serial communication interface(SCI - A) and interrupt are used for the communication and the interrupt is used for Serial RX and TX.(priority is 40 and 60).
The issue is that if I add one feedback loop for position control or speed control, it's working but if I used both feedback loops, Serial Receive values(PosRef_PU) does not enter (it keeps showing 0) and motor does not work.
This is the position control block
This is a velocity control block.
I don't know why the controller does not work if I use the two closed-loop control.
Could anyone please help me with this issue?
Best regards,