epc110
Parameter settings can be done by writing complete 16 bit registers only.
Bits marked up in white fields shall be modified or programmed only. Gray marked bits with a given value in the memory map above must be
set to this. Never change the memory content of gray marked cells without numeric indication. Writing to this cells is not allowed.
The RAM can be written only, if the corresponding ROM memory hasn’t been written before (FUSEBIT = 0) or if the volatile mode is active
(VMODE = 0). The first bit of each 16-bit ROM register serves as write inhibit bit (FUSEBIT). To write to the ROM, the micro-controller has to
write the data to the RAM first (with FUSEBIT = 0). From there, the micro-controller can first double check the data integrity. When a memory
section is verified, the content can be transferred from the RAM memory to the ROM using the command PROG (refer to chapter Command
PROG). While processing this instruction the FUSEBIT will be set to “1” by epc110.
The device is fully operational as well without programming the ROM, but data will be lost at power down. Operating the chip in this mode is
helpful during the development of the product or if your application needs an adaptive mode. However, in the final application for a standalone
or self-reboot operation, the parameters must be stored into the ROM memory.
Parameter Description (epc110)
Parameter
Name
Register No.
ROM RAM
Bit No. Function
FUSEBIT
0
16
0
During write operation to this RAM register, put this bit = 0.
This bit will be set automatically, when corresponding ROM register is programmed.
0
0
1
Values
The corresponding ROM register is not programmed
The corresponding ROM register is programmed
POL
0
0
16
16
1
Polarity of the LED pulse. Setting is depending on the LED driver circuitry.
1
Values
Default
Recommended Setting
0
active low
X
1
active high
X
TPULSE
4...2
Pulse length tPulse of the light pulse
4
0
0
0
0
1
1
1
1
3
0
0
1
1
0
0
1
1
2
0
1
0
1
0
1
0
1
Values
1μs
Default
Recommended Setting
X
2μs
X (typical setting)
3μs
4μs
5μs
6μs
7μs
8μs
n/a
2
0
18
16
11...5
no function, must be set as listed below
11 10
9
8
7
6
5
1
0
0
0
0
0
0
MODE
14...12 Definition of operation mode.
14 13 12 Value
1
0
1
Fork light barrier, standalone mode:
LED pulse and light detection reading generated internally.
0
1
1
Fork light barrier, controlled mode:
Externally stimulated LED pulse by positive edge of signal on pin EN.
Externally controlled light detection by signal on pin EN=1.
x
x
x
All other settings forbidden. Function of the device not defined and guaranteed.
© 2011 ESPROS Photonics Corporation
Characteristics subject to change without notice
12
Datasheet epc110 - V2.1
www.espros.ch