ARM Dual-Timer Module (SP804) Technical Reference Manual r1p0 issue D (DDI0271.pdf) has wrong descriptions.
#1 p2-9
Free-running modeFree-running mode is selected by setting the following bits in the TimerControlRegister:• set TimerMode bit to 1• set OneShot bit to 0.
-> TmerMode should be 0 in Free-runnng mode
#2 p2-10
Periodic modePeriodic mode is selected by setting the following bits in the TimerControl Register:• set TimerMode bit to 0• set OneShot bit to 0.
-> TimerMode should be 1 in Periodic mode.
#3 p2-13
Table 2-1 Expressions for calculating timer intervals
Periodic and One-shot : (TIMCLKENXDIV x PRESCALEDIV)/TIMCLKFREQ x TimerXLoad
-> Timer counter is decremented from TimerXLoad value to 0. So, this equation should be
(TIMCLKENXDIV x PRESCALEDIV)/TIMCLKFREQ x (TimerXLoad+1)
Please fix it.
Best regards.
Thank you very much for your response !