English
Language : 

IC-MHM Datasheet, PDF (27/63 Pages) IC-Haus GmbH – 14-BIT ABSOLUTE ANGLE HALL ENCODER
iC-MHM
14-BIT ABSOLUTE ANGLE HALL ENCODER
P2
CFG_IOP
0x03(1:0)
0
0
0
1
2
3
Pin 6
DIR_IO2
0x0B(3)
0
0
1
X
X
X
F_IO2
0x75(2)
0
1
X
X
X
X
Function
Output Low/Input
Output High
Code Dir. Input
Reserved
Inc. Output B
Cal. Signal CS2
Table 32: Digital I/O 2
Rev D1, Page 27/63
DIR_IO2
Value
0
1
Addr. 0x0B; bit 3
Function
P2 is General-Purpose Discrete I/O
P2 is Code Direction Input
Table 35: Enable Code Direction Input P2
Refer to Code Direction (DIR) on page 21 for informa-
tion on determining code direction using the dedicated
code direction input and parameter DIR.
To use P2 as a general-purpose discrete output, set
CFG_IOP = 0 and DIR_IO2 = 0. The state of P2 is then
controlled by bit F_IO2 in the discrete output instruction
register.
Digital I/O 3 (P3)
P3 can be used as a general purpose discrete input or
output, a BiSS command controlled output, incremental
encoder output Z, or calibration signal output CS3.
F_IO2
Value
0
1
Address 0x75; bit 2
Function
P2 Drives Weak Low (Force)
P2 Drives Strong High (Force)
Table 33: Discrete Output Instruction Register Bit
F_IO2
Because P2 only drives a weak low when F_IO2 = 0,
a buffer on P2 is recommended to provide a robust
output.
P3
CFG_IOP
0x03(1:0)
0
0
0
1
2
3
Pin 7
ENCMD2
0x0B(5)
0
0
1
X
X
X
F_IO3
0x75(3)
0
1
X
X
X
X
Function
Output Low/Input
Output High
BiSS Output
Reserved
Inc. Output Z
Cal. Signal CS3
Table 36: Digital I/O 3
To use P2 as a general-purpose discrete input, set
CFG_IOP = 0, DIR_IO2 = 0, and F_IO2 = 0. The state
of P2 is then available as bit S_IO2 in the discrete input
status register.
To use P3 as a general-purpose discrete output, set
CFG_IOP = 0 and ENCMD2 = 0. The state of P3 is then
controlled by bit F_IO3 in the discrete output instruction
register.
S_IO2
Value
0
1
Address 0x71; bit 2
Condition
P2 Low (Sense)
P2 High (Sense)
Table 34: Discrete Input Status Register Bit S_IO2
F_IO3
Value
0
1
Address 0x75; bit 3
Function
P3 Drives Weak Low (Force)
P3 Drives Strong High (Force)
Table 37: Discrete Output Instruction Register Bit
F_IO3
The weak low driven by P2 when F_IO2 = 0 is over- Because P3 only drives a weak low when F_IO3 = 0,
come by the input signal when P2 is used as a discrete a buffer on P3 is recommended to provide a robust
input.
output.
To use P2 as a dedicated code direction input, set
CFG_IOP = 0 and DIR_IO2 = 1. The positive code di-
rection (increasing angle) is then controlled by the level
at P2 and parameter DIR.
To use P3 as a general-purpose discrete input, set
CFG_IOP = 0, ENCMD2 = 0, and F_IO3 = 0. The state
of P3 is then available as bit S_IO3 in the discrete input
status register.