
preliminary
preliminary
iC-PVS
LINEAR/OFF-AXIS
BATTERY-BUFFERED ABSOLUTE POSITION HALL SENSOR
Rev A2, Page 48/51
STATUS REGISTERS
Status Register Overview
STATUS(7:0)
Addr. 0x6C; bit 7:0
reset:
STATUS(15:8)
Addr. 0x6D; bit 7:0
0x000000
STATUS(16:23)
Addr. 0x6E; bit 7:0
Bit
Name
Description
0
STUP_ERR
Startup Error
1
CFG_ERR
Internal Configuration Error
2
CTR_ERR
Internal Counter Error
3
POS_ERR
Position Error
4
BAT_ERR
Battery Error
5
AMPL_ERR
Amplitude Error
6
NOMAG_L
NoMagnet Working State (latched)
7
ANA_STUP
Analog Startup
8
BAT_WRN
Battery Early Warning
9
REBOOT
Reboot detected
10
PDR
Power Down Reset detected
11
PRESET
Pin Preset detected
12
AC_MIN
Signal Amplitude too low
13
AC_MAX
Signal Amplitude too high
14
MAG_ERR
Magnet Loss Error
16
RESET_ST
iC-PVS in Reset working state
17
ACTIVE_ST
iC-PVS in Active working state
18
NOMAG_ST
iC-PVS in NoMagnet working state
19
SLEEP_ST
iC-PVS in Sleep working state
Table 60: Status Registers
The iC-PVS has several error conditions. These are
stored in its status bytes readable via the serial inter-
face. A summary of the status register content is shown
in Table 60. The individual bits are explained in detail
below.
STUP_ERR: Startup Error
Erroneous startup procedure, e.g. EEPROM com-
munication error, no EEPROM connected or invalid
CRC checksum stored in the EEPROM. No position
acquisition is performed. Interfaces may be blocked.
Please check configuration, checksums and EEPROM
I2C communication. Reboot iC-PVS. If a CRC er-
ror is detected at startup, additionally to STUP_ERR,
CFG_ERR and CTR_ERR are active. After the SCLR
command only the currently active CRC fault bit stays
active.
CFG_ERR: Internal Configuration Error
The configuration stored in the internal RAM had an un-
expected level flip of one or more bits, visible as wrong
CRC checksum. Position is invalid. Reboot iC-PVS.
CTR_ERR: Internal Counter Error
The counter preload values stored in the internal RAM
had an unexpected level flip of one or more bits, visible
as wrong CRC checksum. Position is invalid. Reboot
iC-PVS.
POS_ERR: Position Error
The position encoding observed an unexpected posi-
tion jump, caused e.g. by excessive speed or excessive
acceleration of the magnetic target. Alternatively, this
error bit is set on weak, disturbed magnetic signals
or complete loss of magnet. Position is invalid. Opti-
mize magnetic target position and cross-check angular
velocity/acceleration with Table 44. Reboot iC-PVS.
BAT_ERR: Battery Error
Battery undervoltage according to Elec. Char. No. 408.
Position is invalid. Change battery. Reboot iC-PVS.
AMPL_ERR: Amplitude Error
This error bit is set only if ENAC = 1. It indicates that the
automatic amplitude controller is out of bounds and can
not control the output amplitude to the given set point.
The reason may be a too high, or too low magnetic
signal amplitude. This is further differentiated by the
status bits AC_MIN or AC_MAX.
NOMAG_L: NoMagnet Working State (latched)
When entering the NoMagnet state, iC-PVS sets the
status bit NOMAG_L. The bit is latched, i.e. it remains
set even if the NoMagnet state is left again. Therefore,
it is possible to determine if the encoders magnetic field
has been lost at any time during the previous operating
life. The status bit can be cleared with command SCLR.
ANA_STUP: Analog startup phase
The status bit is set after VDD power up to signalize
the analog stage startup time. When active, the analog
signal output is invalid. The status bit is cleared when
the startup is finalized.
BAT_WRN: Battery Early Warning
Battery voltage early warning according to Elec. Char.
No. 410. Battery should be changed with main supply
(VDD) active as soon as possible. Alternatively, halt
system, read current position and store it. Switch off
system, change battery and restart. Restored position
may be set as counter preload.
REBOOT: Reboot Detected
This bit is set after a REBOOT instruction via the serial
interface. It can be reset by overwriting it in the register
or issuing a SCLR instruction. This can be interpreted
as an acknowledgment that this REBOOT was inten-