Simulink External Mode not working on C2000 Launchpad F28379D at high frequency

4 views (last 30 days)
Hello
I am trying to send pulses to gate driver by C2000 Launchpad F28379D microcontroller, in external mode when I am press RUN I receive this error
THIS problem happens with frwquency 100KhZ and above and with 50HZ and 50 kHZ working without problem.
*** Connecting to target... *** Loading the program to the target... *** Program is running. *** Disconnecting from target... *** Terminating debug session... *** LOAD & RUN DONE. ### Successful completion of build procedure for: FIivelevelHigeFrequency100khz ### Simulink cache artifacts for 'FIivelevelHigeFrequency100khz' were created in 'C:\Users\User\Desktop\salah\FIivelevelHigeFrequency100khz.slxc'.
Build process completed successfully
action: EXT_CONNECT
Component:Simulink | Category:Model
Error occurred while executing External Mode MEX-file 'ext_comm': Failed to connect to the target. A time-out occurred while waiting for the connection response from the target. Possible reasons for the time-out:
a) The target is not switched on.
b) The target is not connected to your host machine.
c) The application for the model is not running on the target. You might have clicked the Stop button. If the Run button is not dimmed, click it. Otherwise, click the Build button, which downloads and runs your application on the target.
Component:Simulink | Category:Block diagram error
Unable to connect to the 'TI Delfino F28379D LaunchPad' target for
THIS problem happems with frwquency 100KhZ and above and with 50HZ and 50 kHZ working without problem.
Could anyone help me please
Thanks

Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by