English
Language : 

EPC110 Datasheet, PDF (18/27 Pages) Espros Photonics corp – Fully integrated configurable light barrier driver & receiver
epc110
Symbol Parameter
Comments / Conditions
t1
f SCK
tH / tL
tSU / tHold
tD
trf / trf SCK
Edge time CS to SCK
Clock frequency of SCK
HIGH and LOW period of SCK
Set-up and hold time of SI
Output data of SO valid
Rise / fall time SO / SCK
Falling edge CS to falling edge SCK
Data stable before and after positive edge of SCK
Data valid after negative edge of SCK
Min.
50
50
15
Values
Typ.
Max.
10
20
20
Units
ns
MHz
ns
ns
ns
ns
Input Data Format and Command List
The communication is based on telegrams (Direct commands or results), which are sent and received over the SPI interface.
The input data format (telegram) is given in Figure 15. The first bit in the data stream from the microprocessor to the epc110 chip (SI pin) will
be B = 0 always.
CS
SCK
SI
Command set:
B
C0
C1
C2
R0
R1
R2
R3
R4
D0
D1
Dn
T0
T1
Command
Register Address or Cmd Extension
Data
Figure 15: Communication to the epc110 device: Direct Command
Name
Cmd Code
Start
B
Cmd Code
Command
C0...C2
Cmd Code
Extension
R0...R4
Cmd Code
Data
D0...D16
Cmd Code
Termination
T0, T1
Function
Result Data
No. of data bits
on SPI interface
Command / Result
NOP
0
000
---
---
---
No operation,
No
≧4
or read out data
READ
0
010
Register address
---
00
Read register Rn
Yes
11 / 22
WRITE
0
011
Register address
Data
00
Write data to RAM
No
(Register 16...18)
27 / --
PROG
0
110
Register address
---
---
RESET
<0SPI Direct com1m1a1nd>
11001
---
---
Table 4: Command list File:
This document is confidential and protected by law and international trades. It must not be shown to any third party nor be copied in any form without our written permission.
Remarks:
Copy data to ROM
Res<eLStTt>he device
No
20.N05o.2011
Page 1
9 / --
9 / --
• The telegram data is transmitted with the LSB first.
• A telegram starts with the CS change from high to low (Synchronization) and ends with the change from low to high.
• Single telegrams either commands as well results have to be separated by a CS = 1 in between.
• Additional SCK clock cycles have no effect.
This allows to extend the above given minimal telegram lengths to a standardized telegram lengths (Byte, word or double-word).
• The minimum telegram length is given in Table 3, section Number of data bits.
© 2011 ESPROS Photonics Corporation
18
Characteristics subject to change without notice
Datasheet epc110 - V2.1
www.espros.ch