English
Language : 

IC-TW14 Datasheet, PDF (31/33 Pages) IC-Haus GmbH – IC-PMX Companion Chip
iC-TW14
iC-PMX Companion Chip
Rev A1, Page 31/33
the FRAM datasheet for more information. When the
read is complete, the iC-TW14 sets MODE/CMD to 0
(Normal Operation).
For example,to read the 6 bytes of multiturn position
data from the FRAM, write 0x0018 (24) to the MODE/-
CMD register. When MODE/CMD = 0, the FRAM ac-
cess is done and the data is available in DATA.0 –
DATA.2 as shown in Table 64 (assuming that the FRAM
multiturn position write command example shown ear-
lier had been previously executed and no Wiegand
pulses have occurred in the meantime).
and the FRAM WRTSs command (op-code 0x3F). The
existing values of PP (FRAM address 0x000 Bit 0) and
DIR (FRAM address 0x000 Bit 1) are preserved (not
affected) and DIR’ (FRAM address 0x005 Bit 5) is made
equal to DIR (FRAM address 0x000 Bit 1). EFLAG
(FRAM address 0x005 Bits 7:6) and FRAM counter bits
32:42 (FRAM address 0x004 Bit 2 – FRAM address
0x005 Bit 4) are reset to zero. See FRAM Access in the
iC-PMX datasheet and MEMORY MAP for POS0/1/2/3
in the FRAM datasheet for more information. When the
command is complete, the iC-TW14 sets MODE/CMD
to NORMAL (0).
FRAM Address
0x001
0x000
0x003
0x002
0x005
0x004
F_MT_R Example
Data
Register
Bits
0x89
0xAB
DATA.0
15:8
7:0
0x45
0x67
DATA.1
15:8
7:0
0x01
0x23
DATA.2
15:8
7:0
For example, to set the FRAM multiturn position to
0x0123,4567, set DATA.0 – DATA.1 as shown Table 65
and write 0x0019 (25) to the MODE/CMD register. This
sets the multiturn position without affecting the PP and
DIR bits to allow proper turns counting after etting the
multiturn position. When the command is complete, the
iC-TW14 sets MODE/CMD to NORMAL (0).
Table 64: FRAM Multiturn Position Read Example
The F_SET_MT command (25) is used to set the FRAM
multiturn position to a specific value. This command
writes the 32-bit multiturn position in DATA.0 – DATA.1
to FRAM addresses 0x000 – 0x005 with special en-
coding using FRAM feedthrough mode in the iC-PMX
Register Bits
DATA.0 15:8
7:0
DATA.1
15:8
7:0
F_SET_MT Example
Data FRAM Bits
0x45 Counter(15:8)
0x67 Counter(7:0)
0x01 Counter(31:24)
0x23 Counter(23:16)
Table 65: Set FRAM Multiturn Position Example