I want to use the time base register of the core of MPC577C as a life long timer. Can you please provide any application note or example for the same?
We checked the core reference manual and did certain test on the MPC5777C board, and then came to the following conclusion:
Here are my answers.
1. Our concern is the init value when MCU powerup, “0” or one default value, or random value ?
Confirmed it is random on POR assertion.
2. If the value is “0”, how long time it can reach 0Xffffffff?
3. If one default value, what’s the real value? Who set it? how long time it can reach 0Xffffffff?
Once the Time Base is enabled by setting the Time Base Enable (TBE) bit in the Hardware Implementation Register 0 (spr HID0), it counts at system clock frequency.
4. If it is one random value, how does it generate?
It is undefined on MCU POR assertion.