2.1.2 Real-Time Event Mapping
Function | Application | Description | Event Source | Event Destination |
---|---|---|---|---|
Safety | General-purpose | Automatic switch to reliable main RC oscillator in case of main crystal clock failure(1) | Power Management Controller (PMC) | PMC |
General-purpose, motor control, Power Factor Correction (PFC) | Puts the PWM outputs in Safe mode in case of main crystal clock failure(1, 2) | PMC | Pulse Width Modulation (PWM) | |
Motor control, PFC | Puts the PWM outputs in Safe mode (overcurrent detection, etc.)(2, 3) | Analog-to-Digital Converter (ADC) | PWM | |
Motor control | Puts the PWM outputs in Safe mode (overspeed detection through timer quadrature decoder)(2, 4) | TC0 PWM FAULT | PWM | |
General-purpose, motor control, PFC | Puts the PWM outputs in Safe mode (general-purpose fault inputs)(2) | PWM_FIx | PWM | |
Measurement trigger | Power factor correction (DC-DC, lighting, etc.) |
Duty cycle output waveform correction Trigger source selection in PWM(5, 6) | ACC | PWM |
PWM_EXTRGx | PWM | |||
General-purpose | Trigger source selection in ADCC(7) | PIO ADTRG | ADCC | |
TIOA0 (TC0 TIOA0) | ADCC | |||
TIOA1 (TC0 TIOA1) | ADCC | |||
TIOA2 (TC0 TIOA2) | ADCC | |||
TIOA3 (TC1 TIOA0) | ADCC | |||
ACC | ADCC | |||
Motor control |
ADC-PWM synchronization(10, 11) Trigger source selection in ADCC(7) | PWM event line 0 | ADCC | |
General-purpose |
Temperature sensor Low-speed measurement(10, 11) | RTC RTCOUT0 | ADCC | |
RTC RTCOUT1 | ||||
Delay measurement | Motor control | Propagation delay of external components (IOs, power transistor bridge driver, etc.)(12, 13) | PWM comparator output OC0 | TC0, TIOA0 and TIOB0 |
PWM comparator output OC1 | TC0, TIOA1 and TIOB1 | |||
PWM comparator output OC2 | TC0, TIOA2 and TIOB2 | |||
Audio clock recovery from Ethernet | Audio | GMAC GTSUCOMP signal adaptation via TC (TC_EMR.TRIGSRCB) in order to drive the clock reference of the external PLL for the audio clock |
GMAC0 GTSUCOMP | TC1 TIOA1 |
GMAC1 GTSUCOMP | TC1 TIOA2 | |||
Direct Memory Access | General-purpose | Peripheral trigger event generation to transfer data to/from system memory(14) | Peripherals with DMA HW interface number | XDMA0 |
XDMA1 | ||||
Wake-up | Wake On LAN | GMAC uses WOL frame comparison and wake-up the core by enabling the crystal | GMAC0, GMAC1 | PMC |
Note:
- Refer to Main Crystal Oscillator Failure Detection in the section Power Management Controller (PMC).
- Refer to Fault Inputs and Fault Protection in the section Pulse Width Modulation Controller (PWM).
- Refer to Fault Mode in the section Analog Comparator Controller (ACC).
- Refer to Fault Mode in the section Analog Comparator Controller (ACC).
- Refer to PWM_ETRGx in the section Pulse Width Modulation Controller (PWM).
- Refer to PWM External Trigger Mode in the section Pulse Width Modulation Controller (PWM).
- Refer to Conversion Triggers in the section Analog-to-Digital Converter (ADC).
- Refer to Temperature Sensor in the section Analog-to-Digital Converter (ADC).
- Refer to Waveform Generation in the section Real-time Clock (RTC).
- Refer to PWM_CMPVx in the section Pulse Width Modulation Controller (PWM).
- Refer to PWM Comparison Units and PWM Event Lines in the section Pulse Width Modulation Controller (PWM).
- Refer to Comparator in the section Pulse Width Modulation Controller (PWM).
- Refer to Synchronization with PWM in the section Timer Counter (TC).
- Refer to the section DMA Controller (XDMAC).