iC-LNG 16-BIT OPTO ENCODER
WITH SPI AND SERIAL / PARALLEL OUTPUTS
Rev A1, Page 12/25
CONFIGURATION PARAMETERS
Operating modes . . . . . . . . . . . . . . . . . . . . . . . . . . Page 14 Parallel encoder mode . . . . . . . . . . . . . . . . . . . . .Page 20
EPG: Operating mode selection
EPG:
Operating mode selection
SPI Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Page 15
Shift register output . . . . . . . . . . . . . . . . . . . . . . . Page 21
OPCODE:
RACTIVE:
PACTIVE:
SVALID:
Instructions
SRC:
STA:
DIR:
Shift register length
SIN/COS resolution
Code inversion
Activate register communication
Activate sensor data communication
Sensor data valid
Incremental output . . . . . . . . . . . . . . . . . . . . . . . . Page 22
INC: Incremental output
STATUS:
SPI status information
Signal conditioning . . . . . . . . . . . . . . . . . . . . . . . .Page 19
GR:
GS:
Gain range (all tracks)
SIN gain
PSIN offset
NSIN offset
COS gain
PCOS offset
NCOS offset
LED current control . . . . . . . . . . . . . . . . . . . . . . . .Page 23
LCSET: Control mode and setpoint
OSP:
OSN:
GC:
OCP:
OCN:
Internal error signals . . . . . . . . . . . . . . . . . . . . . . Page 23
ERRS:
ERRP:
LED control range error
Parity error
Test functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Page 24
TA:
TMUX:
Test modes
Multiplexer test signal
Synchronization . . . . . . . . . . . . . . . . . . . . . . . . . . . Page 20
NSYNC: Synchronization
REGISTER MAP
Adr Bit 7
Signal conditioning
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
0x00
0x01
0x02
0x03
0x04
0x05
P0
P1
P2
P3
P4
P5
–
–
GS(5:0)
GC(5:0)
OSP(6:0)
OSN(6:0)
OCP(6:0)
OCN(6:0)
LED current control
0x06
P6
LCSET(6:0)
STA
Output
0x07
P7
P8
NSYNC
–
DIR
EPG
–
GR(1:0)
SRC(2:0)
0x08
INC(2:0)
Test functions
0x09
0x0A
0x0B
0x0C
0x0D
0x0E
0x0F
P9
TA(1:0)
TMUX(3:0)
PA
PB
PC
PD
PE
PF
–
–
–
–
–
–
Bit 7: Parity bit (supplemented to an even number of ones)
Table 6: Register layout