Connection issue with host model to target Texas instruments c2000 F28069 launch pad drv8035 inverter.

4 次查看(过去 30 天)
I have an issue with an example project provided with the c2000 embedded coder support package. Field oriented control of PMSM using quadrature encoder. I can not get the motor to spin at all. The hardware setup works well for TI software Instaspin motion software. I believe the reason is because the host model cannot connect or is not sending the speedref at all to the other model.
Hardware:
f28069m launchpad
BOOSTXL-DRV8305 inverter
Teknic m2310p - motor
Example project:
open_system('mcb_pmsm_foc_qep_f28069LaunchPad')
Host Model:
open_system('mcb_host_model_f28069m')
Steps:
Upon no results also com was not found, I assumed the host model was not communicating
Not sure what to do just to get simple motor control through the example projects.

采纳的回答

Sharat Yadav
Sharat Yadav 2021-9-26
Hello Anderson,
Given the TI Instaspin based example working well, I am assuming that the kit is in working condtion.
the document Host Target Communication explains in detail about the Host Target Communication Configuration.
Kindly take a note of the COM Port number, this needs to be configured in the block parameter "Port Name" under the "Serial 1" tab of the "Host Serial Setup" block in the Host Model.
Kindly ensure that the Baud Rate is 5.625e6 the default value unless you have changed the same in the target model.
Also, you may want to use the Open Loop Control Example to ensure hardware sanity and ensure serial communications.
Thanks
Sharat

更多回答(0 个)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by