FEASA LED ANALYSER
ICT VERSION
Synchronous Serial Mode
Synchronous Serial Commands
The following table lists the commands that can be executed through the Synchronous Serial
Port. All data transmitted and received is in a binary format. The Most Significant Bit (MSB) is
transmitted/received first. Another Table
Figure 26
contains other Sync Serial Commands for
the Capture Sequence Testing Function.
Command
Data Transmitted
Data Received
Clear Comms Buffer
0xFF (1 byte)
Initialize the LA
0xAA (1 byte)
Capture Auto Mode
0x55
0xD5 or 0xEE (error condition)
Capture using Range 1
0xA1
0xD5 or 0xEE (error condition)
Capture using Range 2
0xA2
0xD5 or 0xEE (error condition)
Capture using Range 3
0xA3
0xD5 or 0xEE (error condition)
Capture using Range 4
0xA4
0xD5 or 0xEE (error condition)
Capture using Range 5
0xA5
0xD5 or 0xEE (error condition)
Capture Status
0xBB
0xD5 or 0xEE (error condition)
CapturePWM Auto Mode
0xB0
0xD5 or 0xEE (error condition)
CapturePWM using Range 1
0xB1
0xD5 or 0xEE (error condition)
CapturePWM using Range 2
0xB2
0xD5 or 0xEE (error condition)
CapturePWM using Range 3
0xB3
0xD5 or 0xEE (error condition)
CapturePWM using Range 4
0xB4
0xD5 or 0xEE (error condition)
CapturePWM using Range 5
0xB5
0xD5 or 0xEE (error condition)
Read HSI
0x20 + fiber num (1byte)
Hue(2bytes) + Sat(1byte) + Int (3byte)
Read RGB & I
0x30 + fiber num (1byte)
R(1byte) + G(1byte) +B(1byte) +Int (3byte)
Set Sensitivity Factor
0x40 + factor(0x01 - 0x0F)
factor(0x01 - 0x0F)
Read xy & I
0x50 + fiber num (1byte)
x(2bytes) + y(1byte) + Int (3byte)
Read cct
0x60 + fiber num (1byte)
cct (2bytes)
Read Dominant Wavelength
0x70 + fiber num (1byte)
Dominant Wavelength (2bytes)
Read Wavelength & Sat & Intensity
0x71 + fiber num (1byte)
Wavelength (2bytes) + Saturation (1byte) +
Int (3bytes)
Read Absolute Intensity
0x80 + fiber num (1byte)
Int(3byte) + Exp(1byte)
Figure 19.
Note:- The code
0xD5
indicates the command completed correctly. If the code
0xEE
is
received then an error has occurred and the command should be re-transmitted.
34