Enhanced Time Processing Unit (eTPU)
MPC5565 Microcontroller Reference Manual, Rev. 1.0
Freescale Semiconductor
17-5
17.1.4.2
eTPU Timer Channels
The eTPU engine has 32 identical, independent channels. Each channel corresponds to an input/output
signal pair. Every channel has access to two 24-bit counter registers, TCR1 and TCR2.
Each channel consists of event logic which supports a total of four events, two capture and two match
events. The event logic contains two 24-bit capture registers and two 24-bit match registers. The match
registers are compared to a selected TCR by greater-than-or-equal-to and equal-only comparators. The
match and compare register pairs enable many combinations of single and double-action functions.
The channel configuration can be changed by the microengine. Each channel can perform double capture,
double match or a variety of other capture-match combinations. Service requests can be generated on one
or both of the match events and/or on one of the capture events.
Digital filters that have different filtering modes are provided for the input signals.
Every channel can use any time base or angle counter for either match or capture operation. For example,
a match on TCR1 can capture the value of TCR2. The channels can request service from the microengine
due to recognized pin transitions (input events) or time base matches.
Every eTPU channel can be configured with the following combinations:
•
Single input capture, no match (TPU3 functionality)
•
Single input capture with single match time-out (TPU3 functionality)
•
Single input capture with double match time-out with several double match submodes
•
Double input capture with single or double match time-out with several double match submodes
•
Single output match (TPU3 functionality)
•
Double output match with several double match submodes
•
Input-dependent output generation
The double match functionality has various combinations for generation of service request and
determining pin actions.
17.1.4.3
Host Interface
The engine’s host interface allows the device core to control the operation of the eTPU. In order for the
eTPU to start operation, the device core must initialize the eTPU by writing to the appropriate host
interface registers to assign a function and priority to each channel. In addition, the device core writes to
the host service request and channel configuration registers to further define operation for each initialized
channel.
NOTE
The host transfers the code image for the eTPU microcode to the SCM, then
the host enables eTPU access to the SCM (which also disables host access).
Содержание MPC5565
Страница 18: ...MPC5565 Microcontroller Reference Manual Devices Supported MPC5565 MPC5565 RM Rev 1 0 09 2007...
Страница 34: ...MPC5565 Reference Manual Rev 1 0 Freescale Semiconductor 15...
Страница 35: ...MPC5565 Reference Manual Rev 1 0 16 Freescale Semiconductor...
Страница 325: ...Error Correction Status Module ECSM MPC5565 Microcontroller Reference Manual Rev 1 0 8 16 Freescale Semiconductor...
Страница 515: ...External Bus Interface EBI MPC5565 Microcontroller Reference Manual Rev 1 0 12 70 Freescale Semiconductor...
Страница 553: ...Flash Memory MPC5565 Microcontroller Reference Manual Rev 1 0 13 38 Freescale Semiconductor...
Страница 559: ...SRAM MPC5565 Microcontroller Reference Manual Rev 1 0 14 6 Freescale Semiconductor...
Страница 577: ...Boot Assist Module BAM MPC5565 Microcontroller Reference Manual Rev 1 0 15 18 Freescale Semiconductor...
Страница 895: ...Deserial Serial Peripheral Interface DSPI MPC5565 Microcontroller Reference Manual Rev 1 0 19 72 Freescale Semiconductor...
Страница 973: ...Preface MPC5565 Microcontroller Reference Manual Rev 1 0 21 36 Freescale Semiconductor...
Страница 1145: ...MPC5565 Register Map MPC5565 Microcontroller Reference Manual Rev 1 0 A 60 Freescale Semiconductor...
Страница 1153: ...Calibration MPC5565 Microcontroller Reference Manual Rev 1 0 B 8 Freescale Semiconductor...