19-12
MPC860 PowerQUICC UserÕs Manual
MOTOROLA
Part V. The Communications Processor Module
The speciÞc deÞnition of each controllersÕ parameter RAM is protocol dependent and is
described in the individual protocol chapters.
19.7 The RISC Timer Table
The CP can control a maximum of 16 timers separate and distinct from the four
general-purpose timers and baud-rate generators of the CPM. The RISC timer table free the
core from scanning a software timer table and are used for protocols that do not require
extreme precision. The timers are clocked from an internal timer accessible to the CP only.
Each pair of timers can be conÞgured as a pulse width modulation (PWM) channel; a
maximum of eight channels are supportable. The output of the channel is driven on one of
the port B pins.
The following list summarizes the main features of the RISC timer table:
¥
Supports up to 16 timers
¥
Supports up to 8 PWM channels
¥
Three timer modes: one-shot, restart, and PWM
¥
Maskable interrupt on timer expiration
¥
Programmable timer resolutions as low as 41
m
s at 25 MHz
¥
Maximum timeout periods of 172 seconds at 25 MHz
¥
Continuously updated reference counter
RISC timer table operations are based on a ÒtickÓ in the CP internal timer that is
programmed in the RCCR; see Section 19.5.1, ÒRISC Controller ConÞguration Register
(RCCR).Ó The tick is a multiple of 1,024 general system clocks. The RISC timer table has
the lowest priority of all CP operations, so if it is busy with other tasks and unable to service
the timer during a tick interval, one or more of the timers might not be updated. This
behavior can be used to estimate the worst-case loading of the CP; see Section 19.7.8,
ÒUsing the RISC Timers to Track CP Loading.Ó The timer table is conÞgured using the
RCCR, the timer table parameter RAM, and the RISC controller timer event/mask registers
(RTER/RTMR), and by issuing
SET
TIMER
to the CPCR.
19.7.1 RISC Timer Table Scan Algorithm
The CP scans the timer table once every tick of the internal CP timer. For each valid timer
in the table, the CP decrements the count and checks for a timeout. If no timeout occurs, it
moves to the next timer. If a timeout does occur, the CP sets the corresponding event bit in
RTER and then checks R_TMR to see if the timer must be restarted. If it does, the CP leaves
the timer valid bit set in the R_TMV register and resets the current count to the initial count;
otherwise, the CP clears R_TMV. Once the timer table is scanned, the CP updates
TM_CNT and stops working on the timer table until the next scan tick.
If
SET
TIMER
is issued, the CP makes the appropriate modiÞcations to the timer table and
parameter RAM, but does not scan the timer table until the next tick of the internal CP
Содержание MPC860 PowerQUICC
Страница 3: ...MPC860UM AD 07 98 REV 1 MPC860 PowerQUICC ª UserÕs Manual ...
Страница 36: ...xxxvi MPC860 PowerQUICC UserÕs Manual MOTOROLA CONTENTS Paragraph Number Title Page Number ...
Страница 78: ...I iv MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Страница 88: ...1 10 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Страница 114: ...3 16 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Страница 226: ...8 32 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part II PowerPC Microprocessor Module ...
Страница 262: ...9 36 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part II PowerPC Microprocessor Module ...
Страница 274: ...III iv MPC860 PowerQUICC UserÕs Manual MOTOROLA Part III Configuration ...
Страница 320: ...12 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part III Configuration ...
Страница 325: ...MOTOROLA Part IV Hardware Interface IV v Part IV Hardware Interface ...
Страница 326: ...IV vi MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Страница 352: ...13 26 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Страница 394: ...14 42 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Страница 426: ...15 32 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Страница 530: ...17 26 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Страница 632: ...21 44 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 660: ...22 28 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 708: ...24 24 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 748: ...27 20 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 846: ...31 20 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 914: ...35 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 948: ...36 34 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 998: ...37 48 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part VI Debug and Test ...
Страница 1016: ...A 10 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Страница 1024: ...B 8 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Страница 1030: ...C 6 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Страница 1086: ...Glossary 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA ...
Страница 1106: ......