English
Language : 

IC-TW28 Datasheet, PDF (64/80 Pages) IC-Haus GmbH – 10-BIT SIN/COS INTERPOLATOR
WiCIT-HTAWU2TO8-C1A0L-BIBITRSATINIO/CNOASNINDTLEINREPODLRAIVTpOERrReliminary
Rev D2, Page 64/80
DEVICE SERIAL NUMBER AND USER DATA
Each iC-TW28 comes from iC-Haus programmed with
a unique serial number. This can be used for tracking
devices or when contacting iC-Haus for support.
The device serial number is a four-byte value stored at
addresses 0x00 - 0x03 in the internal EEPROM. This
value may be read via the SPI port or the Encoder Link
interface using the following sequence:
1. Write 0x00 (first address of four-byte serial num-
ber) to EE_ADDR (0x0601).
1. Write 0x01 to the TEST register (0x000B) to un-
lock the EEPROM.
2. Write 0x3C (address of first user data byte) to
EE_ADDR (0x0601).
3. Write the desired user data byte value to
EE_DATA (0x0602).
4. Write 0x14 (EEPROM write command) to COM-
MAND (0x4000).
5. Wait 20 s or until COMMAND = 0.
2. Write 0x13 (EEPROM read command) to COM-
MAND (0x4000).
3. Wait 1 ms or until COMMAND = 0.
4. Read serial number byte value from EE_DATA
(0x0602).
5. Read EE_STAT (0x0603) to determine if
EE_DATA is valid. If EE_STAT ≤ 1, the value
in EE_DATA is valid. If EE_STAT > 1, the value
in EE_DATA is not valid. See EE_STAT on page
49 for more information.
Repeat this sequence for all four bytes, incrementing
the address written to EE_ADDR in step 1 each time.
After writing the user data bytes, lock the EEPROM by
writing 0x00 to the TEST register (0z000B) or by cycling
the xRST input.
These four user data bytes may be read via the SPI
port or the Encoder Link interface using the following
sequence:
1. Write 0x3C (address of first user data byte)to
EE_ADDR (0x0601).
Repeat this sequence for all four bytes, incrementing
the address written to EE_ADDR in step 1 each time.
Do not write to the serial number bytes 0x00 - 0x03 in
the internal EEPROM.
Four additional bytes are available in the internal EEP-
ROM for storing user data. These can be used to store
the product model and serial number, manufacturing
date, etc.
The four user data bytes are stored at addresses 0x3C
- 0x3F in the internal EEPROM. These values can be
written via the SPI port or the Encoder Link interface
using the following sequence:
2. Write 0x13 (EEPROM read command) to COM-
MAND (0x4000).
3. Wait 1 ms or until COMMAND = 0.
4. Read user data byte value from EE_DATA
(0x0602).
5. Read EE_STAT (0x0603) to determine if
EE_DATA is valid. If EE_STAT ≤ 1, the value
in EE_DATA is valid. If EE_STAT > 1, the value
in EE_DATA is not valid. See EE_STAT on page
49 for more information.
Repeat this sequence for all four bytes, incrementing
the address written to EE_ADDR in step 1 each time.