6.2 Real-Time Event Mapping

Table 6-1. Real-Time Event Mapping List
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
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

Low-speed measurement(10)(11)

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:
  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).