6.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 |
ACC | PWM |
PWM_EXTRGx | PWM | |||
General-purpose | Trigger source selection in ADCC(7) | PIO ADTRG | ADCC | |
TC0 TIOA0 | ADCC | |||
TC0 TIOA1 | ADCC | |||
TC0 TIOA2 | ADCC | |||
TC1 TIOA3 | 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 |
RTC RTCOUT0 | ADCC | |
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 TIOB1 |
Direct Memory Access | General-purpose | Peripheral trigger event generation to transfer data to/from system memory(14) | Peripherals with DMA HW interface number | XDMAC0 |
XDMAC1 | ||||
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).