iC-LNB 18-BIT OPTO ENCODER
WITH SPI AND SER/PAR INTERFACES
Rev A1, Page 19/35
OPERATING MODES
Device iC-LNB has two operating modes which are se- resolution digital signals in Gray code are available at
lected using register bit EPG.
outputs GA and GB. These can be used for example to
count the number of revolutions. A mechanical tilt an-
gle of the scanner can be adjusted using output signal
XJD.
EPG
Code
0
Addr. 0x07; bit 4
Description
Interface mode
Parallel mode
In parallel encoder mode the sensor data is output as
a 16-bit, parallel data word in Gray code. For this pur-
pose all the relevant pins are reconfigured as outputs.
Table 9 shows the pin functions for the respective op-
1
Table 8: Operating mode
In interface mode a shift register is provided for sen- erating mode (also see the parallel encoder mode sec-
sor data readout, with an incremental interface includ- tion on page 31).
ing an index signal (FlexCount active) for the output
of encoder quadrature signals with a configurable res- The SPI interface for device configuration can also be
olution. A power-on signal at pin POK indicates that used for position data readout and is available in both
the system is enabled. Regardless of the FlexCount operating modes.
PAD FUNCTIONS
Pad
Interface mode
Parallel mode
GND
VDD
SCK
MOSI
MISO
CS
I/O Ports Ground
I/O Ports Ground
+ 3V to +5.5 V I/O Ports Supply Voltage
SPI Clock Input
+ 3V to +5.5 V I/O Ports Supply Voltage
SPI Clock Input
SPI Data Input
SPI Data Input
SPI Data Output
SPI Data Output
SPI Chip Select Input
Test Input NCOS
SPI Chip Select Input
Parallel Output Bit 15
Parallel Output Bit 14
Parallel Output Bit 13
Parallel Output Bit 12
Parallel Output Bit 11
Parallel Output Bit 10
Parallel Output Bit 9
Parallel Output Bit 8
Parallel Output Bit 7
Parallel Output Bit 6
Parallel Output Bit 5
Parallel Output Bit 4
Parallel Output Bit 3
Parallel Output Bit 2
Error Message Output
Parallel Output Bit 1
Parallel Output Bit 0
Analog Voltage Output NCOS
Analog Voltage Output PCOS
Analog Voltage Output NSIN
Analog Voltage Output PSIN
LED High Side Current Source
+ 4V to +5.5V Supply Voltage
Ground
TNC
TNS
DIR
Test Input NSIN
Code Inversion Input
Shift Register Load Input
Shift Register Data Input
Shift Register Data Output
Shift Register Clock Input
Graycode Output A (MSB)
Graycode Output B (MSB-1)
Adjustment Signal
NSL
DIN
DOUT
CLK
GA
GB
XJD
POK
INCZ
INCB
INCA
ERR
TPS
Power OK Indication
Incremental Output Z
Incremental Output B
Incremental Output A
Error Message Output
Test Input PSIN
TPC
NCOS
PCOS
NSIN
PSIN
LED
Test Input PCOS
Analog Voltage Output NCOS
Analog Voltage Output PCOS
Analog Voltage Output NSIN
Analog Voltage Output PSIN
LED High Side Current Source
+ 4V to +5.5V Supply Voltage
Ground
VDDA
GNDA
Table 9: Pad functions according to operating mode