
Enhanced Time Processing Unit (eTPU2)
MPC5644A Microcontroller Reference Manual, Rev. 6
Freescale Semiconductor
777
1
MDIS—Module Disable Bit
When MDIS is set, the engine shuts down its internal clocks, going into Module Disable Mode. TCR1 and
TCR2 cease to increment, and input sampling stops. The engine asserts the stop flag (STF) bit to indicate
that it has stopped However, the BIU continues to run, and the Host can access all registers except for the
channel registers (see list of channel registers on
Section 24.4.7, Channel configuration and control
). After MDIS is set, even before STF asserts, data read from the channel registers is not
meaningful and writes are ineffective, issuing a Bus Error. When the MDIS bit is asserted while the
microcode is executing, the eTPU will stop when the thread is complete.
1: Commands engine to stop its clocks.
0: eTPU engine runs.
Stop completes on the next system clock after the stop condition is valid. The MDIS bit is write-protected
when VIS = 1.
Note:
The Timebase registers can still be read with MDIS = 1, but writes are ineffective and a Bus Error is
issued.
Global Channel Registers and SPRAM can be accessed normally.
Note:
Once MDIS is switched from 1 to 0 or vice versa, it must not be written a different value until STF
changes accordingly.
2
Reserved
3
STF—Stop Flag Bit
The eTPU system is fully stopped after the eTPU engine asserts its stop flag (STF). In case of an IP-Bus
stop, the eTPU acknowledges the stop only after any ongoing thread is complete and the eTPU engine
has stopped.
1: Engine has stopped (after the local MDIS bit has been asserted, or after the IP-Bus stop line has been
asserted).
0: Engine is operating.
Summarizing engine stop conditions, which STF reflects:
STF_1:= (after stop completed) MDIS_1 | device stop request
STF_2:= (after stop completed) MDIS_2 | device stop request
STF_1 and STF_2 mean STF bit from engine 1 and STF bit from engine 2 respectively.
4-7
Reserved
8
HLTF—Halt Mode Flag
If eTPU engine entered halt state, this flag is asserted. The flag remains asserted while the microengine
is in halt state, even during a single-step or forced instruction execution. See
, for further details about entering Halt Mode.
1: eTPU engine is halted
0: eTPU engine is not halted.
9-11
Reserved
Table 24-9. ETPU_ECR field description
Field
Description
Содержание 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...