
preliminary
preliminary
iC-PVS
LINEAR/OFF-AXIS
BATTERY-BUFFERED ABSOLUTE POSITION HALL SENSOR
Rev A2, Page 33/51
GAINF and GAINX: Fine Gain Factors Sine and Co-
sine Channel
The parameter GAINF and GAINX are used to set a
fixed fine gain factor for the analog sine and cosine
channels. The total gain of the sine channel is obtained
by multiplying GCOARSE by GAINF. Please note, that
the value of GAINF is ignored if automatic amplitude
control is activated (ENAC = 1).
GAINF(10:3)
Addr. 0x10; bit 7:0
reset:
GAINF( 2:0)
Addr. 0x11; bit 2:0
0x000
Code
Fine Gain Factor
0x000
1.0000
0x001
1.0015
0x002
1.0029
...
exp
(
ln
(20)
2048
·
GAINF
)
0x7FF
19.9708
Table 38: Fine Gain Factor
The value of GAINX is used to adjust the gain of the
cosine channel in relation to the sine channel. The co-
sine channel gain is GAINF multiplied by GAINX. The
total gain of the cosine channel is obtained by multi-
plying GCOARSE, GAINF and GAINX. The value for
GAINX is effective even if automatic amplitude control
is activated (ENAC = 1).
GAINX( 9:3)
Addr. 0x12; bit 6:0
reset:
GAINX( 2:0)
Addr. 0x11; bit 7:5
0x000
Code
Cosine Channel Gain Adjustment
0x000
1.0000
0x001
1.0029
0x002
1.0059
...
exp
(
ln
(20)
1024
·
GAINX
)
0x1FF
4.4591
0x200
0.2236
...
exp
(
−
ln
(20)
1024
·
(1024
−
GAINX
))
0x3FF
0.9970
Table 39: Cosine Channel Gain Adjustment
AGAINS and AGAINC: Actual Fine Gain Factor
Sine and Cosine Channel (Read only)
With automatic amplitude control active (ENAC = 1),
parameter AGAINS and AGAINC can be used to query
the automatically adjusted sine and cosine fine gain
factors. Total actual gain can be obtained by multiplying
GCOARSE by AGAINS or AGAINC.
AGAINS(10:3)
Addr. 0x5C; bit 7:0
read only
AGAINS(2:0)
Addr. 0x5D; bit 2:0
read only
Code
Actual Fine Gain Factor Sine Channel
0x000
1.0000
0x001
1.0015
0x002
1.0029
...
exp
(
ln
(20)
2048
·
GAIN
)
0x7FF
19.9708
Table 40: Actual Fine Gain Factor Sine Channel
AGAINC(10:3)
Addr. 0x5E; bit 7:0
read only
AGAINC(2:0)
Addr. 0x5F; bit 2:0
read only
Code
Actual Fine Gain Factor Cosine Channel
0x000
1.0000
0x001
1.0015
0x002
1.0029
...
exp
(
ln
(20)
2048
·
GAIN
)
0x7FF
19.9708
Table 41: Actual Fine Gain Factor Cosine Channel
VCMOUT: Common Mode Output Voltage
With parameter VCMOUT the common mode voltage of
the analog Sine and Cosine outputs can be configured.
VCMOUT(1:0)
Addr. 0x11; bit 4:3
reset: 0x0
Code
Common Mode Output Voltage
0x0
Absolute Mode: 1.25 V typ.
0x1
Absolute Mode: 2.50 V typ.
0x2
Relative Mode: 50% VDD typ.
Note:
Please refer also to Elec. Char. 202 and 203
Table 42: Common Mode Output Voltage
ENAC: Amplitude Control Unit Activation
The register ENAC enables the automatic amplitude
(gain) control for the sine and cosine channels. If ENAC
is disabled at startup, the values of GAINF and GAINX
are used as fixed gain setting for the respective chan-
nel. In this case, they can be altered for manual gain
setting.
If the automatic amplitude control is activated the value
of GAINF is overruled by the controller. The controller
set point is typically 500 mV peak-to-peak signal am-
plitude for each individual output signal, as defined in
Elec. Char. 201. To disable the automatic amplitude
(gain) control set ENAC = 0 and reboot iC-PVS. Without
reboot the value of GAINF will stay at the last chosen
value by the control algorithm and manual changes are
ignored.