EPC110 EPC [Espros Photonics corp], EPC110 Datasheet - Page 16

no-image

EPC110

Manufacturer Part Number
EPC110
Description
Fully integrated configurable light barrier driver & receiver
Manufacturer
EPC [Espros Photonics corp]
Datasheet
SPI Interface
The serial peripheral interface (SPI) allows the micro-controller to communicate with the epc110 device. It allows the access to the internal
memory of the chip for parameter setting and programming for configuration or in a dynamic mode to change parameters on the fly.
Hardware interface
This functionality is given by double-used pins: LED/ SCK, EN/SI, OUTN/SO.
The signal CS does the selection, if the operation mode or the command/program mode is active:
IMPORTANT NOTICE:
Due to fact of the advantage of the flexibility in use of this devic e the responsibility of any possible hardware, LED load or LED driver conflicts
have to be handled by the user and are depending of the final application schematic. Main items to take care of are:
Possible solutions are discussed at the example of the principal schematic “ Figure 13: Hardware interface micro-controller – epce110 “.
© 2011 ESPROS Photonics Corporation
Characteristics subject to change without notice
1.
2.
1.
2.
VDD µC
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
File: Unbenannt
GND
CS = 1:
CS = 0:
Double-use as input as well output of LED/ SCK signals/line. For non-standalone application a well done decoupling of the signals is
needed.
Parameter setting and programming of the device in final application environment e.g. if LED and LED drivers are not designed for
continuous mode application, risk of overloading.
During SPI access of the device in final application environment e.g. if LED and LED drivers are not designed for continuous mode
application, risk of overloading.
Mode selection: Operation mode - Parameter/Program mode
As long the device is not connected to an LED driver, the access to the SPI interface is allowed while CS = 0. This can simply be
done by the switch S1 before power up the circuit. In this case the output LED/ SCK will not be driven as an output.
Run-time access of SPI interface
To have no conflicts together with a micro-processor on the bus line LED/SCK (Output/input) during run-time operation in this
example, the decoupling and interfacing of the LED/ SCK line is done by the tristate buffer BUF1, the additional input IN and
additional output enable SCK (OUT ESCK). While the LED is in operation, driven by the epc110, OUT ESCK = 0 will tristate the
buffer and the SCK line from the micro-processor. With the input IN the micro-processor can read the status of the LED/ SCK line
after the buffer for finding the correct transition time.
V_IN
Regulator 3.3V
<Title>
ADJ
operation mode
command/program mode
As long as CS = 0 the pin LED/SCK is set to high-ohmic and defined as input pin.
V_OUT
VDD PROG
D2
D3
Figure 13: Hardware interface micro-controller – epce110
R3
R4
T4
R5
D4
8V2
→ LED, EN, OUTN are active.
→ SCK, SI, OUTN are active.
T2
R6
T3
R7
VDD33
VDD18
PD
OUT PROG
16
µController
epc110
VDD
GND
VDD
GND
OUT ESCK
OUTN/SO
LED/SCK
.
OUTH
EN/SI
SCK
CS
CS
SO
SI
IN
R8
LST
<xx>
S1
BUF1
INV1
25.01.2011
Page 1
Datasheet epc110 - V2.1
AND1
D1
www.espros.ch
T1
R1
epc110
VLED
+
R2
C1

Related parts for EPC110