3.2.1. Encoder Mode
This mode supports High-speed position sensor (Phase judgment). The incremental encoder (AB and ABZ) should
be used.
●
Using the rotation edge detection, a division pulse and an interrupt can be generated.
●
Using the rotation edge pulse count, an interrupt can be generated at any counter value.
●
Rotation direction judgment
●
32-bit up- and down-count (controlled by the rotation direction judgment)
●
The setting of the counter value is available.
●
The setting of the detected rotation direction is available.
●
Abnormal state detection flag
(1) ENCxZ input is valid. Positive logic input: ([ENxTNCR]<ZEN>=1 and [ENxTNCR]<ZEACT>=0)
In the case of [ENxRELOAD]=0x00000380 and [ENxINT]=0x00000002;
ENCxA
ENCxB
ENCxZ
Rotation edge pulse ENCLK
Internal Z-phase detection signal
Z-phase detection <ZDET>
Rotation direction
Count clear
ENCxTIMPLS
(2-division)
Counter
Interrupt INTENCx1
2018-10-11
fsys
DIR
CW direction
110
111
112
0
1
Figure 3.1 ENCxZ input is valid ([ENxTNCR]<ZEN>=1).
Advanced Encoder Input Circuit(32-bit)
2
3
0
1
0
12 / 55
TXZ Family
CCW direction
380
37F
37E
0
3 8 0
Rev. 1.1
3 7 F