EPC120 EPC [Espros Photonics corp], EPC120 Datasheet - Page 19

no-image

EPC120

Manufacturer Part Number
EPC120
Description
Fully integrated Light-Barrier Chips with 2-Wire Bus Interface
Manufacturer
EPC [Espros Photonics corp]
Datasheet
Command SCAN
© 2011 ESPROS Photonics Corporation
Characteristics subject to change without notice
Command List
Remarks:
The command SCAN enables the addressed device, times the ongoing operation or fetches the scan result. The operation of the command
SCAN is described more in detail in Chapter Error: Reference source not found.
The bit N indicates whether a new result has been received. D
an error code. D
SCK
File:
CS
RESET
SI
WRITE
PROG
SCAN
READ
ADRA
Name
TEST
NOP
Additional SCK clock cycles have no effect.
The telegram length on the 2-wire bus is given in the number of data clock cycles. It allows to calculate the minimum int erval between
two commands.
If an SPI command is given while another command is being transmitted on the 2-wire bus, the new command is ignored.
The READ and WRITE commands in the direct access mode require 2 additional SCK cycles.
SCK
CS
SI
Part Name
<Partname>
Command
5
...D
C
Code
0
000
000
010
011
101
110
111
111
A0
10
.. C
are empty.
N
2
A1
A2
D
Extension Code
Register address
Register address
Register address
Figure 18: Communication to the sensor devices (Broadcast Command)
0
Device Address
Command
A3
R
10000
11001
0
Figure 19: Timing of the results of a SCAN command
.. R
D
1
A4
4
D
2
A8
Function
Scan
No operation
Read
Write to volatile register
Address allocation
Program
Test mode
Reset the device
Table 7: Command list
A9
D
0
3
...D
C0
4
contains the address, D
Command
D
19
4
C1
C2
D
5
R0
Broadcast
Broadcast
Mode
Direct
R1
both
both
both
both
both
Register Address
or Cmd Extension
11
...D
D
R2
20
20
contains the returned data, E
R3
Number of data bits
E
0
on 2-wire bus
R4
D
0
62
97
62
62
62
80
62
..D
0
D0
n
Datasheet epc12x - V2.1
D1
Data
E
Approved
Scale
Page
Designed
3
www.espros.ch
0
...E
Returned
Dn
epc120
Part No.
<Text>
<Text>
M 1:1
1
<x000 000>
Data
3
26.05.2011
Page 1
Yes
Yes
Yes
Yes
No
No
No
No
contains
26.02.2009
<Date>
DIN A3

Related parts for EPC120