GL841 USB 2.0 2-in-1 Scanner Controller
69. Reg : 66H (Read/Write)
Default : 00H
PHFREQ[7:0]: to set PWM frequency for motor phase of uni-polar.
Frequency : (24MHz)/[(PHFREQ+1)*4
70. Reg :67H (Read/Write)
Default : 7FH
B7~6:STEPSEL[1:0]
:
for table one or two scanning move step type selection.
(1).bi-polar :
a.00: full step (for 1939,1940,2916,6219 or 3966).
b.01: half step (for 1939,1940,2916,6219 or 3966).
c.10: quarter step (for 2916 or 6219).
d.11: reserved.
(2).uni-polar :
a.00: two-phase-on full step.
b.01: half step.
c.10: reserved.
d.11: single-phase-on full step.
B5~0:MTRPWM[5:0]
: to set PWM duty cycle for table one motor phase of uni-polar.
MTRPWM
= 0 1/64 duty
= 1 2/64 duty
= 2 3/64 duty
……
= 63 64/64 duty
Note: If PHFREQ < 0FH,then PWM setting must < (PHFREQ+1)*4
71. Reg :68H (Read/Write)
Default : 7FH
FSTPSEL[1:0]
: for table two fast moving step type selection.
(1).bi-polar :
a.00: full step (for 1939,1940,2916,6219 or 3966).
b.01: half step (for 1939,1940,2916,6219 or 3966).
c.10: quarter step (for 2916 or 6219).
d.11: reserved.
(2).uni-polar :
a.00: two-phase-on full step.
b.01: half step.
c.10: reserved.
d.11: single-phase-on full step.
FASTPWM[5:0] : to set PWM duty cycle for table two motor phase of uni-polar.
FASTPWM
=0 1/64 duty
=1 2/64 duty
=2 3/64 duty
……
=63 64/64 duty
Note: If PHFREQ < 0FH,then PWM setting must < (PHFREQ+1)*4
72. Reg :69H (Read/Write)
Default : 00H
FSHDEC[7:0]: Set scan-finish deceleration slop steps(table three slope).
Note: can not be programmed to logic zero.
73. Reg :6AH (Read/Write)
Default : 00H
VCNT= system clocks per pixel / (MCNTSET+1).
Version 1.7
41