This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello,
I want to use a block of CPU Timers(0,1,2) to configure a period for my tasks from MathWorks Embedded Coder Support Package for TI C2000. But I cannot find them. Can you let me know where I can find them?
BR,
Hao
Hi Hao,
I am checking with MathWorks expert on this. I will get back to you by tomorrow.
Hi,
Please note CPU Timer 0 is used to schedule the base rate.
What we call the step time i.e the rate of the base task is derived from CPU Timer 0.
So Timer 0 is internally used and configured.
You will need to add custom code blocks to configure and use any remaining timers.
We also a have a shipping example around ePWM for timer purpose.
'c2807x_2837xx_asyncscheduling_ert' in which the Timer functionality is realized using ePWM blocks.
HTH,