Samsung S5PC110 Manual page 765

Risc microprocessor
Table of Contents

Advertisement

S5PC110_UM
2. 1ms with RTC clock
Write TCFG[15] as 1
Write TICNTB as 15 and any value to TFCNTB.
Then you can get approximate 1ms tick. Although this tick has local error (frequency of one tick is 0.993 kHz or
1.024kHz, they are not 1ms tick), after 125 ticks, it represents exact 125ms passed. In other words, there is no
accumulation error.
Figure 2-6
If you do not required to use fractional divider for making tick, method for writing TICNTB and TFCNTB is as
follows:
Write TCFG[14] as 0
Write TICNTB as the value that you want to divide – 1
Exact 125ms, after 125 ticks
0.993KHz
0.993KHz
Approximate 1ms tick with RTC Clock Dedicated Fractional Divider
1.024
KHz
~
2 SYSTEM TIMER
2-5

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents