
8: Firmware and Advanced Communications
225-00000-000-11-201604
75
Return Byte Format
Byte 0
Byte 1
Byte 2
Byte 3
…
Byte N+3
I
2
C Results
I
2
C Address
Bytes to Read
Data Byte 0
…
Data byte N
I
2
C Result Value
Description
0
I
2
C bus Idle
1
I
2
C bus Sending Data
2
I
2
C bus Receiving Data
3
I
2
C bus Receiving first byte of string
5
I
2
C bus in waiting for STOP condition
6
I
2
C experienced Bit Error
7
I
2
C experience a Not Acknowledge (NAK) Condition
8
I
2
C experienced successful transfer
9
I
2
C bus timed out
General I2C Write
Performs a general purpose write on the I
2
C pins for interfacing to attached peripherals. The
time to complete the command is determined by the amount of data transferred and the
response time of the peripheral. In all I2C communications, the first byte of the transaction
consists of a 7 bit address and a read/write bit. The “address” that is passed as the second
byte of the I2C write command is this 7 bit address, which will be shifted 1 bit left and
appended with the R/W bit to form the first byte of the I2C write transaction. The I
2
C bus runs
at 400KHz. The results codes are described above.
Command Byte Format
Byte 0
Byte 1
Byte 2
Byte 3
…
Byte N+3
0x61
I
2
C Address
Bytes to
Write
Data Byte 0
…
Data byte N
Return Byte Format
Byte 0
I
2
C Results
Содержание Flame-S
Страница 18: ...1 Introduction 8 225 00000 000 11 201604...
Страница 32: ...2 Installation and Setup 22 225 00000 000 11 201604...
Страница 46: ...4 Troubleshooting 36 225 00000 000 11 201604...
Страница 54: ...5 How the Flame Spectrometer Works 44 225 00000 000 11 201604...
Страница 58: ...6 Technical Specifications 48 225 00000 000 11 201604 Mechanical Diagram Figure 1 Flame Outer Dimensions...
Страница 74: ...7 Calibration 64 225 00000 000 11 201604...
Страница 130: ...Index 120 225 00000 000 11 201604...