Motorola PowerQUICC II MPC8280 Series Reference Manual page 668

Table of Contents

Advertisement

Features
18.1 Features
The key features of the timer include the following:
• The maximum input clock is the bus clock
• Maximum period of 4 seconds (at 66 MHz)
• 16-nanosecond resolution (at 66 MHz)
• Programmable sources for the clock input
• Input capture capability
• Output compare with programmable mode for the output pin
• Two timers cascade internally or externally to form a 32-bit timer
• Free run and restart modes
• Functional compatibility with timers on the MC68360 and MPC860
18.2 General-Purpose Timer Units
The clock input to the prescaler can be selected from three sources:
• The bus clock (CLKIN)
• The bus clock divided by 16 (CLKIN/16)
• The corresponding TINx, programmed in the parallel port registers
The bus clock is generated in the clock synthesizer and defaults to the bus frequency.
However, the bus clock has the option to be divided before it leaves the clock synthesizer.
This mode, called slow go, is used to save power. Whatever the resulting frequency of the
bus clock, the user can either choose that frequency or the frequency divided by 16 as the
input to the prescaler of each timer. Alternatively, the user may prefer TINx to be the clock
source. TINx is internally synchronized to the internal clock. If the user has chosen to
internally cascade two 16-bit timers to a 32-bit timer, then a timer can use the clock
generated by the output of another timer.
The clock input source is selected by the corresponding TMR[ICLK] bits. The prescaler is
programmed to divide the clock input by values from 1 to 256 and the output of the
prescaler is used as an input to the 16-bit counter. The best resolution of the timer is one
clock cycle (16 ns at 66 MHz). The maximum period (when the reference value is all ones)
is 268,435,456 cycles (4 seconds at 66 MHz).
Each timer can be configured to count until a reference is reached and then either begin a
new time count immediately or continue to run. The FRR bit of the corresponding TMR
selects each mode. Upon reaching the reference value, the corresponding TER bit is set and
an interrupt is issued if TMR[ORI] = 1. The timers can output a signal on the timer outputs
(TOUT1–TOUT4) when the reference value is reached (selected by the corresponding
TMR[OM]). This signal can be an active-low pulse or a toggle of the current output. The
18-2
Freescale Semiconductor, Inc.
MPC8280 PowerQUICC II Family Reference Manual
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA

Advertisement

Table of Contents
loading

This manual is also suitable for:

Powerquicc ii mpc8270Powerquicc ii mpc8275Powerquicc ii mpc8280

Table of Contents