epc110
Parameters
The parameters are defining the functionality of the epc110. The big variety of possible settings allows to cover a wide range of applications.
The devices contains a memory to store the application parameters. They are stored into 16bit registers. The registers are organized into
2 blocks: a volatile and a non-volatile one.
Parameter Memory Organization (epc110)
The following classes of data are stored for each device:
•
•
Application parameters
Unique chip ID and chip adjustments (factory set)
This data can be permanently stored in a read-only memory (ROM)1 and is mirrored in a volatile memory (RAM). At power up, the data
(except the chip ID) is copied from the ROM to the RAM. During operation, the data from the RAM is used. Both memories are organized in
16 registers at 16 bits each. The data can be accessed on a 16-bit register base.
If a register has been burned (=stored into the ROM) the first bit is set: FUSEBIT = 1. If VMOD = 1 is selected, the register cannot be modified
any more nor in RAM nor in ROM area. For VMOD = 0 the RAM area is still accessible.
So far the chip can be operated in two different modes:
•
Fix-parameter mode VMOD = 1: e.g. as standalone or pre-configured device
Operated with not modifiable data from RAM, which are stored permanently in ROM.
•
Dynamic mode VMOD = 0: e.g. for adaptive systems, dynamic systems
Operated with modifiable data from RAM. The SPI interface allows to modify these data in the RAM area at any time on the fly.
At power up these data are loaded from the permanent stored data in the ROM. If the run-time configuration differs from the data set
stored in the ROM, it has to be restored after each power-up again by the external micro-processor over the SPI interface.
The following table shows the memory organization:
Non-Volatile Memory Address Range Volatile Memory Address Range Description
(Register no.)
(Register no.)
0 - 3
4 - 6
7
16 - 19
20 - 22
23
Application parameters
Trim values, factory set
Device Address (not applicable)
Chip ID, factory set
8 - 15
-
-
24 - 31
For factory test purpose. Read only.
Table 3: Memory map overview
As shown in the table above, registers 0 – 3 are used for configuring the chip in the application. Before the devices can be used in a final light-
barrier system, the required application parameters of the chip in the system have to be stored into the device memory.
The following table shows the allocation of the available parameters in the memory of the epc110:
Bit #
15
VMODE
0
14
13
MODE
0
12
0
11
1
10
0
9
0
1
8
7
6
0
5
0
4
3
2
1
0
ROM RAM
0
0
0
0
0
1
TPULSE
POL FUSEBIT
0
0
1
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
TPER
0
DEC
INC
SENSH
0
FUSEBIT
FUSEBIT
FUSEBIT
FUSEBIT
FUSEBIT
FUSEBIT
FUSEBIT
FUSEBIT
FUSEBIT
FUSEBIT
FUSEBIT
FUSEBIT
FUSEBIT
FUSEBIT
FUSEBIT
Application
parameters
1
0
SENSN
2
don't use
don't use
don't use
don't use
don't use
Lot no. LSB
Lot no. MSB
Chip ID
Factory use only
Revision no.
no function
no function
no function
3
4
5
Trimming
6
7
Device Address
8
9
10
11
12
13
14
15
Chip ID
Figure 12: Detailed memory map epc110
1 The non-volatile memory is a one-time-programmable memory (OTP). Once the memory is programmed, the programmed values cannot be
overwritten anymore.
© 2011 ESPROS Photonics Corporation
Characteristics subject to change without notice
11
Datasheet epc110 - V2.1
www.espros.ch