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

조회 수: 3 (최근 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개)


Help CenterFile Exchange에서 Simulink Functions에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by