iC-LNG 16-BIT OPTO ENCODER
WITH SPI AND SERIAL / PARALLEL OUTPUTS
Rev A1, Page 14/25
OPERATING MODES
iC-LNG has two operating modes. These are selected at a configurable resolution. A power-on signal at pin
using register bit EPG.
POK indicates that the system is enabled (POK = hi).
In parallel encoder mode the sensor data is output as
a 14-bit, parallel data word in Gray code. For this
purpose all the relevant pins are reconfigured as out-
puts. Table 9 shows the pin functions for the respec-
tive operating mode (see also Parallel Encoder Mode
on page 20).
EPG
Add. 0x07, bit 4
0
1
Interface mode
Parallel encoder mode
Table 8: Operating mode selection
In interface mode a shift register is provided for sensor The SPI interface for device configuration can also be
data readout and an incremental interface with an in- used for position data readout and is available in both
dex signal for the output of encoder quadrature signals operating modes.
Pin dependent on
Pin
VDD
VDDA
Interface mode
I/O pins ground
+3 V to + 5.5 V I/O pins
Supply voltage
Parallel encoder mode
I/O pins ground
+3 V to + 5.5 V I/O pins
Supply voltage
GND
VDD
x
x
SCK
MOSI
MISO
CS
TNC
TNS
INCZ
NSL
DIN
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
SPI clock
SPI data input
SPI data output
SPI chip select
Test input NCOS
Test input NSIN
Incremental output Z
Load shift register
Shift register data input
Shift register data output
Shift register clock
Load shift register
Parallel output 5
Power OK indication
Incremental output B
Incremental output A
Alarm message output
Test input PSIN
SPI clock
SPI data input
SPI data output
SPI chip select
Parallel output 13
Parallel output 12
Parallel output 11
Parallel output 10
Parallel output 9
Parallel output 8
Parallel output 7
Parallel output 6
Parallel output 5
Parallel output 4
Parallel output 3
Parallel output 2
Alarm message output
Parallel output 1
Parallel output 0
Voltage output NCOS
Voltage output PCOS
Voltage output NSIN
Voltage output PSIN
DOUT
CLK
NSL
PO5
POK
INCB
INCA
ERR
TPS
TPC
Test input PCOS
NCOS
PCOS
NSIN
PSIN
LED
x Voltage output NCOS
x Voltage output PCOS
x Voltage output NSIN
x Voltage output PSIN
x LED current control (highside output) LED current control (highside output)
VDDA
GNDA
x +4 V to + 5.5 V Supply Voltage
x Ground
+4 V to + 5.5 V Supply Voltage
Ground
Table 9: Pin functions depending on operating mode