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

no-image

EPC110

Manufacturer Part Number
EPC110
Description
Fully integrated configurable light barrier driver & receiver
Manufacturer
EPC [Espros Photonics corp]
Datasheet
The command NOP can be used to fetch data without sending a new command – see next section Readout of Returned Results.
Detailed Command & Result Descriptions
Command NOP: No operation
Readout of Returned Results
The results/data at output pin SO depend on the previous transmitted command to input pin SI.
Two ways to readout this data are possible:
Remarks:
Command READ: Read register Rn
With the command READ the registers of the RAM and ROM memory can be read register by register.
The command extension “Register address” defines the requested register for reading it out.
After command transmission the expected result data can be readout on the SO pin.
Result readout frame (telegram):
Result data format:
Command WRITE: Write to RAM register 16 - 18
Data can be written into the volatile RAM register 16 – 18 by using the command WRITE. The command extension “Register a ddress” selects
the register. It is followed by the data to be written.
In VMOD = 1 it is possible to write to registers only, if the corresponding register in the ROM has not been written yet. It is not possible to write
directly to a ROM register. If the data has to be stored into the ROM register, a subsequent command PROG has to be used.
In VMOD = 0 the RAM registers can be written at anytime.
Command PROG
The command PROG transfers the data from the RAM register to the corresponding ROM register. See chapter Parameter Programming for a
detailed description.
Command RESET
The command RESET resets the device and initiates a startup.
© 2011 ESPROS Photonics Corporation
Characteristics subject to change without notice
1.
2.
The data is represented with the LSB first.
Data is valid on positive edge of clock SCK while CS is low.
If more clock toggles SCK are issued than data can be fetched, zeros are transmitted.
Either it can be fetched in parallel of transmitting a next command
or by sending NOP commands just by toggling SCK while CS is low.
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:
N
R0...R4
D0...D15
<Timming SPI read command 1>
Data Bits
SCK
CS
SO
Not used, have to be ignored
Function
5 bit register address
16 bit returned data of the corresponding register (one complete register)
N
Table 5: Result of a READ command
R0
Figure 16: Timing Result Data
R1
R2
19
R3
R4
D0
.
Dn
<LST>
Datasheet epc110 - V2.1
www.espros.ch
epc110
24.01.2011
Page 1

Related parts for EPC110