TI C2000 launchpad F28379D serial communication failure
21 views (last 30 days)
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
- Serial communication failure detected. Error in 'mcb_param_est_host_read/Algorithm/SignalConditioning/ErrorConditions' (line 14) (error(message('mcb:blocks:SerialComFailure')));
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...
Sharat Yadav on 10 Jun 2021
The error directs that there is a communication failure while using the parameter estimation host model. Please ensure that the code is correctly deployed to the target and the heart beat led (RED LED, GPIO 34) on the F28379D launchpad is blinking.
For debugging, You can try open loop control example for the selected hardware to ensure the sanity of the hardware and the serial communication.