English
Language : 

IC-MU_17 Datasheet, PDF (58/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
Rev D1, Page 58/66
value to the value given by PRES_POS. The internal
CRC8 is automatically updated.
Command SOFT_E2P_PRES initiates a preset se-
quence (cf. page 61) with preset values PRES_POS.
The altered offset values OFF_ABZ are stored in the
EEPROM. CRC8 is automatically updated.
I2C_RAM_START Addr. SER: 0x5C; bit 7:0
Code
Description
0x00
...
I2C-RAM start address
0xFF
Table 104: I2C-RAM start address
Command I2C_COM initiates communication with a
I2C device (RPL=0x00 and 0x02). Prior to this the
following parameters must be configured:
• I2C_DEVID
• I2C_RAM_START
• I2C_RAM_END
• I2C_DEV_START
The device ID is written to I2C_DEVID (see Table 103).
If an error occurs while communicating with an external
I2C device up to 3 new communication attempts are
started by iC-MU.
I2C_RAM_END Addr. SER: 0x5D; bit 7:0
Code
Description
0x00
...
I2C-RAM end address
0xFF
Table 105: I2C-RAM end address
I2C_DEV_START
Addr. SER: 0x5B; bit 7:0
Code
Description
0x00
...
I2C device start address
0xFF
Table 106: I2C device start address
I2C_RAM_START defines the start address in the inter-
nal RAM which in case of a
• write access: marks the begin of the data area
that holds the data to be written
• read access: marks the begin of the data area
where the data read from the I2C device is written
to
With command EVENT_COUNT the value of register
EVENT_COUNT is incremented by 1.
EVENT_COUNT(7:0)
Addr. SER:0x73; bit 7:0
Code
Description
0x0
...
Event counter
0xFF
According to this I2C_RAM_END defines the end ad-
dress of the data area in the internal RAM. The num-
ber of bytes NUM_BYTES to be read/written are deter-
mined by the difference between I2C_RAM_END and
I2C_RAM_START.
I2C_DEV_START defines the start address of the I2C
device from which NUM_BYTES bytes should be read-
/written.
The USER_EXCHANGE_REGISTERS (see Table 91)
can be used for the data-exchange with the I2C device.
I2C_DEVID(7:0) Addr. SER:0x5E; bit 7:0
Code
Meaning
0xA0
write EEPROM
0xA1
read EEPROM
0xC0
write iC-PVL (status/commands)
0xC1
read iC-PVL (status/commands)
Table 103: Examples of I2C Device IDs
Table 107: Event counter
The command SWITCH makes it possible to write
configurations of MODEA and RPL into the EEP-
ROM which inhibit further register communications (e.g.
MODEA=ABZ).
Note: RPL must be set to 0x0 before starting the
command.
MODEA_NEW and RPL_NEW are used to set the tar-
get configuration of MODEA and RPL (e.g. ABZ, no
RPL). On executing the command SWITCH MODEA
and RPL are set to the target values and the config-
uration without the offsets is written to the EEPROM.
Finally MODEA and RPL are set back to the original
values. This makes it possible to control the success
of the EEPROM write process by reading STATUS1
(EPR_ERR should not be set).