|
IC-MU_13 Datasheet, PDF (33/59 Pages) IC-Haus GmbH – OFF-AXIS NONIUS ENCODER WITH INTEGRATED HALL SENSORS | |||
|
◁ |
iC-MU OFF-AXIS NONIUS ENCODER
WITH INTEGRATED HALL SENSORS
preliminary
Rev B1, Page 33/59
1. All slaves activated via PACTIVE to switch their
SVALID register between MOSI and MISO.
2. The next request for sensor data started with the
ï¬rst rising edge at SCLK of the next SPI commu-
nication is ignored by the slave.
N.B.: iC-MU does not need additional
processing time to generate valid sensor
data. Therefore "SDAD-transmission" can
be issued directly.
SDAD status
1
no
The end of conversion is signaled by SVALID (SV). Us-
ing this command, the master can poll to the end of
conversion. The sensor data is read out via the com-
mand SDAD transmission.
SVALID
Code
0
1
Description
Sensor data invalid
Sensor data valid
Table 45: SVALID
NCS
SCLK
MOSI
MISO
REQ
OP
OP SV 0-7 SV 8-15 ...
SV == 1?
yes
SDAD-transmission 2
REGISTER
status/data
(ERROR == 1)?
yes
error
handling
Figure 23: Example sequence of the commands
SDAD Status/SDAD-transmission
8 cycles
Figure 21: SDAD status
If only one slave is connected, the corresponding
SVALID bit (SV0) is placed at bit position 7 in the
SVALID byte.
NCS
SCLK
MOSI
MISO
REQ
OP
00000000
OP SV 0 0 0 0 0 0 0 0
MOSI
MISO
OP 0 0 0 0 0 0 0 0
OP SV 0 SV 1 0 0 0 0 0 0
8 cycles
SVALID-vector
Figure 22: SDAD status (Example with one and
two slaves)
SPI interface: Command Read REGISTER (single)
This command enables register data to be read out
from the slave byte by byte.
The master ï¬rst transmits the Read REGISTER (sin-
gle) command and then address ADR. The slave im-
mediately outputs the command and address at MISO.
1
NCS
SCLK
MOSI
OP ADR
+
MISO
OP
ADR
8 cycles
2
OP
OP STATUS DATA
Figure 24: Read REGISTER (single): set the read
address (1) + command REGISTER
status/data to read-out data (2)
Picture 23 shows the interaction of the two commands
SDAD Status and SDAD transmission. It is not nec-
essary to start each sensor data communication with
the command SDAD Status (1). iC-MU has no pro-
cessing time and can therefore directly output valid
sensor data. Because of that the command sequence
can start with SDAD-transmission (2). Following this,
the command REGISTER status/data should be exe-
cuted to detect an unsuccessful SPI communication.
Following this, using the REGISTER status/data com-
mand (see page 34) the master can poll until the valid-
ity of the DATA following the SPI-STATUS byte is sig-
naled via SPI-STATUS.
SPI interface: Command Write REGISTER (single)
This command enables data to be written to the slave
byte by byte.
|
▷ |