Hello TI,
I am wondering what is the initial timer interrupt in this TI example code:
// Initialize timer period to maximum:
//
CpuTimer0Regs.PRD.all = 0xFFFFFFFF;
//
// Initialize pre-scale counter to divide by 1 (SYSCLKOUT):
//
CpuTimer0Regs.TPR.all = 0;
CpuTimer0Regs.TPRH.all = 0;
Microcontroller is a TMS320F28379D chip with 200MHz. I think the timer should work with 5us interrupt based on these settings, but I am not sure.
Also, I know easy method is using "ConfigCpuTimer(&CpuTimer0, 200, ....);" , but it is not using this function in any part of the code for this timer. So, just the initialize settings exists.
Could you please help me with the mathematical cellulation of its time?