Hi, I try to use simulink and 28379D launchpad to control PMSM motor.
hardware description: Ti 28379D launchpad+ BOOSTXL-DRV8305EVM
software description: matlab2020a+simulink+CCS v10+Controlsuite+Embedded Coder Support Package for Texas Instruments C2000 Processors et.al
program description: mcb_pmsm_foc_qep_f28379d and mcb_param_est_f28379D_DRV8305 et.al
When I try to run my simulink model on TI launchpad F28379D, obviously, it can be build into lauchpad.
but when I try to control the motor by the host model(serial communication between lauchpad and PC), the errors below appear:
An error occurred while running the simulation and the simulation was terminated
and, the communication light (d9)in the launchpad goes off at once.
In fact, I run the motor through the same launchpad and simulink program successfully two days ago. The serialport driver, program and launchpad are as same as previous days. I don't know why it can't work abruptly. I tried a lot of ways, but it didn't work...