| Electronic Components Datasheet Search |
|
EPC600 Datasheet(PDF) 26 Page - Espros Photonics corp |
|
|
|||||||||||||||||||||||||||||
EPC600 Datasheet(HTML) 26 Page - Espros Photonics corp |
|
26 / 30 page ![]() 3.3. Communication tasks 3.3.1. Measurement sequence (Distance or ambient-light) SCLK SDATA C2 C1 C0 I3 I2 I1 I0 Q3 Q2 Q1 Q0 D11 D10 D1 D0 LSB C3 MSB MSB LSB uP polls SDATA epc600: idle Idle epc600 pulls SDATA to low as soon measurement is finished: Data ready hand-shake signal to uP t MEAS S S Response: epc600 writes SDATA uP reads SDATA Command: uP writes SDATA epc600 reads SDATA uP checks SDATA: high = continue; low = error uP pulls SDATA to low: Command hand-shake signal to epc600 epc600 measures Idle Figure 27: Measurement sequence ■ Before and after, the microprocessor performs an access to the epc600, the SDATA line should be checked for an error according to Figure 27. If SDATA is LOW, this indicates an ERROR in communication. ■ The microprocessor initiates the communication with a start bit on the SDATA line followed by actively clocking the line SCLK and the command transmission. ■ After completion of the command, the epc600 chip starts the measurement. Meanwhile, the microprocessor waits for a response. ■ The epc600 chip sets the start bit on SDATA when the measurement is executed and the data are ready ( tMEAS, refer to Table 9). ■ Now the microprocessor can read out the data by active clocking. Symbol Parameter Min. Typ. Max. Unit tMEAS Measurement duration. Depends on the selected integration time 0.8 212 ms tACC Propagation delay of the epc600 after command transmission 3.0 μs tRST Reset signal to the epc600. The time SCLK must be pulled low. 1.0 ms tREC Recovery time after reset of epc600 4.0 ms Table 9: Timing of the measurement, read and reset sequence 3.3.2. Read sequence (Valid & saturated pixels, Q-subsample QSx, Temperature) SCLK SDATA C2 C1 C0 I3 I2 I1 I0 Q3 Q2 Q1 Q0 D11 D10 D1 D0 LSB C3 MSB MSB LSB uP polls SDATA epc600: idle Response: epc600 writes SDATA uP reads SDATA Command: uP writes SDATA epc600 reads SDATA Idle Idle uP checks SDATA: high = continue; low = error epc600 pulls SDATA to low as soon data are ready: Data ready hand-shake signal to uP t ACC S S uP pulls SDATA to low: Command hand-shake signal to epc600 Figure 28: Read sequence The sequence is identical to the above except for the waiting time tACC of the response of the chip (refer to Table 9). ■ Before and after, the microprocessor performs an access to the epc600, the SDATA line should be checked for an error according to Figure 28. If SDATA is LOW ,this indicates an ERROR in communication. ■ The microprocessor initiates the communication with a start bit on the SDATA line followed by actively clocking the line SCLK and the command transmission. ■ After completion of the command, the epc600 chip fetches the data. Meanwhile, the microprocessor waits for a response. ■ The epc600 chip sets the start bit on SDATA when the data are ready ( tACC). ■ Now the microprocessor can read out the data by active clocking. 3.3.3. Error detection by the microprocessor SCLK SDATA C2 C1 C3 MSB Command: uP writes SDATA epc600 reads SDATA Idle uP checks SDATA: detects error S uP pulls SDATA to low: Command hand-shake signal to epc600 uP checks SDATA: high = continue; low = error Reset by uP Idle t RST t REC normal operation ... Figure 29: Error detection by the uP and the reset sequence © 2014 ESPROS Photonics Corporation Characteristics subject to change without notice 26 / 30 Datasheet epc600 - V1.3 www.espros.ch |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |