
Enhanced Time Processing Unit (eTPU2)
MPC5644A Microcontroller Reference Manual, Rev. 6
912
Freescale Semiconductor
is written fist and TICKS on the second microinstruction after (for instance with a NOP between them),
making the new TICKS value valid for the next tooth regardless of the mode.
The mode-dependent behavior is:
•
In Normal mode, the new TICKS value becomes valid before EAC goes High Rate due to the IPH;
•
In Halt mode, the EAC goes to Normal mode, and new TICKS is valid for the next tooth;
•
In High Rate mode, the new TICKS value is effective when EAC leaves High Rate mode, and IPH
is ignored;
24.5.7.12.4
IPH and MISSCNT
If both IPH and MISSCNT are written non-zero values:
•
In Normal mode, at the next microcycle the EAC goes to High Rate mode, the MISSCNT field in
TPR goes to 0, and the missing teeth are counted in High Rate mode.
•
In Halt mode, the EAC goes to Normal mode for one microcycle and then, yet another microcycle
later, goes to High Rate mode, counting the missing teeth. The TPR fields IPH and MISSCNT are
zeroed on the transition from Normal to High Rate mode.
•
In High Rate mode, IPH is ignored (resetting at the next microcycle) and MISSCNT is buffered
(see
Section 24.5.7.12.1, TPR buffering
).
24.5.7.12.5
IPH and HOLD
If IPH and HOLD are asserted at once, IPH cancels the HOLD and both reset. The EAC is not frozen,
regardless of the mode.
24.5.7.12.6
LAST and HOLD
If LAST and HOLD are written 1 at once, LAST asserts and EAC is frozen. When a physical tooth is
detected or IPH is asserted, the EAC is unfrozen in the same state it was before, and LAST is kept asserted.
24.5.8
Microengine
Each eTPU engine has a microengine that fetches, decodes and executes microinstructions. The
Microengine only works when there are service requests to be attended, otherwise it turns to idle state,
controlled by Hardware Scheduler (see
Microcode is stored in Shared Code Memory (SCM) that is 32-bit wide. Microengine can access SPRAM
using a different bus from the one used to accesses code memory, so that code and data can be accessed at
the same time (Harvard Architecture).
Some of eTPU functionality can only be made through the microengine, like configuring channels and
interrupting host. Microengine gives eTPU a high degree of flexibility, since any desired treatment for
channel’s events can be implemented; however, that flexibility comes at the cost of channel service’s
latency. Latency is worsened when channels from a same eTPU engine contend for microengine service.
In
a block diagram of microengine architecture is shown.
Microengine features are summarized as follows:
Содержание 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...