2.1.2 Real-Time Event Mapping

Table 2-1. Real-Time Event Mapping List
FunctionApplicationDescriptionEvent SourceEvent Destination
SafetyGeneral-purposeAutomatic 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)PMCPulse Width Modulation (PWM)
Motor control, PFCPuts the PWM outputs in Safe mode (overcurrent detection, etc.)(2)(3)Analog-to-Digital Converter (ADC)PWM
Motor controlPuts the PWM outputs in Safe mode (overspeed detection through timer quadrature decoder)(2)(4)TC0 PWM FAULTPWM
General-purpose, motor control, PFCPuts the PWM outputs in Safe mode (general-purpose fault inputs)(2)PWM_FIxPWM
Measurement triggerPower factor correction (DC-DC, lighting, etc.)

Duty cycle output waveform correction

Trigger source selection in PWM(5)(6)

ACCPWM
PWM_EXTRGxPWM
General-purposeTrigger source selection in ADCC(7)PIO ADTRGADCC
TC0 TIOA0ADCC
TC0 TIOA1ADCC
TC0 TIOA2ADCC
TC1 TIOA3ADCC
ACCADCC
Motor control

ADC-PWM synchronization(10)(11)

Trigger source selection in ADCC(7)

PWM event line 0ADCC
General-purpose

Temperature sensor

Low-speed measurement(10)(11)

RTC RTCOUT0ADCC
Delay measurementMotor controlPropagation delay of external components (IOs, power transistor bridge driver, etc.)(12)(13) PWM comparator output OC0TC0, TIOA0 and TIOB0
PWM comparator output OC1TC0, TIOA1 and TIOB1
PWM comparator output OC2TC0, TIOA2 and TIOB2
Audio clock recovery from EthernetAudioGMAC 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 AccessGeneral-purposePeripheral trigger event generation to transfer data to/from system memory(14)Peripherals with DMA HW interface numberXDMAC0
XDMAC1
Wake-upWake On LANGMAC uses WOL frame comparison and wake-up the core by enabling the crystalGMAC0, GMAC1PMC
Note:
  1. Refer to Main Crystal Oscillator Failure Detection in the section Power Management Controller (PMC).
  2. Refer to Fault Inputs and Fault Protection in the section Pulse Width Modulation Controller (PWM).
  3. Refer to Fault Mode in the section Analog Comparator Controller (ACC).
  4. Refer to Fault Mode in the section Analog Comparator Controller (ACC).
  5. Refer to PWM_ETRGx in the section Pulse Width Modulation Controller (PWM).
  6. Refer to PWM External Trigger Mode in the section Pulse Width Modulation Controller (PWM).
  7. Refer to Conversion Triggers in the section Analog-to-Digital Converter (ADC).
  8. Refer to Temperature Sensor in the section Analog-to-Digital Converter (ADC).
  9. Refer to Waveform Generation in the section Real-time Clock (RTC).
  10. Refer to PWM_CMPVx in the section Pulse Width Modulation Controller (PWM).
  11. Refer to PWM Comparison Units and PWM Event Lines in the section Pulse Width Modulation Controller (PWM).
  12. Refer to Comparator in the section Pulse Width Modulation Controller (PWM).
  13. Refer to Synchronization with PWM in the section Timer Counter (TC).
  14. Refer to the section DMA Controller (XDMAC).