iC-TW2 8-BIT SIN/COS INTERPOLATION IC
WITH INTEGRATED EEPROM
Rev D3, Page 13/30
AB Quadrature And Up/Down and Incr/Dir Modes
Sensor
position
0
1
2
3
4
5
6
5
4
3
2
A_U
B_V
A/B
mode 0
A_U
B_V
up / dn
mode 1
inc / dir A_U
B_V
mode 2
Figure 4: Incremental output modes (mode 0, 1, 2)
IPOS(7:0)
Addr. 0x03; bit 7:0
R/W
IWIDTH(7:0)
Addr. 0x04; bit 7:0
R/W
Code
Function, defaults to eeprom setting
Code
Function, defaults to eeprom setting
disable pulse generation
1 increment width
0
No offset
0
1
1 increment offset
2 increments offset
. . .
1
2
2
2 increments width
. . .
. . .
. . .
Index pulse will shifted by IWIDTH(7:0) increments.
Programmed value is within the range of 0 to
INTER(7:0) - 1.
Any other
value n
Index pulse will extend over IWIDTH(7:0)
increments.
Programmed value is within the range of 0 to
INTER(7:0) - 1.
. . .
. . .
. . .
. . .
255
Note:
255 increments offset
255
255 increments width
A fixed phase relation to A/B is guaranteed only
with
STARTUP(1:0) = 0b10 (’ABSOLUTE”)
or
Table 13: Index pulse width selection
STARTUP(1:0) = 0b11 (’BURST”).
Table 12: Index pulse position