Realtek Ameba-D RTL872 D Series User Manual page 457

Table of Contents

Advertisement

For some encoder, index output high in idle states. In this case, software can configure IDX_INV to suite different encoder. Fig 21-10 illustrates
inverse index pulse case.
PHA
PHB
IDX
Direction
+1
+1
+1
+1
PC
195
196
197
198
Index pulse
detection
RC
PHA
PHB
IDX
Direction
+1
+1
+1
+1
PC
195
196
197
198
Index pulse
detection
RC
5
Ameba-D also supports auto-index mechanism, which means it can directly execute the index functions without any setting. This auto-index
mechanism is related with index phase. When the default phase is low, the index pulse detection is the rising edge in the positive direction. The
index pulse detection is the falling edge in the negative direction. When the default phase is high, the index pulse detection is the falling edge
in the positive direction. The index pulse detection is the rising edge in the negative direction.
User Manual
+1
+1
+1
+1
+1
+1
2
3
4
5
199
1
0
+1
Fig 21-9 IDX_INV = 0, position counter reset on (PHA, PHB) = (1, 0)
+1
+1
+1
+1
+1
+1
2
3
4
5
199
1
0
+1
Fig 21-10 IDX_INV = 1, position counter reset on (PHA, PHB) = (1, 0)
All information provided in this document is subject to legal disclaimers.
+1
+1
+1
-1
-1
-1
6
7
8
7
6
6
+1
+1
+1
-1
-1
-1
6
7
8
7
6
6
457
Quadrature Decoder (Q-Decoder)
-1
-1
-1
-1
-1
-1
5
4
3
2
1
0
199 198 197
-1
-1
-1
-1
-1
-1
-1
5
4
3
2
1
0
199 198 197
-1
© REALTEK 2019. All rights reserved.
-1
-1
-1
-1
196
195
5
-1
-1
-1
-1
196
195
5

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ameba-d rtl8722dm-evb

Table of Contents