The following diagram shows how the PWMs are connected to each other and to their environment. - - -> Trigger path are defined by PWM_OutputTriggerEnable() and XBARA_SetSignalsConnection(). Triggers travel through XBAR to other PWMs's Exernal Sync or to ADC_ETC. -----> Output path are defined by pinning. They drive an output pin. ____________________________ _____________________________________ | | | | | | | AMP1_PWM |----------> | |- - - - - >| AMP2_PWM | . Drives 4*3=12 PWM outputs | |- - - - - >| AMP3_PWM | . AMP1_PWM_U, AMP1_PWM_V, AMP1_PWM_W | |- - - - - >| AMP4_PWM | . AMP2_PWM_U, AMP2_PWM_V, AMP2_PWM_W | TRIGGER_PWM |- - - - - >| Implemented by 2 PWM Modules, | . AMP3_PWM_U, AMP3_PWM_V, AMP3_PWM_W | Implemented by 1 PWM | | drives output, depends on | . AMP4_PWM_U, AMP4_PWM_V, AMP4_PWM_W | Module, | | COMMTYPE |----------> | Triggers all PWMs, | | ___________________________________| | produces 4 staggered | | intervals of PWMs, | | Independent from |- - - - - - - - - - - - - - - - - - - - - - - - > ADC_ETC (TRIGGER_1) | COMMTYPE. |- - - - - - - - - - - - - - - - - - - - - - - - > ADC_ETC (TRIGGER_2) | |- - - - - - - - - - - - - - - - - - - - - - - - > ADC_ETC (TRIGGER_3) | |- - - - - - - - - - - - - - - - - - - - - - - - > ADC_ETC (TRIGGER_4) |__________________________| This module implements the interface to the IMIXRT1062's PWM Unit. It is setup to drive 4 x 3 = 12 PWM submodules (SM) in center aligned mode, triggers ADC sampling for current sensing at the the end of a PWM cycle and triggers ADC sampling for SinCos-, Voltage- and Temperature-Sensing.