Tool/software: Code Composer Studio
Hello All,
I am trying to read the value of the free running counter of the RTIA module , in my application i want to measure the periodicity of the tasks through measuring the value of the free running counter each time the task comes and calculate the task period. The difference between the two measured values of the FRC0 is not constant ,although the periodicity of the task is constant and equal 5msecs.
I want to understand how the FRC is incremented as the behavior i found is not as mentioned in the data sheet of AWR1843 section 17 for the RTI.
This is this how i read the FRC0: Through a pointer to the RTIA register, in the task 5msec,
rtireg = (rtiBASE_t *) 0xFFFFFC00U;
retVal = rtireg->CNT[0].FRCx ;
The timer is created using the OS configurator with the following configurations:
Thanks in advance
Nada