MPC5553/MPC5554 Microcontroller Reference Manual, Rev. 5
19-66
Freescale Semiconductor
A complete description of the eTPU and eMIOS trigger function and configuration is found in
Section 6.4.5.1, “eQADC External Trigger Input Multiplexing
.”
19.4.3.4
External Trigger Event Detection
The digital filter length field in
Section 19.3.2.3, “eQADC External Trigger Digital Filter Register
,” specifies the minimum number of system clocks that the external trigger signals 0
and 1 must be held at a logic level to be recognized as valid. All ETRIG signals are filtered. A counter for
each queue trigger is implemented to detect a transition between logic levels. The counter counts at the
system clock rate. The corresponding counter is cleared and restarted each time the signal transitions
between logic levels. When the corresponding counter matches the value specified by the digital filter
length field in
Section 19.3.2.3, “eQADC External Trigger Digital Filter Register (EQADC_ETDFR)
,” the
eQADC considers the ETRIG logic level to be valid and passes that new logic level to the rest of the
eQADC.
The filter is only for filtering the ETRIG signal. Logic after the filter checks for transitions between filtered
values, such as for detecting the transition from a filtered logic level zero to a filtered logic level one in
rising edge external trigger mode. The eQADC can detect rising edge, falling edge, or level gated external
triggers. The digital filter will always be active independently of the status of the MODE
n
field in
Section 19.3.2.6, “eQADC CFIFO Control Registers 0–5 (EQADC_CFCRn)
detection logic is only active when MODE
n
is set to a value different from disabled, and in case MODE
n
is set to single scan mode, when the SSS bit is asserted. Note that the time necessary for a external trigger
event to result into a CFIFO status change is not solely determined by the DFL field in the
“eQADC External Trigger Digital Filter Register (EQADC_ETDFR)
.” After being synchronized to the
system clock and filtered, a trigger event is checked against the CFIFO trigger mode. Only then, after a
valid trigger event is detected, the eQADC accordingly changes the CFIFO status. Refer to
for an example.
Figure 19-38. ETRIG Event Propagation Example
19.4.3.5
CFIFO Scan Trigger Modes
The eQADC supports two different scan modes, single-scan and continuous-scan. Refer to
for a summary of these two scan modes. When a CFIFO is triggered, the eQADC scan mode determines
whether the eQADC will stop command transfers from a CFIFO, and wait for software intervention to
rearm the CFIFO to detect new trigger events, upon detection of an asserted EOQ bit in the last transfer.
Refer to
Section 19.4.1.2, “Message Format in eQADC
,” for details about command formats.
CFIFOs can be configured in single-scan or continuous-scan mode. When a CFIFO is configured in
single-scan mode, the eQADC scans the command queue one time. The eQADC stops future command
transfers from the triggered CFIFO after detecting the EOQ bit set in the last transfer. After a EOQ bit is
detected, software involvement is required to rearm the CFIFO so that it can detect new trigger events.
External Trigger Signal
Signal State at Input Pin
Idle
Waiting for Trigger
Triggered
Disabled
Continuous-Scan High Level Gated External Trigger
System Clock
CFIFO Status
MODE
n
Filtered External
Trigger Signal
Trigger Synchronization & Filtering Delay
Trigger Detection Delay
Summary of Contents for MPC5553
Page 5: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 2 Freescale Semiconductor...
Page 21: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 xvi Freescale Semiconductor...
Page 47: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 1 26 Freescale Semiconductor...
Page 163: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 4 20 Freescale Semiconductor...
Page 179: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 5 16 Freescale Semiconductor...
Page 561: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 13 38 Freescale Semiconductor...
Page 615: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 14 54 Freescale Semiconductor...
Page 707: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 17 68 Freescale Semiconductor...
Page 755: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 18 48 Freescale Semiconductor...
Page 873: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 19 118 Freescale Semiconductor...
Page 984: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 Freescale Semiconductor 21 41...
Page 985: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 21 42 Freescale Semiconductor...
Page 1019: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 22 34 Freescale Semiconductor...
Page 1129: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 25 90 Freescale Semiconductor...