Part Number: MSPM0C1104
Tool/software:
I've noticed that the output frequency of Timer G14 is not constant, and it is influenced by program execution. I did a simple test where I set Timer G14 to a fixed output frequency of 625 Hz (38400 ticks @ 24Mhz). I made three different scenarios:
- empty loop,
- WFI() and
- updating the load value of TimerG14 in the main loop.
In each case, I get a different output frequency! The difference is about 0.4%.
I also set SYSOSC to PA18 and proved that SYSOSC has changed the same as the Timer output.
I hadn't expected that program execution would impact the timer or oscillator. Does anyone else have a similar experience? I could not find any information in the datasheet, errata nor forum.
I understand that SYSOSC is not very accurate and also temperature dependent, but I expect it to be stable in regard to program execution.
Regards
Goran