RA6T2
Vector control for permanent magnetic synchronous motor with encoder - AB incremental type encoder
3.4.4 Over Current Detection Interrupt Process
The overcurrent detection interrupt is an interrupt that occurs when either an external overcurrent detection
signal is input at POEG pin, or an output short circuit is detected by the GTETRGD output level comparison
operation. In both cases, the PWM output terminal are put in the high impedance state. Therefore, at the
start of execution of this interrupt processing, the PWM output terminal is already in the high impedance
state and the output to the motor had been stopped.
Over current detection interrupt process
Reset POEG
Set over current error
Set error status
Disable POEG interrupt
End
Figure 3-20 Over Current Detection Interrupt Process Flowchart
R01AN6208EJ0101 Rev.1.01
Page 53 of 71
Oct 18, 2022