English
Language : 

IC-MR Datasheet, PDF (41/44 Pages) IC-Haus GmbH – 13-BIT S&H SIN/COS INTERPOLATOR WITH CONTROLLER INTERFACES
iC-MR 13-BIT S&H SIN/COS
preliminary
INTERPOLATOR WITH CONTROLLER INTERFACES
Rev A1, Page 41/44
Status and command register
Read access to the status byte provides the current
system status.
ERR and WARN indicate internal errors which are se-
lected using mask registers 0x22 and 0x23. EWKH
and EWKL signal that write protection is active for
memory areas CONF and/or EDS. The BUSY bit
shows that the internal bus is busy, such as when data
is being read out from or written to the EEPROM. Bit
ADV (absolute data valid) indicates that absolute data
has been successfully read out through the absolute
data interface (ADI); bit PDV (position data valid) sig-
nals that position data is valid. If the configuration
register has been successfully CRCed and if absolute
data has been correctly read out through the absolute
data interface (ADI), the INIT bit is also set.
STATUS
Bit
INIT
ERR
WARN
EWKH
EWKL
BUSY
ADV
PDV
Note
Addr. 0x60; bit 7...0
R
Status message
Configuration complete
Signalizes error as per mask register EMASK
Signalizes warning as per mask register WMASK
Writing memory area CONF permitted
Writing memory area EDS permitted
Internal data bus busy
Absolute data valid
Position data valid
All bits signal active high.
Table 80: Status byte
ADV and error bit ERR_ABS are updated. If the pro-
cess is successful, the cycle counter is set.
Command 0x03 initiates a software reset which is also
messaged at pin NRES.
Command 0x04 triggers a CRC of the internal configu-
ration, during which all configuration registers are read
out and verified by the check sum in registers 0x2E-
0x2F. During this process the BUSY bit in the status
byte and the ERR_KNF bit are set in the error byte.
If the process ends successfully, the ERR_KNF bit is
cancelled.
Commands 0x05 and 0x06 simulate errors for the ERR
bit in the status byte, with 0x05 setting the bit and 0x06
disabling it.
CMD
Code
0x00
0x01
0x02
0x03
0x04
0x05
0x06
Addr. 0x60; bit 7...0
W
Function
Request new position data
Write current configuration in EEPROM
Readout new data via absolute data interface
Trigger software reset
CRC check of internal configuration
Activate error simulation ERR bit
Deactivate error simulation ERR bit
Table 81: Command register
On write access register 0x60 acts as a command reg-
ister.
If command 0x00 is written, new position data is re-
quested. As long as this new data is not yet available,
the PDV (position data valid) bit is disabled in the sta-
tus byte.
Command 0x01 writes the current configuration to the
EEPROM. If no EEPROM is connected up on startup,
this commend has no effect. The configuration - up to
and including register 0x2D - and a newly generated
check sum are otherwise written to the EEPROM. For
the duration of the write process the BUSY bit in the
status byte and the ERR_KNF bit (configuration er-
ror) are set in the error byte. If an error occurs, the
ERR_KNF bit is not cancelled at the end of the pro-
cess.
Command 0x02 triggers a new readout of absolute
data through the absolute data interface. Should this
readout not prove successful, it is set to zero for in-
ternal calculation. At the end of the process status bit
Error mask
Error byte 0x69 (Table 82) signals internal and external
errors.
ERR_EXT is activated by input pin NERR and con-
veys errors which occur in external devices. Error
bits ERR_EXT, ERR_SYN, ERR_TMP, ERR_AMP, and
ERR_RGL are stored and only cancelled if the error
byte is read accessed. This information is stored for
the parallel interface and for the serial interface in SPI
mode. The following errors are reported:
ERROR
Bit
ERR_EXT
ERR_ABS
ERR_IPO
ERR_KNF
ERR_SYN
ERR_TMP
ERR_AMP
ERR_RGL
Note
Addr. 0x69; bit 7...0
R
Error message
Externally signalized error *
Error in readout of absolute value
Fallen below conversion time of interpolator
Configuration error
Synchronisation error counter/interpolator *
Temperature beyond thresholds *
Amplitude error *
Beyond control range of transmit current control *
*) Stored message, reset after read access
Table 82: Error byte