4.1.2 Motor Control Key Peripherals Usage
AFEC Peripheral
The AFEC (ADC) is used to measure analog quantities. Four channels are used to measure Phase Current A, Phase Current B, DC Bus Voltage, and the potentiometer reading. A conversion is triggered at the PWM (zero match + offset of the switch delay).
PWM Peripheral
This peripheral is used to generate three pairs of complementary PWM signals. Fault functionality is also enabled to switch off the output waveforms asynchronously.