2.2.4. Clock signals and clock enables

The Dual-Timer module uses two input clocks:

The relationship between TIMCLK and PCLK must observe the following constraints:

TIMCLK, TIMCLKEN1, and TIMCLKEN2 can be used in the ways described in the following sections:

Note

Unless otherwise stated these examples use a prescale setting of divide by 1. The examples apply to either Timer1 or Timer2 in the module. TIMCLKENX refers to either TIMCLKEN1 or TIMCLKEN2.

TIMCLK equals PCLK and TIMCLKENX equals one

Figure 2.2 shows the case where TIMCLK is identical to PCLK and TIMCLKENX is permanently enabled. In this case, the counter is decremented on every TIMCLK edge.

Figure 2.2. TIMCLK equals PCLK and TIMCLKENX equals one, clock example

TIMCLK equals PCLK and TIMCLKENX is pulsed

Figure 2.3 shows the case where TIMCLK is identical to PCLK but TIMCLKENX only enables every second TIMCLK edge. In this case, the counter is decremented on every second TIMCLK rising edge.

Figure 2.3. TIMCLK equals PCLK and TIMCLKENX is pulsed, clock example

TIMCLK is less than PCLK and TIMCLKENX equals one

Figure 2.4 shows the case where TIMCLK frequency is a submultiple of the PCLK frequency but the rising edges of TIMCLK are synchronous and balanced with PCLK edges. TIMCLKENX is permanently enabled. In this case, the counter is decremented on every TIMCLK rising edge.

Figure 2.4. TIMCLK is less than PCLK and TIMCLKENX equals one, clock example

TIMCLK is less than PCLK and TIMCLKENX is pulsed

Figure 2.5 shows the case where TIMCLK frequency is a submultiple of the PCLK frequency but the rising edges of TIMCLK are synchronous and balanced with PCLK edges. TIMCLKENX only enables every second TIMCLK edge. In this case, the counter is decremented on every second TIMCLK rising edge.

Figure 2.5. TIMCLK is less than PCLK and TIMCLKENX is pulsed, clock example

Copyright © 2002-2004 ARM Limited. All rights reserved.ARM DDI 0271D
Non-Confidential