
preliminary
preliminary
iC-PVS
LINEAR/OFF-AXIS
BATTERY-BUFFERED ABSOLUTE POSITION HALL SENSOR
Rev A2, Page 42/51
status byte (STATUS) and an optional data byte (DATA)
is immediately returned on MISO.
The SPI status byte is defined in Table 54. The status
bits are updated with every register access only, except
Invalid Opcode, which indicates the status of the
last
opcode transmitted to the slave.
SPI STATUS
Bit
Name
7
Invalid opcode
6:3
Reserved
2
Data request failed
1
Reserved
0
Data valid
Table 54: SPI Status byte
The opcode Get Register Communication Status is use-
ful in conjunction with the opcodes Read Register - I2C
Slave Access (0x97) and Write Register - I2C Slave
Access (0xD2) and allows to check the status of the
rather slow I2C read / write transactions. The data byte
(DATA) is only defined if opcode Read Register - I2C
Slave Access (0x97) has been sent before. In that case
it contains the requested data byte.
An explanation of the individual status bits can be found
below:
Invalid Opcode
The opcode transmitted is not supported by iC-PVS.
Data request failed
Register read/write attempt failed. Possible causes
are an unsupported address, RPL active or trying to
read/write a non readable/writable address.
Data valid
Data read via opcode Read Register - I2C Slave Ac-
cess (0x97) is valid and can be used. Data written via
opcode Write Register - I2C Slave Access (0xD2) has
been written.
Multi-slave configurations with iC-PVS
The common SPI bus configuration for two iC-PVS
slaves is illustrated in Figure 28. Each slave is individu-
ally addressed by the SPI master via a dedicated NCS
line. Only one slave may be addressed at the same
time.
Figure 28: SPI bus configuration
Another possibility to connect multiple iC-PVS is by
setting up an SPI daisy chain as shown in Figure 29.
The MOSI of each iC-PVS is connected to the MISO of
the next device in chain. The MISO of each iC-PVS is
connected to the MOSI of the next device. As only a
single NCS line is used, individual slaves are selected
via the opcode Activate Slave In Chain.
Please refer to the opcode Activate Slave In Chain de-
scription below for further information on setting up a
SPI daisy chain with iC-PVS.
Figure 29: SPI daisy chain configuration