English
Language : 

IC-TW28 Datasheet, PDF (50/80 Pages) IC-Haus GmbH – 10-BIT SIN/COS INTERPOLATOR
WiCIT-HTAWU2TO8-C1A0L-BIBITRSATINIO/CNOASNINDTLEINREPODLRAIVTpOERrReliminary
Rev D2, Page 50/80
COMMAND
The COMMAND register is used to start or stop the
iC-TW28, save the configuration parameters to EEP-
ROM, individually perform any of the auto calibration
routines, etc. To execute a command, write the ap-
propriate value to the COMMAND register. When the
command has been executed, the COMMAND register
is reset to 0x00 by the iC-TW28 and a new command
may be sent.
Value
0x00
0x01
0x02
0x03 – 0x0F
0x10
0x11
0x12
0x13
0x14
0x15
0x16
0x17
0x18 – 0x1F
0x20
0x21
0x22
0x23
0x24 – 0xFF
COMMAND (0x4000)
Description
Command register ready/idle
Start/restart interpolation
Stop interpolation
Reserved (do not use)
Load configuration and COR registers from
EEPROM
Write configuration and COR register values to
EEPROM*
Copy COR values to BASE registers
Read EEPROM address
Write EEPROM address*
Reserved (do not use)
Load configuration and COR registers from
EEPROM and start interpolation
Write COR register values to EEPROM*
Reserved (do not use)
Stop auto calibration
Auto calibrate sin and cos parameters
Auto calibrate Z channel parameters
Auto calibrate all parameters
Reserved (do not use)
Table 95: Command Register
correction parameter registers (0x4012 - 0x401B) are
also written to the EEPROM, but the value of static
register TEST is not. This command may take up to 1
second to complete. Do not write to EE_ADDR while
this commands is active or the EEPROM may be cor-
rupted.
Command 0x11 does nothing if the EEPROM is locked
(TEST.we = 0). Unlock the EEPROM (TEST.we = 1)
before executing this command. See TEST on page 40
for more information.
Command 0x12 copies the values in the correction pa-
rameter registers to the corresponding base registers
as shown below.
Command 0x12
Correction Register
Base Register
S_OFS_COR (0x4012)
S_OFS_BASE (0x4007)
C_OFS_COR (0x4014)
C_OFS_BASE (0x4008)
SC_BAL_COR (0x4016)
SC_BAL_BASE (0x400B)
SC_PH_COR (0x4019)
SC_PH_BASE (0x400E)
Table 96: Command 0x12
Command 0x13 reads the EEPROM address specified
in register EE_ADDR and returns the value in register
EE_DATA and the status (validity) of the data in regis-
ter EE_STAT. The EEPROM read command requires a
minimum of 1 ms to load the EE_DATA and EE_STAT
registers. See Device Serial Number and User Data on
page 64 for more information.
*These commands do nothing if the EEPROM is locked
(TEST.we = 0). Unlock the EEPROM (TEST.we = 1)
before executing these commands. See TEST on page
40 for more information. Also, do not write to EE_ADDR
while these commands are active or the EEPROM may
be corrupted.
Command 0x14 writes the data in register EE_DATA
to the EEPROM address specified in EE_ADDR. The
EEPROM write command requires a minimum of 20 ms
to complete. See Device Serial Number and User
Data on page 64 for more information. Do not write
to EE_ADDR while this commands is active or the EEP-
ROM may be corrupted.
Command 0x01 starts or restarts the interpolator using
the currently loaded configuration values.
Command 0x02 stops the interpolator. When the in-
terpolator is stopped, the ABZ and UVW are in a high
impedance state and the LED output is deactivated as
if LED_CFG.en = 0. The xIRQ output remains opera-
tional.
Command 0x14 does nothing if the EEPROM is locked
(TEST.we = 0). Unlock the EEPROM (TEST.we = 1)
before executing this command. See TEST on page 40
for more information.
Command 0x16 loads the static configuration and COR
registers from the internal EEPROM and starts the in-
terpolator.
Command 0x10 loads the static configuration and COR
registers from the internal EEPROM but does not start
the interpolator.
Command 0x11 writes the values of the static configura-
tion registers to the internal EEPROM. The value of the
dynamic LED register and the values of the dynamic
Command 0x17 writes the values of the correction pa-
rameter registers to the internal EEPROM. Do not write
to EE_ADDR while this commands is active or the EEP-
ROM may be corrupted.
Command 0x17 does nothing if the EEPROM is locked
(TEST.we = 0). Unlock the EEPROM (TEST.we = 1)