English
Language : 

IC-MU_17 Datasheet, PDF (36/66 Pages) IC-Haus GmbH – MAGNETIC OFF-AXIS POSITION ENCODER - POLE WIDTH 1.28MM
iC-MU MAGNETIC OFF-AXIS
POSITION ENCODER - POLE WIDTH 1.28MM
1
NCS
SCLK
MOSI
OP ADR
+
MISO
OP
ADR
2
OP
OP STATUS DATA
8 cycles
Figure 27: Read REGISTER (single): set the read
address (1) + command REGISTER
status/data to read-out data (2)
Following this, using the REGISTER status/data com-
mand (see page 36) the master can poll until the validity
of the DATA following the SPI-STATUS byte is signaled
via SPI-STATUS.
Rev D1, Page 36/66
SPI-STATUS
Bit
Name
Description of the status
report
7
ERROR
Opcode not
implemented, Sensor
data was invalid on
readout
6..4
-
Reserved
Status bits of the register communication
3
DISMISS
Address rejected
2
FAIL
Data request has failed
1
BUSY
Slave is busy with a
request
0
VALID
DATA is valid
Note
Display logic: 1 = true, 0 = false
Table 50: Communication status byte
SPI interface: Command Write REGISTER (single)
This command enables data to be written to the slave
byte by byte.
All SPI status bits are updated with each register ac-
cess. The exception to the rule is the ERROR bit; this
bit indicates whether an error occurred during the last
SPI-communication with the slave.
The master first transmits the Write REGISTER (sin-
gle) command and then address ADR and the data
(DATA). The slave immediately outputs the command,
address, and data at MISO.
The master transmits the REGISTER status/data op-
code. The slave immediately passes the opcode on to
MISO. The slave then transmits the SPI-STATUS byte
and a DATA byte.
NCS
SCLK
MOSI
MISO
OP ADR DATA
OP ADR DATA
8 cycles
Figure 28: Write REGISTER (single); set write
address and data
Following the commands Read REGISTER (single)
and Write REGISTER (single), the validity of the DATA
byte is signaled with the VALID status bit.
The requested data byte is returned via DATA following
the Read REGISTER (single) command. Following
the Write REGISTER (single) command, the data to
be written is repeated in the DATA byte. With all other
opcodes, the DATA byte is not defined.
Using the REGISTER status/data command, the mas-
ter can poll to the end of communication (signaled via
the SPI-STATUS byte ).
SPI interface: Command REGISTER status/data
NCS
SCLK
MOSI
MISO
OP
OP STATUS DATA
8 cylces
Figure 29: REGISTER status/data
The REGISTER status/data command can be used to
request the status of the last register communication
and/or the last data transmission. The SPI-STATUS
byte contains the information summarized in Table 50.
Figure 30 shows the interaction of the commands REG-
ISTER read/write and REGISTER status/data.