English
Language : 

IC-MU_17 Datasheet, PDF (34/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
sensor/actuator data channels can be switched on and
off with data bytes following the OPCODE.
After startup of iC-MU RACTIVE and PACTIVE is set to
1.
NCS
SCLK
MOSI
MISO
OP
RAPA 0-3 RAPA 4-7
...
OP
8 cycles
Figure 20: Set ACTIVATE: RACTIVE/PACTIVE
(several slaves)
NCS
SCLK
MOSI
MISO
Rev D1, Page 34/66
OP
1 0 0 0 0 0 RA0 PA0
OP
00
100000
MOSI
MISO
OP
1 0 0 0 RA0 PA0 RA1 PA1
OP
00001000
8 cycles
RACTIVE/PACTIVE-vector
Figure 21: Set ACTIVATE: RACTIVE/PACTIVE
(Example with one and two slaves (daisy
chain))
The ACTIVATE command resets the bits FAIL, VALID,
BUSY, and DISMISS in the SPI-STATUS byte (see Ta-
ble 50).
RACTIVE
Code
0
1
Note
Description
Register communication deactivated
Register communication activated*)
*) default after startup
Table 47: RACTIVE
If RACTIVE is not set, on commands Read REGISTER
(single), Write REGISTER (single), REGISTER sta-
tus/data the ERROR bit is set in the SPI-STATUS byte
(see Table 50) to indicate that the command has not
been executed. At MISO the slave immediately outputs
the data transmitted by the master via MOSI.
PACTIVE
Code
0
1
Note
Description
Sensor data channel deactivated
Sensor data channel activated*)
*) default after startup
Table 48: PACTIVE
If PACTIVE is not set, on commands SDAD status
and SDAD transmission the ERROR bit is set in the
SPI-STATUS byte (see Table 50) to indicate that the
command has not been executed. At MISO the slave
immediately outputs the data transmitted by the master
via MOSI.
An example for a daisy chain wiring of 2 SPI slaves
is given in Figure 22. In order to do register commu-
nication (Read REGISTER (single), Write REGISTER
(single), REGISTER status/data) with e.g. slave (1)
the register communication has to be enabled explicitly
for this slave and disabled for slave (0) with command
ACTIVATE and parameter RACTIVE.
MISO
SCLK
NCS
SPI
Master
MOSI
iC-MU
MOSI
MISO
(1)
iC-MU
MOSI
MISO
(0)
Figure 22: Example configuration with 2 Slaves
(daisy chain)
SPI interface: Command SDAD transmission
iC-MU latches the absolute position on the first rising
edge at SCLK, when NCS is at zero (e.g. Figure 23
LATCH). Because iC-MU can output the sensor data
(SD) immediately, the master can transmit the SDAD
transmission command directly. The sensor data shift
register (the size of which is 8 to 40 bits in multiples of
8 using iC-MU) is switched and clocked out between
MOSI and MISO.
If only one slave is connected up with one register and If invalid data is sampled in the shift register, the ER-
one sensor data channel, it must be ensured that the ROR bit is set in the SPI-STATUS byte (see Table 50)
RACTIVE and PACTIVE bits come last in the data byte. and the output data bytes are set to zero.