
TLE5012B
SSC Registers
User’s Manual
66
Rev. 1.2, 2018-02
Most relevant data and configuration bits
The most relevant data and configuration bits are described below. To find more details (e.g. whether to set the
bit to “high” or “low”), please refer to
Angle value:
the angle value can be found in the AVAL register (02
H
) under the ANG_VAL bits (bits 14:0).
Angle speed:
the angle speed can be found in the ASPD register (03
H
) under the ANG_SPD bits (bits 14:0).
Number of revolutions:
the number of revolutions can be found in the AREV register (04
H
) represented by the
REVOL bits (bits 8:0). For every full rotation in counter-clockwise direction the number of revolutions increments
by one; for every full rotation in clockwise direction it decrements by one.
Raw values from the two GMR sensors:
the raw values from the two GMR sensors can be accessed via the
ADC_X and ADC_Y registers (10
H
and 11
H
respectively).
Resolution:
the MOD_4 register (0E
H
) contains two IFAB_RES bits (bits 4:3) that are multi-purpose. For each
interface these bits allow to choose between four different resolutions if the default ones are not the most adequate
for the application. For PWM interface the frequency can be chosen from 244Hz to 1953Hz, therefore it can be
chosen how often the updated angle value has to be transmitted. For IIF pulses can be transmitted for different
step resolutions from 0.088° to 0.703°. For SPC it can be chosen if angle resolution should be in 12 or 16 bits, or
also if two extra nibbles for the temperature should be transmitted. At reset the default resolution is restored.
Interface mode:
there are different TLE5012B derivates with different default interfaces. Still, the interface of the
TLE5012B can also be chosen via SSC at start-up by setting the two IF_MD bits (bits 1:0) of the MOD_4 register
(0E
H
). At reset the default interface of the derivate is restored. It is recommended to configure any IF_MD setting
early after a hardware reset to guarantee a correct switch to the desired interface mode.
Autocalibration:
the TLE5012B is a factory-calibrated sensor. Still, automatic calibration of offset and amplitude
synchronicity can be enabled for applications with full-turn capability in the MOD_2 register (08
H
) under the
AUTOCAL bits (bits 1:0) to compensate lifetime and temperature effects. At reset the default factory-calibrated
parameters are restored. For further information on autocalibration refer to
Prediction:
the prediction function can be enabled/disabled in the MOD_2 register (08
H
) under the PREDICT bit
(bit 2). As described in
Prediction allows to calculate the angle value around one period (t
update
) before
than if prediction is disabled. The prediction function is linear and may not be recommended for cases where the
rotation speed changes abruptly. At reset the default status is restored.