How to structure the code scheduling thanks to a CPU timer? (TI C2000 f28379d)

1 次查看(过去 30 天)
Hello everyone,
I use the f28379D TI target on the MATLAB 2018a version. The goal is to control a power converter. I need to sequence the actions performed by the DSP. That is to say that from the value of a timer I want to perform appropriate actions on PWM commands. This is to perform the code in a automatic way by reading the timer value. I thought to use a Stateflow diagram to be able to describe the temporal evolution and the actions to take in the different states.
However, I have several questions,
How to obtain and set the timer on the sumilink interface?
How to integrate the Stateflow diagram on the simulink model?
Thanks for your help

回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by