
Enhanced Time Processing Unit (eTPU2)
MPC5644A Microcontroller Reference Manual, Rev. 6
Freescale Semiconductor
969
Note that MISC can run regardless of SCM implementation type (RAM or ROM).
If SCMMISEN = 0 or VIS = 1, the MISC logic stays at its initial state, with address counter pointing to the
last SCM position and accumulator reset.
24.5.10.4 Performance monitoring features
24.5.10.4.1
Idle Counter
The Idle Counter Register ETPU_IDLE (see
Section 24.4.4.2, ETPU_IDLE – eTPU Idle Register
continuously counts microcycles in which the microengine is not busy with channel service. It can be used
to measure the microengine utilization by rating the count measured during a period of time to the number
of microcycles contained in the period. The Idle counter does not count microcycles when the engine is
stopped, or is in TST or halt states.
24.6
Initialization/Application information
24.6.1
Configuration sequence
After initial power-on reset the eTPU remains in an idle state
1
, requiring initialization of several registers
before any function can begin execution. Also, if the SCM is implemented in RAM, it should be initialized
with the eTPU application code prior to configuring the eTPU. Configuration procedures are summarized
as follows:
•
If SCM is implemented as RAM, load the eTPU application code (see
•
Initialize the SCM MISC logic (optional, see
Section 24.5.10.3.1, SCM Test – Multiple input
).
•
Initialize the eTPU time base configuration registers (ETPU_TBCR) to setup:
— TCR1 and TCR2 prescalers and clock sources.
— Select digital filtering mode.
— TCRCLK signal filter control.
— Angle mode operation (if necessary).
•
Initialize the eTPU engine configuration register(s) (ETPU_ECR) to setup:
— Entry table base.
— Filter prescaler clock control.
•
Initialize eTPU STAC configuration register(s) (ETPU_REDCR), if one needs to setup TCR1/2
resource Client/Server operation.
•
Write to the Channel Configuration registers (ETPU_CxCR) to choose the Function to be
performed by each channel, and its parameter base address.
•
Write to channel status control register (ETPU_CxSCR) to choose among the possible variations
within the function flow (FM bits).
•
Write to SPRAM for parameter initialization of each configured channel.
1. Except when device debug request is asserted on power-on reset: in this case, the microengines wake-up in halt state.
Содержание MPC5644A
Страница 2: ...MPC5644A Microcontroller Reference Manual Rev 6 2 Freescale Semiconductor...
Страница 24: ...MPC5644A Microcontroller Reference Manual Rev 6 24 Freescale Semiconductor...
Страница 26: ...MPC5644A Microcontroller Reference Manual Rev 6 26 Freescale Semiconductor...
Страница 52: ...Introduction MPC5644A Microcontroller Reference Manual Rev 6 52 Freescale Semiconductor...
Страница 56: ...Memory Map MPC5644A Microcontroller Reference Manual Rev 6 56 Freescale Semiconductor...
Страница 130: ...Device Performance Optimization MPC5644A Microcontroller Reference Manual Rev 6 130 Freescale Semiconductor...
Страница 204: ...Multi Layer AHB Crossbar Switch XBAR MPC5644A Microcontroller Reference Manual Rev 6 204 Freescale Semiconductor...
Страница 212: ...Peripheral Bridge PBRIDGE MPC5644A Microcontroller Reference Manual Rev 6 212 Freescale Semiconductor...
Страница 558: ...System Integration Unit SIU MPC5644A Microcontroller Reference Manual Rev 6 558 Freescale Semiconductor...
Страница 582: ...Frequency modulated phase locked loop FMPLL MPC5644A Microcontroller Reference Manual Rev 6 582 Freescale Semiconductor...
Страница 766: ...Enhanced Time Processing Unit eTPU2 MPC5644A Microcontroller Reference Manual Rev 6 766 Freescale Semiconductor...
Страница 1228: ...Decimation Filter MPC5644A Microcontroller Reference Manual Rev 6 1228 Freescale Semiconductor...
Страница 1236: ...System Information Module and Trim SIM MPC5644A Microcontroller Reference Manual Rev 6 1236 Freescale Semiconductor...
Страница 1250: ...Cyclic Redundancy Checker CRC Unit MPC5644A Microcontroller Reference Manual Rev 6 1250 Freescale Semiconductor...
Страница 1336: ...Deserial Serial Peripheral Interface DSPI MPC5644A Microcontroller Reference Manual Rev 6 1336 Freescale Semiconductor...
Страница 1388: ...Enhanced Serial Communication Interface ESCI MPC5644A Microcontroller Reference Manual Rev 6 1388 Freescale Semiconductor...
Страница 1440: ...FlexCAN Module MPC5644A Microcontroller Reference Manual Rev 6 1440 Freescale Semiconductor...
Страница 1624: ...FlexRay Communication Controller FlexRay MPC5644A Microcontroller Reference Manual Rev 6 1624 Freescale Semiconductor...
Страница 1670: ...JTAG Controller JTAGC MPC5644A Microcontroller Reference Manual Rev 6 1670 Freescale Semiconductor...
Страница 1692: ...Nexus Port Controller NPC MPC5644A Microcontroller Reference Manual Rev 6 1692 Freescale Semiconductor...
Страница 1701: ...Development Trigger Semaphore DTS MPC5644A Microcontroller Reference Manual Rev 6 Freescale Semiconductor 1701...
Страница 1702: ...Development Trigger Semaphore DTS MPC5644A Microcontroller Reference Manual Rev 6 1702 Freescale Semiconductor...