Ameba-D User Manual
User Manual All information provided in this document is subject to legal disclaimers. © REALTEK 2019. All rights reserved.
458
Getting the pulse detection can check the position value, reset the position value, and count the rotation in the example of Fig 21-11 and Fig
21-12.
To avoid unpredictable PC value, we recommend that the time difference between the related edge (can be different due to direction and
default phase as mentioned in the last paragraph) of index signal and the edge of neighboring PHA or PHB signal should be larger than 1
sampling clock time.
Note
: You should insert a time delay operation between a subsequent reset operation and a disable Q-decoder operation. The delay time
period should be larger than 2* divided sampling clock time.
+1
+1
+1
+1
199
+1
1
0
+1
+1
+1
+1
+1
+1
+1
+1
-1
-1
-1
-1
-1
-1
-1
-1
-1
0
-1
-1
-1
-1
2
3
4
5
6
7
8
9
198
197
196
8
7
6
5
4
3
2
1
0
0
199
198
197
196
PHA
PHB
IDX
PC
Index pulse
detection
RC
5
6
+1
-1
5
Direction
Fig 21-11 Auto-index mechanism when IDX_INV = 0
+1
+1
+1
+1
199
+1
1
0
+1
+1
+1
+1
+1
+1
+1
+1
-1
-1
-1
-1
-1
-1
-1
-1
-1
0
-1
-1
-1
-1
2
3
4
5
6
7
8
9
198
197
196
8
7
6
5
4
3
2
1
0
0
199
198
197
196
PHA
PHB
IDX
PC
Index pulse
detection
RC
5
6
+1
-1
5
Direction
Fig 21-12 Auto-index mechanism when IDX_INV = 1
Realtek confidential files
The document authorized to
SZ99iot
2019-05-15 10:08:03