Datasheet
4.1.5. Encoder Interfacing
To interface the three wire encoder of Motor 1, signals A and B are connected to the external clock inputs
MTCLKA and MTCLKB of timer channel MTU3-1are used. Signal Z is connected to external interrupt pin
IRQ0-B. Connector J10 shown in Figure 6 below is provided for the encoder interfacing.
Figure 6 Encoder connector
4.1.6. Standalone Operation Support
For standalone operation manual control functions START/STOP, FORWAED, REVERSE, MODE and motor
SPEED are provided by pushbuttons P1, P2, P3, P4 connecter to port P50, P51, P52, P53 and a potentiometer
connected to the channel 1 of the 10-bit analog to digital converter ADA. Figure 7 shows these controls.
Figure 7 Standalone controls
4.1.7. Over-current Detection
Protection against an over-current and undercurrent situations of Motor 1 is implemented by summing all phase
currents and comparing it with two thresholds of a window comparator as shown in Figure 8.