How to measure control law execution time in Launchxl-F28379D?
Mostra commenti meno recenti
Dear Sir or Madam,
I have implemented a digital control law in a Launchxl-F28379D using the Embeded Code Support for TI C2000 ProcessorsSimuli.
The control law is implemented inside an IRQ trigger function block between the AD and and the DA block.
How can I measure the execution time of this control law? I have used codertarget.profile.getData( ), but this gave me the exectution time for AD an DA but not in between.
In code composer source code we usually add a GPIO bit activation after getting AD value and GPIO bit deactivation after control law computation. This allows oscilloscope measurement. But I don't know how to do something simular in Simulink.
Can you help me?
Thanks in advance
With best regards.
Enric
codertarget.profile.getData('f28379D_AD_int')
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Multicore Processor Targets in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!