Is T0VAL loaded when T0LD is written? If so does the Timer0 need to be stopped?
According to the datasheet T1VAL is loaded from T1LD when T1CLRI is written. Does it also apply to T0VAL and T0CLRI?
As written "The timer load value is immediately written to the timer value register - this is valid for all ADuC7xxx parts."
Means if you write to TxLD MMR the value is immediately transferred to the TxVAL MMR as long as the Timer is running and under other given conditions - as explained in the other threads.
It has no relationship to the access of TxCLRI - TxCLRI only clears a pending timer interrupt.
This is a error in the datasheet - thanks for notice.
For Timer 1 it should be "Timer1 reloads the value from T1LD either when Timer1 overflows or immediately when T1LD is written."
The timer load value is immediately written to the timer value register - this is valid for all ADuC7xxx parts.
Please also look into :
Does stopping timer 1 reset T1VAL?
Last post in How to connect JTAG pins in final PCB design?
Also of interest in that context ADuC702x timers, synchronisation across asynchronous clock domains
Thank you for your help. I have already read all the aforementioned topics. But it's still unknown to me if writing the T0CLRI reloads T0VAL?
Retrieving data ...