Enhanced Queued Analog-to-Digital Converter (eQADC)
MPC5565 Microcontroller Reference Manual, Rev. 1.0
Freescale Semiconductor
18-67
18.4.3.3
External Trigger from eTPU or eMIOS Channels
The six eQADC external trigger inputs can be connected to either an external pin (either ETRIG0,
ETRIG1, GPIO206, or GPIO207), an eTPU channel, or an eMIOS channel. The input source for each
eQADC external trigger is individually specified in the eQADC trigger input select register (SIU_ETISR)
in the SIU block.
The eQADC trigger numbers specified by SIU_ETISR[TSEL(0-5)] correspond to CFIFO numbers 0-5. To
calculate the CFIFO number that each trigger is connected to, divide the eDMA channel number by 2.
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
.”
18.4.3.4
External Trigger Event Detection
The digital filter length field in
Section 18.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 18.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 is always active independently of the status of the MODE
n
field in
Section 18.3.2.6, “eQADC CFIFO Control Registers 0–5 (EQADC_CFCRn)
,” but the edge, level
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.
Содержание MPC5565
Страница 18: ...MPC5565 Microcontroller Reference Manual Devices Supported MPC5565 MPC5565 RM Rev 1 0 09 2007...
Страница 34: ...MPC5565 Reference Manual Rev 1 0 Freescale Semiconductor 15...
Страница 35: ...MPC5565 Reference Manual Rev 1 0 16 Freescale Semiconductor...
Страница 325: ...Error Correction Status Module ECSM MPC5565 Microcontroller Reference Manual Rev 1 0 8 16 Freescale Semiconductor...
Страница 515: ...External Bus Interface EBI MPC5565 Microcontroller Reference Manual Rev 1 0 12 70 Freescale Semiconductor...
Страница 553: ...Flash Memory MPC5565 Microcontroller Reference Manual Rev 1 0 13 38 Freescale Semiconductor...
Страница 559: ...SRAM MPC5565 Microcontroller Reference Manual Rev 1 0 14 6 Freescale Semiconductor...
Страница 577: ...Boot Assist Module BAM MPC5565 Microcontroller Reference Manual Rev 1 0 15 18 Freescale Semiconductor...
Страница 895: ...Deserial Serial Peripheral Interface DSPI MPC5565 Microcontroller Reference Manual Rev 1 0 19 72 Freescale Semiconductor...
Страница 973: ...Preface MPC5565 Microcontroller Reference Manual Rev 1 0 21 36 Freescale Semiconductor...
Страница 1145: ...MPC5565 Register Map MPC5565 Microcontroller Reference Manual Rev 1 0 A 60 Freescale Semiconductor...
Страница 1153: ...Calibration MPC5565 Microcontroller Reference Manual Rev 1 0 B 8 Freescale Semiconductor...