How to configure general purpose TIMER on f28379d TI c2000
조회 수: 17 (최근 30일)
I use the f28379D TI target on the MATLAB 2018a version. I need to use a Timer as independant time base to post interrupts under precise conditions. I see that ther is EV Timer blocks on the c281x librairie:
But about the f28379 I can not find anything that corresponds. Should I use a PWM module and set it?
Also, how to obtain the instaneous value of the timer in order to take action and post interrupts?
Venkatesh Chilapur 2018년 8월 8일
Please refer the example 'c281x_asyncscheduling_ert' in which the EV timer blocks are used. And the equivalent model for F2837x 'c2807x_2837xx_asyncscheduling_ert' in which the Timer functionality is realized using ePWM blocks.