Enhanced Time Processing Unit (eTPU2)
Freescale Semiconductor
29-47
PXR40 Microcontroller Reference Manual, Rev. 1
29.2.10.3 ETPUCxHSRR - eTPU Channel x Host Service Request Register
ETPUCxHSRR is used by the Host to issue service requests to the channel.
Figure 29-25. ETPUCxHSRR Register
HSR[0:2] — Host Service Request
This field is used by the Host CPU to request service to the channel (see
Section 29.3.2.5, Host Service
HSR = 000: no Host Service Request pending
HSR > 000: function-dependent Host Service Request pending.
HSR value turns to 000 automatically at the end of microengine service for that channel, but only if the
thread started due to an HSR. Host should write HSR>0 only when HSR=0. Writing HSR=000 withdraws
a pending request if scheduler did not begin to resolve the Entry Point yet, but it does not abort the service
thread from that point on. For more details, see the
eTPU Reference Manual
and
.
29.3
Functional Description
29.3.1
Watchdog
Each engine has a watchdog mechanism to prevent a thread or a sequence of threads from running too long,
impacting the latency of the other channel services. The watchdog is configured through the register
ETPUWDTR (see
Section 29.2.7.1, ETPUWDTR - eTPU Watchdog Timer Register
). When the watchdog
is enabled, an internal counter increments on each microcycle when a thread is executing. If the count is
greater than the value specified in the ETPUWDTR field WDCNT and a thread is still executing, the
watchdog:
1. Forces an END of the thread
2. Issues a Global Exception and sets the ETPUMCR bit WDTO (see
eTPU Module Configuration Register
).
The watchdog can be configured in one of the following modes, defining how the internal watchdog count
is reset:
Channel_Registe 0x8
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
R
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
W
RESET:
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
R
0
0
0
0
0
0
0
0
0
0
0
0
0
HSR
W
RESET:
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
= Unimplemented or Reserved
Summary of Contents for PXR4030
Page 1: ...PXR40 Microcontroller Reference Manual Devices Supported PXR4030 PXR4040 PXR40RM Rev 1 06 2011...
Page 30: ...PXR40 Microcontroller Reference Manual Rev 1 Freescale Semiconductor xxx...
Page 40: ...PXR40 Microcontroller Reference Manual Rev 1 xl Freescale Semiconductor...
Page 66: ...Memory Map PXR40 Microcontroller Reference Manual Rev 1 2 4 Freescale Semiconductor...
Page 120: ...Signal Descriptions 3 54 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Page 860: ...FlexCAN Module 24 50 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Page 1167: ...Decimation Filter Freescale Semiconductor 28 53 PXR40 Microcontroller Reference Manual Rev 1...
Page 1168: ...Decimation Filter 28 54 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...