/******************************************************************** * * MODULE NAME : FP.IDS * * TITLE : LEB/Fabry-Perot Interface Design Specification (IDS) * * CC # : 4802 * * AUTHOR : G. Lyons * * DATE : November 12, 1991 * * PURPOSE : Define all commands handled by Fabry-Perot * * CONTROL DATE : November 8, 1993 - STN#056 * * REVISION * HISTORY : * * REV DATE ENGINEER DESCRIPTION * -- 03/03/92 G. Lyons Changes made to msgs: 1, 5, 7, 9, * 11, 14, 22, 29, 30, 31 (deleted) * -- 07/23/92 G. Lyons Major Revision * -- 08/14/92 G. Lyons Changed Check & Correct History Buffer * -- 10/05/92 G. Lyons Changed Status Word #6 - now indicates * whether RAM or ROM code is running * -- 10/16/92 G. Lyons Added information on cmds available * from PROM code. * Changed Msg 22 - 'direction' parameter * now has four options. * Changed format of Msg 24 - cmd word no * holds 'no. of words to upload'. * -- 10/19/92 G. Lyons Added error code information to Msg 13 * and Msg 15. * -- 12/24/92 G. Lyons Modified Msg 29 - it is no longer * available in RAM code. * -- 02/18/93 G. Lyons Modified MSG 20 - it now contains a * third parameter, "Observation Order". * 01 11/08/93 G. Lyons STN#056 - Initial Release to FLT PSL * ********************************************************************/ LEB/Fabry-Perot Interface Design Specification (IDS) April 2, 1993 Analytyx Electronic Systems, Inc. Command List ------------ LEB ---> FP ----------- Msg Number Page number Description --------- -------------- ----------- 1* 7 - Load DACs 2* 10 - Set Up In-Flight Debug Variables 3 9 - CLR Scan (OCC Data) 4 11 - CLR Scan (Central Aperture Data) 5 42 - Scope Command 6* 12 - Read MUX Channels 7 13 - Request Results 8 26 - Measure Finesse 9* 18 - OCC Post-Amp Gain Control High/Low 10 27 - Identify Data Source 11* 36 - FP Software Reset 12* 19 - Mode - Servo/Reduced 13 20 - Perform Analog Check/Correct 14* 37 - FP Temperature Adjust 15* 21 - FP Diagnostics 16 38 - Modify Parameters 17 24 - Long/Med Finesse Optimization 18 39 - Camera Intensity data 19 41 - Simulated Finesse Optimization Outcome 20 40 - Move Observation Point 21 8 - Short Finesse Optimization 22 25 - Start Wave Form Generator 23* 30 - Setup for RAM upload 24* 31 - Upload RAM 25 32 - Execute at new PC 26 33 - Echo data back to LEB 27 34 - Abort 28* 35 - Download RAM to LEB 29* 22 - Transfer Control ROM --> RAM 30* 28 - Status Request * - Indicates commands which can be executed from PROM code page 3 Response List ------------- FP ---> LEB ------------ page 12 - Mux Data Response 14 - OCC Scan Results Response 14 - Scope Command Response 15 - Characterization Response 16 - Central Aperture Scan Results 17 - Finesse Optimization Results Response 17 - Tweak Up History 17 - Check and Correct History 29 - Status response 33 - Echoed Data 35 - RAM download page 4 PROTOCOL INFORMATION -------------------- Manchester encoded interface control line Sync types: C = Command Sync D = Data Sync Command descriptions: ------------------------------------------------------------- | TYPE | SYNC | DATA WORD | ------------------------------------------------------------- | | | | | Single-word command - command received | C | ACK | | and executed - ellicits a single word | | | | response | | | | | | | --------------------------------------------------------------- | | | | | Single-word command - command received | | | | and executed - illicits a multi-word | C | ACK-RTS | | response - Acknowledge - Ready To Send | D | DATA | | data | C | DTC | | | | | --------------------------------------------------------------- | | | | | Multi-word command - command received | Acknowledge ready to receive data | C | ACK-RTR | | | | | --------------------------------------------------------------- | | | | | (DTC) Data Transfer complete received - | C | ACK | | command executed | | | | | | | --------------------------------------------------------------- | | | | | (DTC) Data Transfer complete received - | C | ACK-RTS | | command executed- illicits a multi-word | D | DATA | | response - acknowledge - Ready To Send | D | DATA | | | C | DTC | --------------------------------------------------------------- | | | | | A single or multiple-word command | | | | received- command caused an error, or | C | NACK | | was illegal - set error word - send | | | | a Negative Acknowledge response | | | | | | | --------------------------------------------------------------- | | | | | Data Transfer complete | C | DTC | | | | | --------------------------------------------------------------- page 5 PROTOCOL EXAMPLE: ---------------- MULTI-WORD Command illicits a MULTI-WORD Response ----------------------------------------------------------------------------------- | LEB | DIRECTION | PERIPHERAL | ----------------------------------------------------------------------------------- | SYNC | DATA WORD | | SYNC | DATA WORD | ----------------------------------------------------------------------------------- | C | DOWN LOAD RAM | ------------------------> | ----------------------------------------------------------------------------------- | | | <----------------------- | C | ACK-RTR | ----------------------------------------------------------------------------------- | D | START ADDR | ------------------------> | | | ----------------------------------------------------------------------------------- | D | # WORDS | ------------------------> | | | ----------------------------------------------------------------------------------- | C | DTC | ------------------------> | | | ----------------------------------------------------------------------------------- | | | <----------------------- | C | ACK-RTS | ----------------------------------------------------------------------------------- | | | <----------------------- | D | DATA 0 | ----------------------------------------------------------------------------------- | | | <----------------------- | D | N-1 | ----------------------------------------------------------------------------------- | | | <----------------------- | C | DTC | ----------------------------------------------------------------------------------- page 6 MESSAGE DESCRIPTIONS -------------------- page 7 COMMAND NAME: Load DAC FUNCTIONAL DESCRIPTION: This is a LEB initiated command prompting the Fabry Perot to load the specified Digital to Analog Converter (DAC) with the specified value. MESSAGE LAYOUT: ------------------------------------------------------------------------------------------------------------------------- WORD | | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | ---------| |---------------------------------------------------------------------------------------------------------------- 0 | | 0 | indicates multiple word command | |---------------------------------------------------------------------------------------------------------------- | | | words to follow = 5 | | |---------------------------------------------------------------------------------------------------------------- | | | X X X | Peripheral Id 5=Fabry Perot | |---------------------------------------------------------------------------------------------------------------- | | | Command Id = FP_MSGS + FI_LOAD_DAC (1) | ---------| |---------------------------------------------------------------------------------------------------------------- 1 | | Control Loop Refernce DAC value Range: 0-4095 | | X | ---------| |---------------------------------------------------------------------------------------------------------------- 2 | | Z Offset DAC value Range: 0- 511 | | X | ---------| |---------------------------------------------------------------------------------------------------------------- 3 | | Y Offset DAC value Range: 0-4095 | | X | ---------| |---------------------------------------------------------------------------------------------------------------- 4 | | X Offset DAC value Range: 0-4095 | | X | ---------| |---------------------------------------------------------------------------------------------------------------- 5 | | Range DAC value Range: 0-7 | | X | ---------| |---------------------------------------------------------------------------------------------------------------- X = 1 indicates no value to be loaded for that DAC X =0 indicates the value is to be loaded in that DAC Command/Response Protocol ------------------------- Sync Data Direction Sync Data ---- ---- --------- ---- ---- C Load DAC -> <- C ACK-RTR D Data 1 -> D Data 2 -> D Data 3 -> D Data 4 -> D Data 5 -> C DTC -> <- C ACK page 8 COMMAND NAME: Short Finesse Optimization FUNCTIONAL DESCRIPTION: To correct the Wedge Defect at a given point NOTE: Use Message 17 for Medium and Long Finesse Optimization MESSAGE LAYOUT: ------------------------------------------------------------------------------------------------------------------------- WORD | | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | ---------| |---------------------------------------------------------------------------------------------------------------- 0 | | 0 | indicates multiple word command | |---------------------------------------------------------------------------------------------------------------- | | | 1 word to follow | | |---------------------------------------------------------------------------------------------------------------- | | | X X X | Peripheral Id 5=Fabry Perot | |---------------------------------------------------------------------------------------------------------------- | | | Command Id = FP_MSGS + FI_CORR_WEDGE (21) | ---------| |---------------------------------------------------------------------------------------------------------------- 1 | | DAC value of where to correct wedge range: 1-4095 | ---------| |---------------------------------------------------------------------------------------------------------------- Command/Response Protocol ------------------------- Sync Data Direction Sync Data ---- ---- --------- ---- ---- C Scan DAC -> <- C ACK-RTR D Data 1 -> C DTC -> <- C ACK page 9 COMMAND NAME: CLR Scan (OCC Data) FUNCTIONAL DESCRIPTION: This is LEB initiated, commanding the Fabry Perot to scan the CLR DAC starting at a given DAC value, with a specified interval, over a specified number of steps. MESSAGE LAYOUT: ------------------------------------------------------------------------------------------------------------------------- WORD | | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | ---------| |---------------------------------------------------------------------------------------------------------------- 0 | | 0 | 0 indicates multiple word command | |---------------------------------------------------------------------------------------------------------------- | | | words to follow = 3 | | |---------------------------------------------------------------------------------------------------------------- | | | X X X | Peripheral Id 5=Fabry Perot | |---------------------------------------------------------------------------------------------------------------- | | | Command Id = FP_MSGS + FI_SCN_DAC (3) | ---------| |---------------------------------------------------------------------------------------------------------------- 1 | | Starting DAC value range: 0-4095 | ---------| |---------------------------------------------------------------------------------------------------------------- 2 | | Interval (dac value) range: -100 - +100 | ---------| |---------------------------------------------------------------------------------------------------------------- 3 | | Number of DAC steps range: 2 - 549 | ---------| |---------------------------------------------------------------------------------------------------------------- Command/Response Protocol ------------------------- Sync Data Direction Sync Data ---- ---- --------- ---- ---- C Scan DAC -> <- C ACK-RTR D Data 1 -> D Data 2 -> D Data 3 -> C DTC -> <- C ACK page 10 COMMAND NAME: Set up In-Flight Debugs FUNCTIONAL DESCRIPTION: This message assigns addresses to the three in-flight debug variables. MESSAGE LAYOUT: --------------------------------------------------------------------------------------------------------------------------- WORD | | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | ---------| |---------------------------------------------------------------------------------------------------------------- 0 | | 0 | indicates multiple word command | |---------------------------------------------------------------------------------------------------------------- | | | 3 words to follow | | |---------------------------------------------------------------------------------------------------------------- | | | X X X | Peripheral Id 5=Fabry Perot | |---------------------------------------------------------------------------------------------------------------- | | | Command Id = FP_MSGS + FI_IN_FLIGHT_DEBUG (2)| ---------| |---------------------------------------------------------------------------------------------------------------- 1 | | address of in-flight debug #1 (Range: -32768 to 32767) ---------| |----------------------------------------------------------------------------------------------------------------- 2 | | address of in-flight debug #2 (Range: -32768 to 32767) ---------| |---------------------------------------------------------------------------------------------------------------- 3 | | address of in-flight debug #3 (Range: -32768 to 32767) ---------| |---------------------------------------------------------------------------------------------------------------- NOTE: When executing PROM code, in-flight debug #1 is the starting address for the RAM diagnostic tests (MSG 15) in-flight debug #2 is the ending address for the RAM diagnostic tests (MSG 15) in-flight debug #3 is the count for the delay in sending data to the LEB. Each count results in 16us of delay. Initial setting is 70. Command/Response Protocol ------------------------- Sync Data Direction Sync Data ---- ---- --------- ---- ---- C Message 3 -> <- C ACK-RTR D Data 1 -> D Data 2 -> D Data 3 -> C DTC -> <- C ACK page 11 COMMAND NAME: CLR Scan (Central Aperature Data) FUNCTIONAL DESCRIPTION: This is a debug message. It requires the use of Central Aperture Data. It will scan the interferometer using the CLR dac, getting intensity data from the Central Aperture. MESSAGE LAYOUT: ------------------------------------------------------------------------------------------------------------------------- WORD | | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | ---------| |---------------------------------------------------------------------------------------------------------------- 0 | | 0 | 0 indicates multiple word command | |---------------------------------------------------------------------------------------------------------------- | | | words to follow = 3 | | |---------------------------------------------------------------------------------------------------------------- | | | X X X | Peripheral Id 5=Fabry Perot | |---------------------------------------------------------------------------------------------------------------- | | | Command Id = FP_MSGS + FI_SCN_CA (4) | ---------| |---------------------------------------------------------------------------------------------------------------- 1 | | Starting DAC value range: 0-4095 | ---------| |---------------------------------------------------------------------------------------------------------------- 2 | | Interval (dac value) range: -100 - +100 | ---------| |---------------------------------------------------------------------------------------------------------------- 3 | | Number of DAC steps range: 2 - 549 | ---------| |---------------------------------------------------------------------------------------------------------------- Command/Response Protocol ------------------------- Sync Data Direction Sync Data ---- ---- --------- ---- ---- C Scan DAC -> <- C ACK-RTR D Data 1 -> D Data 2 -> D Data 3 -> C DTC -> <- C ACK page 12 COMMAND NAME: Read MUX Request FUNCTIONAL DESCRIPTION: This is a LEB initiated command, requesting the Fabry Perot to read the specified MUX Channels. This message will handle one channel at a time, or multiple contiguous channels. MESSAGE LAYOUT: ------------------------------------------------------------------------------------------------------------------------- WORD | | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | ---------| |---------------------------------------------------------------------------------------------------------------- 0 | | 0 | indicates multiple word command | |---------------------------------------------------------------------------------------------------------------- | | | words to follow = 1 | | |---------------------------------------------------------------------------------------------------------------- | | | X X X | Peripheral Id 5=Fabry Perot | |---------------------------------------------------------------------------------------------------------------- | | | Command Id = FP_MSGS + FI_READ_MUX (6) | ---------| |---------------------------------------------------------------------------------------------------------------- 1 | | starting channel number to be read | ending channel number to be read | ---------| |---------------------------------------------------------------------------------------------------------------- * MUX CHANNELS: RANGE 0 - 23 note: both fields will be the same if only one is to be read Command/Response Protocol ------------------------- Sync Data Direction Sync Data ---- ---- --------- ---- ---- C Read MUX -> <- C ACK-RTR D Data 1 -> C DTC -> <- C ACK-RTS <- D MUX Data 0 <- D . <- D n - 1 <- C DTC COMMAND NAME: MUX Data Response FUNCTIONAL DESCRIPTION: This message contains the mux data requested by the LEB. MESSAGE LAYOUT: ------------------------------------------------------------------------------------------------------------------------- WORD | | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | ---------| |---------------------------------------------------------------------------------------------------------------- 0 | | Mux data - from starting channel number (Range: 0 to 4095) ---------| |---------------------------------------------------------------------------------------------------------------- N | | Mux data - TO ending channel number (Range: 0 to 4095) ---------| |---------------------------------------------------------------------------------------------------------------- page 13 COMMAND NAME: Request for Results FUNCTIONAL DESCRIPTION: This is a LEB initiated command to the Fabry Perot to send the results of a previous task MESSAGE LAYOUT: ------------------------------------------------------------------------------------------------------------------------- WORD | | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | ---------| |---------------------------------------------------------------------------------------------------------------- 0 | | 0 | indicates multiple word command | |---------------------------------------------------------------------------------------------------------------- | | | words to follow = 1 | | |---------------------------------------------------------------------------------------------------------------- | | | X X X | Peripheral Id 5=Fabry Perot | |---------------------------------------------------------------------------------------------------------------- | | | Command Id = FP_MSGS + FI_REQ_RESL (7) | ---------| |---------------------------------------------------------------------------------------------------------------- 1 | | Results Indicator * | ---------| |---------------------------------------------------------------------------------------------------------------- * results indicator 1 = OCC scan results, Scope cmd results 2 = central aperture scan results 3 = finesse optimization results 4 = feature characterization results 5 = check & correct history 6 = tweak-up results Command/Response Protocol ------------------------- Sync Data Direction Sync Data ---- ---- --------- ---- ---- C ResltsReq -> <- C ACK-RTR D data -> C DTC -> <- C ACK-RTS <- D results Data 0 <- D results Data n-1 <- C DTC page 14 COMMAND NAME: OCC Scan Results Data FUNCTIONAL DESCRIPTION: This is a the results from the last LEB initiated OCC scan request. Note that this data is overwritten when a scope commmand is executed. MESSAGE LAYOUT: N = Number of data sets -1 , max = 549 ------------------------------------------------------------------------------------------------------------------------- WORD | | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | ---------| |---------------------------------------------------------------------------------------------------------------- 0 | | CLR DAC value for each data set (Range: 0 - 4095) ---------| |---------------------------------------------------------------------------------------------------------------- N+1 - | | Intensity Reading at OCC Eye 1 for each data set (Range: 0 - 4095) 2N+1 | | ---------| |---------------------------------------------------------------------------------------------------------------- 2N+2 - | | Intensity Reading at OCC Eye 2 for each data set (Range: 0 - 4095) 3N+2 | | ---------| |---------------------------------------------------------------------------------------------------------------- 3N+3 - | | Intensity Reading at OCC Eye 3 for each data set (Range: 0 - 4095) 4N+3 | | ---------| |---------------------------------------------------------------------------------------------------------------- COMMAND NAME: Scope Command Results Data FUNCTIONAL DESCRIPTION: This is a the results from the last LEB initiated scope command request. Note that this data is overwritten when an occ scan is executed. MESSAGE LAYOUT: ------------------------------------------------------------------------------------------------------------------------- WORD | | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | ---------| |---------------------------------------------------------------------------------------------------------------- 0-549 | | 0-549 ( X-axis data ) ---------| |---------------------------------------------------------------------------------------------------------------- 550-2199 | | MUX Readings at specified MUX channel (Range: 0 - 4095) ---------| |---------------------------------------------------------------------------------------------------------------- page 15 COMMAND NAME: Feature Characteristic Results FUNCTIONAL DESCRIPTION: This is a the results from the last feature characterization. MESSAGE LAYOUT: ------------------------------------------------------------------------------------------------------------------------- WORD | | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | ---------| |---------------------------------------------------------------------------------------------------------------- 0 | | number of features for central aperture scan (Range: 0 to 8) ---------| |---------------------------------------------------------------------------------------------------------------- 1 | | number of features for OCC Eye 1 (Range: 0 to 8) ---------| |---------------------------------------------------------------------------------------------------------------- 2 | | number of features for OCC Eye 2 (Range: 0 to 8) ---------| |---------------------------------------------------------------------------------------------------------------- 3 | | number of features for OCC Eye 3 (Range: 0 to 8) ---------| |---------------------------------------------------------------------------------------------------------------- 4 | | feature indicator for central aperture scan ( 0 = no feature, 1 = feature found) ---------| |---------------------------------------------------------------------------------------------------------------- 5 | | feature indicator for OCC Eye 1 ( 0 = no feature, 1 = feature found) ---------| |---------------------------------------------------------------------------------------------------------------- 6 | | feature indicator for OCC Eye 2 ( 0 = no feature, 1 = feature found) ---------| |---------------------------------------------------------------------------------------------------------------- 7 | | feature indicator for OCC Eye 3 ( 0 = no feature, 1 = feature found) ---------| |---------------------------------------------------------------------------------------------------------------- | | Characterization Data Sets for each Feature on Central Aperature | | ( There are up to 8 data sets, each containing 6 words ) | | 48 Words MAX | | See below for characterization data set format. ---------| |---------------------------------------------------------------------------------------------------------------- | | Characterization Data Sets for each Feature on OCC1 | | ( There are up to 8 data sets, each containing 6 words ) | | 48 Words MAX | | See below for characterization data set format. ---------| |---------------------------------------------------------------------------------------------------------------- | | Characterization Data Sets for each Feature on OCC2 | | ( There are up to 8 data sets, each containing 6 words ) | | 48 Words MAX | | See below for characterization data set format. ---------| |---------------------------------------------------------------------------------------------------------------- | | Characterization Data Sets for each Feature on OCC3 | | ( There are up to 8 data sets, each containing 6 words ) | | 48 Words MAX | | See below for characterization data set format. ---------| |---------------------------------------------------------------------------------------------------------------- | | Characterization Data Set for Selected Feature on Central Aperature, if any | | 6 Words MAX | | See below for characterization data set format. ---------| |---------------------------------------------------------------------------------------------------------------- | | Characterization Data Set for Selected Feature on OCC1, if any | | 6 Words MAX | | See below for characterization data set format. ---------| |---------------------------------------------------------------------------------------------------------------- | | Characterization Data Set for Selected Feature on OCC2, if any | | 6 Words MAX | | See below for characterization data set format. ---------| |---------------------------------------------------------------------------------------------------------------- MAX: | | Characterization Data Set for Selected Feature on OCC3, if any 223 | | 6 Words MAX | | See below for characterization data set format. ---------| |---------------------------------------------------------------------------------------------------------------- =========| |================================================================================================================ | | Characterization Data Set Format =========| |================================================================================================================ 1 | | central intensity (Range: 0 - 4095) ---------| |---------------------------------------------------------------------------------------------------------------- 2 | | start dac (Range: 0 - 4095) ---------| |---------------------------------------------------------------------------------------------------------------- 3 | | stop dac (Range: 0 - 4095) ---------| |---------------------------------------------------------------------------------------------------------------- 4 | | dac value at central index (Range: 0 - 4095) ---------| |---------------------------------------------------------------------------------------------------------------- 5 | | fwhm (Range: 0 -200) ---------| |---------------------------------------------------------------------------------------------------------------- 6 | | area under intensity curve (Range: 0 - 200) ---------| |---------------------------------------------------------------------------------------------------------------- page 16 COMMAND NAME: Central Aperture Scan Results Data FUNCTIONAL DESCRIPTION: This is a the results from the last LEB initiated Central Aperture scan request. MESSAGE LAYOUT: N = Number of data sets -1 , max = 549 ------------------------------------------------------------------------------------------------------------------------- WORD | | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | ---------| |---------------------------------------------------------------------------------------------------------------- 0 | | CLR DAC value for each data set (Range: 0 - 4095) ---------| |---------------------------------------------------------------------------------------------------------------- N+1 - | | Intensity Reading at Central Aperature for each data set 2N+1 | | (Range: 0 - 4095) ---------| |---------------------------------------------------------------------------------------------------------------- page 17 COMMAND NAME: Finesse Opt. Results Data FUNCTIONAL DESCRIPTION: This is a the results from the last LEB initiated Finesse Optimization request. MESSAGE LAYOUT: ------------------------------------------------------------------------------------------------------------------------- WORD | | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | ---------| |---------------------------------------------------------------------------------------------------------------- 0 | | Optimal Phase shift OCC1 - OCC2 (Range: -100 to 100) ---------| |---------------------------------------------------------------------------------------------------------------- 1 | | Optimal PHASE shift OCC1 - OCC3 (Range: -100 to 100) ---------| |---------------------------------------------------------------------------------------------------------------- 2 | | Max # of side steps for tweak #1 (Range: 1 to 200) ---------| |---------------------------------------------------------------------------------------------------------------- 3 | | Optimal Phase shift + a minimum positive X increment OCC1 - OCC2 (Range: -100 to 100) ---------| |---------------------------------------------------------------------------------------------------------------- 4 | | Optimal PHASE shift + a minimum positive X increment OCC1 - OCC3 (Range: -100 to 100) ---------| |---------------------------------------------------------------------------------------------------------------- 5 | | Max # of side steps for tweak #2 (Range: 1 to 200) ---------| |---------------------------------------------------------------------------------------------------------------- 6 | | Optimal Phase shift + a minimum positive Y increment OCC1 - OCC2 (Range: -100 to 100) ---------| |---------------------------------------------------------------------------------------------------------------- 7 | | Optimal PHASE shift + a minimum positive Y increment OCC1 - OCC3 (Range: -100 to 100) ---------| |---------------------------------------------------------------------------------------------------------------- 8 | | Maximum number of passes through tweak-up loops (Range: 1 to 20) ---------| |---------------------------------------------------------------------------------------------------------------- 9 | | Finesse measurement (Range: 0 to 100) ---------| |---------------------------------------------------------------------------------------------------------------- 10 | | IOS (Inter Order Spacing) (Range: 0 to 3000) ---------| |---------------------------------------------------------------------------------------------------------------- 11 | | FWHM (Full Width Half Max) (Range: 0 to 200) ---------| |---------------------------------------------------------------------------------------------------------------- 12 | | Noise Threshold for tweak #1 (Range: 0 to 1000) ---------| |---------------------------------------------------------------------------------------------------------------- 13 | | Noise Threshold for tweak #2 (Range: 0 to 1000) ---------| |---------------------------------------------------------------------------------------------------------------- 14 | | Sodium Order (Range: 1 to 1000) ---------| |---------------------------------------------------------------------------------------------------------------- 15 | | SPARE (Range: -32768 to 32767) ---------| |---------------------------------------------------------------------------------------------------------------- 16 | | Sodium to Laser phase shift (Range: -2000 to 2000) ---------| |---------------------------------------------------------------------------------------------------------------- COMMAND NAME: Check & Correct History Data FUNCTIONAL DESCRIPTION: This is the results from the last check & correct. NOTE: This message always returns 240 words. Any word in the history buffer which is not written to during the check & correct execution is filled with zero. MESSAGE LAYOUT: ------------------------------------------------------------------------------------------------------------------------- WORD | | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | ---------| |---------------------------------------------------------------------------------------------------------------- 0 | | Initial X DAC Value (Range: 0 to 4095) ---------| |---------------------------------------------------------------------------------------------------------------- 1 | | Initial Y DAC Value (Range: 0 to 4095) ---------| |---------------------------------------------------------------------------------------------------------------- 2 | | Initial Laser Line Ref Dac Value (Range: 0 to 4095) ---------| |---------------------------------------------------------------------------------------------------------------- 3 | | Center Dac - CLR dac value around which 1st scan will be centered (Range: 0 to 4095) ---------| |---------------------------------------------------------------------------------------------------------------- 4 | | Scan width / 2 for first pass through lower order loop (Range: 75-115) ---------| |---------------------------------------------------------------------------------------------------------------- 5 - 192 | | C&C Data Sets from 1st - 4th passes through lower order loop. | | See below for C&C Data Set format. ( 47 words/data set ) ---------| |---------------------------------------------------------------------------------------------------------------- 193-239 | | C&C Data Set from 1st upper order scan. | | See below for C&C Data Set format. ( 47 words/data set ) ---------| |---------------------------------------------------------------------------------------------------------------- =========| |================================================================================================================ | | C&C Data Set Format (47 words/set) =========| |================================================================================================================ 1-8 | | OCC1 Feature Data Sets From Fine Scan ( 4 data sets ) : | | | | Data Set Format: | | central dac value of feature (Range: 0 to 4095) | | fwhm of feature (Range: 0 to 200) --------| |---------------------------------------------------------------------------------------------------------------- 9 - | | OCC2 Feature Data Sets From Fine Scan ( 4 data sets ) 16 | | --------| |---------------------------------------------------------------------------------------------------------------- 17 - | | OCC3 Feature Data Sets From Fine Scan ( 4 data sets ) 24 | | --------| |---------------------------------------------------------------------------------------------------------------- 25 - | | OCC1 Selected Feature Data Set From Fine Scan: 30 | | | | Data Set Format: | | central intensity (Range: 0 to 4095) | | starting dac value (Range: 0 to 4095) | | end dac value (Range: 0 to 4095) | | central dac value (Range: 0 to 4095) | | fwhm (Range: 0 to 200) | | area under intensity curve (Range: 0 to 200) --------| |---------------------------------------------------------------------------------------------------------------- 31 - | | OCC2 Selected Feature Data Set From Fine Scan 36 | | --------| |---------------------------------------------------------------------------------------------------------------- 37 - | | OCC3 Selected Feature Data Set From Fine Scan 42 | | --------| |---------------------------------------------------------------------------------------------------------------- 43 | | X DAC value at the end of the pass through the loop (Range: 0 to 4095) --------| |---------------------------------------------------------------------------------------------------------------- 44 | | Y DAC value at the end of the pass through the loop (Range: 0 to 4095) --------| |---------------------------------------------------------------------------------------------------------------- 45 | | Laser Line Ref DAC value at the end of the pass through the loop (Range: 0 to 4095) --------| |---------------------------------------------------------------------------------------------------------------- 46 | | Center Dac - average of highest and lowest central dac value of OCC's (Range: 0 to 4095) --------| |---------------------------------------------------------------------------------------------------------------- 47 | | Scan width / 2 for next pass (Range: 75 -115) --------| |---------------------------------------------------------------------------------------------------------------- COMMAND NAME: Tweak-Up Results Data FUNCTIONAL DESCRIPTION: This is the results from the last tweak-up. MESSAGE LAYOUT: N= Number of passes made through tweak-up loop. Max = 40 passes. ------------------------------------------------------------------------------------------------------------------------- WORD | | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | ---------| |---------------------------------------------------------------------------------------------------------------- 0 | | Initial CLR DAC Value (Range: 0 to 4095) ---------| |---------------------------------------------------------------------------------------------------------------- 1 | | Minimum Central Aperature Intensity (Range: 0 to 4095) ---------| |---------------------------------------------------------------------------------------------------------------- 2 | | X DAC Value after first CLR fix (Range: 0 to 4095) ---------| |---------------------------------------------------------------------------------------------------------------- 3 | | Y DAC Value after first CLR fix (Range: 0 to 4095) ---------| |---------------------------------------------------------------------------------------------------------------- 4 | | CLR DAC Value after first CLR fix (Range: 0 to 4095) ---------| |---------------------------------------------------------------------------------------------------------------- 5 | | Central Aperature Intensity after first CLR fix (Range: 0 to 4095) ---------| |---------------------------------------------------------------------------------------------------------------- 6 - | | Tweak-up Data Sets for each pass through tweak-up loop. ( 6 words/data set ) 6+(6N -1) | | See below for Tweak-up Data Set format. MAX=245 | | ---------| |---------------------------------------------------------------------------------------------------------------- =========| |================================================================================================================ | | Tweak-Up Data Set Format ( 6 words/data set) =========| |================================================================================================================ 1 | | X DAC Value after X Tweak (Range: 0 to 4095) ---------| |---------------------------------------------------------------------------------------------------------------- 2 | | CLR DAC Value after X-CLR Tweak (Range: 0 to 4095) ---------| |---------------------------------------------------------------------------------------------------------------- 3 | | Central Aperature Intensity after X-CLR Tweak (Range: 0 to 4095) ---------| |---------------------------------------------------------------------------------------------------------------- 4 | | Y DAC Value after Y Tweak (Range: 0 to 4095) ---------| |---------------------------------------------------------------------------------------------------------------- 5 | | CLR DAC Value after Y-CLR Tweak (Range: 0 to 4095) ---------| |---------------------------------------------------------------------------------------------------------------- 6 | | Central Aperature Intensity after Y-CLR Tweak (Range: 0 to 4095) ---------| |-------------------------------------------------------------------------------------------------------------- page 18 COMMAND NAME: OCC Post-Amp Gain Control FUNCTIONAL DESCRIPTION: This is a LEB initiated command, it informs the Fabry Perot to turn the OCC Gain Control to LOW or HIGH. MESSAGE LAYOUT: ------------------------------------------------------------------------------------------------------------------------- WORD | | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | ---------| |---------------------------------------------------------------------------------------------------------------- 0 | | 0 | | |---------------------------------------------------------------------------------------------------------------- | | | words to follow =1 | | |---------------------------------------------------------------------------------------------------------------- | | | X X X | Peripheral Id 5=Fabry Perot | |---------------------------------------------------------------------------------------------------------------- | | | Command Id = FP_MSGS + FI_OCC_CTL (9) | ---------| |---------------------------------------------------------------------------------------------------------------- 1 | | control bit: 1=HIGH , 0=LOW | ---------| |---------------------------------------------------------------------------------------------------------------- Command/Response Protocol ------------------------- Sync Data Direction Sync Data ---- ---- --------- ---- ---- C Integr contrl -> <- C ACK-RTR D Data 1 -> C DTC -> <- C ACK page 19 COMMAND NAME: Change Processing Mode (Servo/Reduced) FUNCTIONAL DESCRIPTION: This is LEB initiated, commanding the Fabry Perot to switch processing modes. Servo mode is the full operational mode. Reduced mode bypasses some of the electronics in the event of a hardware failure. MESSAGE LAYOUT: ------------------------------------------------------------------------------------------------------------------------- WORD | | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | ---------| |---------------------------------------------------------------------------------------------------------------- 0 | | 0 | | |---------------------------------------------------------------------------------------------------------------- | | | words to follow =1 | | |---------------------------------------------------------------------------------------------------------------- | | | X X X | Peripheral Id 5=Fabry Perot | |---------------------------------------------------------------------------------------------------------------- | | | Command Id = FP_MSGS + FI_PRC_MDE (12) | ---------| |---------------------------------------------------------------------------------------------------------------- 1 | | control bit 0 = SERVO MODE, 1 = REDUCED MODE | ---------| |---------------------------------------------------------------------------------------------------------------- Command/Response Protocol ------------------------- Sync Data Direction Sync Data ---- ---- --------- ---- ---- C Proc Mode -> <- C ACK-RTR D Data 1 -> C DTC -> <- C ACK page 20 COMMAND NAME: Perform Analog Check/Correct FUNCTIONAL DESCRIPTION: This is a LEB initiated command informing the Fabry Perot to perform analog check/correct. This is a calibration algorithm which finds the DAC values to set up the interferometer in a steady state, by searching for known features in the spectrum. NOTE 1: Use MSG 16, WORD 1 to select Long Check & Correct or Short Check & Correct. Short Check & Correct does not calculate Ap/dac. NOTE 2: The results of this command are reported by the 'Request Status' message. Word 8, high byte, indicates PASS (1) or FAIL (0). Word 14, low byte, indicates the number of passes made through the low order loop, and/or the type of error encountered, if FAIL occurred: Error Code Meaning Pass/Fail (Word 14) Status 0-4 Number of low-order passes Pass 5 Count-out of lower order loop Fail +10 < 3 features found in lower order Fail +20 > 4 features found on any OCC Fail +40 Upper order clr dac value is out of range Fail +80 > 3 features found in upper order Fail NOTE 3: Additional results of this command can be obtained by sending message 7, option 5. See 'Request for Results' (message 7) description for details. MESSAGE LAYOUT: ------------------------------------------------------------------------------------------------------------------------- WORD | | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | ---------| |---------------------------------------------------------------------------------------------------------------- 0 | | 1 | indicates single word command | |---------------------------------------------------------------------------------------------------------------- | | | X X X | Peripheral Id 5=Fabry Perot | |---------------------------------------------------------------------------------------------------------------- | | | Command Id = FP_MSGS + FI_CHK_CORR (13) | ---------| |---------------------------------------------------------------------------------------------------------------- Command/Response Protocol ------------------------- Sync Data Direction Sync Data ---- ---- --------- ---- ---- C Perform CHK/COR -> <- C ACK page 21 COMMAND NAME: Perform Diagnostics ( PROM CODE ONLY ) FUNCTIONAL DESCRIPTION: A LEB initiated command asking the Fabry-Perot to perform diagnostics. NOTE 1: This message is available only in PROM Code. A NACK will result if this is sent while executing out of RAM. NOTE 2: Use Message 2, in-flight debug #1 and in-flight debug #2, to set up start and end addresses for RAM tests. NOTE 3: The results of this command are reported by the 'Request Status' message, in status words #65 and #66. The interpretation of these status words depends on the test performed, as described below: Test: Word #65 Word #66 ----- -------- -------- RAM Checksum Low Byte = RAM Checksum Not Used High Byte = 0 RAM Test Pass/Fail Flag: Address of 1st 0 = Pass failed address, FFFF = Fail if any ROM Checksum Low Byte = ROM Checksum Not Used High Byte = 0 ASICA Test Error Code Not Used 11H -Test was started. Updated when complete. +10H -Manchester Decoder Data Path Test failed. +20H -Multiplexed Data Bus Test failed. 00H -Test passed. MESSAGE LAYOUT: ------------------------------------------------------------------------------------------------------------------------- WORD | | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | ---------| |---------------------------------------------------------------------------------------------------------------- 0 | | 0 | indicates multiple word command | |---------------------------------------------------------------------------------------------------------------- | | | 1 word to follow | | |---------------------------------------------------------------------------------------------------------------- | | | X X X | Peripheral Id 5=Fabry Perot | |---------------------------------------------------------------------------------------------------------------- | | | Command Id = COMB_MSGS + FI_DIAGNSTC (15) | ---------| |---------------------------------------------------------------------------------------------------------------- 1 | | Test Number: 0 = TBD Test, 1 = RAM Checksum, 2 = RAM Test (Destructive), 3 = ROM Checksum | | | 4 = ASICA Self Test ----------| |---------------------------------------------------------------------------------------------------------------- Command/Response Protocol ------------------------- Sync Data Direction Sync Data ---- ---- --------- ---- ---- C Diagnostics -> <- C ACK-RTR D Data 1 -> C DTC -> <- C ACK page 22 COMMAND NAME: Transfer Control RAM --> ROM FUNCTIONAL DESCRIPTION: This is a LEB initiated command informing Fabry Perot to transfer control from ROM to RAM. NOTES: 1. This mesage is only available in ROM code. If sent while in RAM code, a NACK will result. 2. Do not sent this message until RAM code has been uploaded. 3. This is not implemented in the breadboard code. MESSAGE LAYOUT: ------------------------------------------------------------------------------------------------------------------------- WORD | | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | ---------| |---------------------------------------------------------------------------------------------------------------- 0 | | 1 | indicates single word command | |---------------------------------------------------------------------------------------------------------------- | | | X X X | Peripheral Id 5=Fabry Perot | |---------------------------------------------------------------------------------------------------------------- | | | Command Id = FP_MSGS + FI_TRANSFER_CONTROL (29) | ---------| |---------------------------------------------------------------------------------------------------------------- Command/Response Protocol ------------------------- Sync Data Direction Sync Data ---- ---- --------- ---- ---- C Transfer Control -> <- C ACK page 24 COMMAND NAME: Long/Medium Finesse Optimization FUNCTIONAL DESCRIPTION: This is a LEB initiated command to the Fabry Perot, requesting that finesse optimization be performed; bring the interferometer into it's optimal performance capacity. NOTE: Use Message 16, Word #2, to select Long or Medium Finesse Optimization. Use Message 21 for Short Finesse Optimization. Use Message 16, Word #7, to set up to skip the tweak-up step. MESSAGE LAYOUT: ------------------------------------------------------------------------------------------------------------------------- WORD | | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | ---------| |---------------------------------------------------------------------------------------------------------------- 0 | | 1 | indicates single word command | |---------------------------------------------------------------------------------------------------------------- | | | X X X | Peripheral Id 5=Fabry Perot | |---------------------------------------------------------------------------------------------------------------- | | | Command Id = FP_MSGS + FI_FIN_OPT (17) | ---------| |---------------------------------------------------------------------------------------------------------------- Command/Response Protocol ------------------------- Sync Data Direction Sync Data ---- ---- --------- ---- ---- C Finesse opt. -> <- C ACK page 25 COMMAND NAME: Start DAC wave form generator FUNCTIONAL DESCRIPTION: This is a LEB generated command wich signals the Fabry Perot to start the Wave Form Generator. MESSAGE LAYOUT: ------------------------------------------------------------------------------------------------------------------------- WORD | | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | ---------| |---------------------------------------------------------------------------------------------------------------- 0 | | 0 | indicates multiple word command | |---------------------------------------------------------------------------------------------------------------- | | | 5 words follow | | |---------------------------------------------------------------------------------------------------------------- | | | X X X | Peripheral Id 5=Fabry Perot | |---------------------------------------------------------------------------------------------------------------- | | | Command Id = COMB_MSGS + FI_START_WAV_FRM (22) | ---------------------------------------------------------------------------------------------------------------------------- 1 | | Distance below/above DAC Range: 0-4095 | ---------------------------------------------------------------------------------------------------------------------------- 2 | | Direction 0=Sawtooth-decreasing , 1=Sawtooth-increasing, | | 2=Triangle-decreasing, 3=Triangle-increasing | X | ---------------------------------------------------------------------------------------------------------------------------- 3 | | Step Time Range: 0-32767 | ---------------------------------------------------------------------------------------------------------------------------- 4 | | Step Size Range: 0-4095 | ---------------------------------------------------------------------------------------------------------------------------- 5 | | DAC Indicator (0=CLR, 1=XOFF, 2=YOFF, 3=ZOFF) | ---------------------------------------------------------------------------------------------------------------------------- Command/Response Protocol ------------------------- Sync Data Direction Sync Data ---- ---- --------- ---- ---- C Start Wave Form -> <- C ACK-RTR D Data 1 -> . . D Data 5 -> D DTC -> <- C ACK page 26 COMMAND NAME: Measure Finesse FUNCTIONAL DESCRIPTION: This is LEB initiated, commanding the Fabry Perot to measure the Finesse of the system. MESSAGE LAYOUT: ------------------------------------------------------------------------------------------------------------------------- WORD | | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | ---------| |---------------------------------------------------------------------------------------------------------------- 0 | | 1 | indicates single word command | |---------------------------------------------------------------------------------------------------------------- | | | X X X | Peripheral Id 5=Fabry Perot | |---------------------------------------------------------------------------------------------------------------- | | | Command Id = FP_MSGS + FI_FIN_OPT (8) | ---------| |---------------------------------------------------------------------------------------------------------------- Command/Response Protocol ------------------------- Sync Data Direction Sync Data ---- ---- --------- ---- ---- C Measure Fin -> <- C ACK page 27 COMMAND NAME: Identify Data Source FUNCTIONAL DESCRIPTION: This is a LEB initiated command informing the Fabry Perot what the source of the input data is: Solar or Laser. MESSAGE LAYOUT: ------------------------------------------------------------------------------------------------------------------------- WORD | | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | ---------| |---------------------------------------------------------------------------------------------------------------- 0 | | 0 | indicates multiple word command | |---------------------------------------------------------------------------------------------------------------- | | | 1 word follows | | |---------------------------------------------------------------------------------------------------------------- | | | X X X | Peripheral Id 5=Fabry Perot | |---------------------------------------------------------------------------------------------------------------- | | | Command Id = FP_MSGS + FI_DAT_SRC (10) | ---------| |---------------------------------------------------------------------------------------------------------------- 1 | | Source BIT : 4 = SODIUM, 3 = LASER, 2 = HYBRID, 1 = SOLAR | X | X | X | ---------| |---------------------------------------------------------------------------------------------------------------- Command/Response Protocol ------------------------- Sync Data Direction Sync Data ---- ---- --------- ---- ---- C DATA SRCE -> <- C ACK-RTR D Data 1 -> C DTC -> <- C ACK page 28 COMMAND NAME: Output status Request FUNCTIONAL DESCRIPTION: A LEB generated command requesting the Fabry Perot to send back its status. MESSAGE LAYOUT: ------------------------------------------------------------------------------------------------------------------------- WORD | | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | ---------| |---------------------------------------------------------------------------------------------------------------- 0 | | 1 | indicates a single word command | |---------------------------------------------------------------------------------------------------------------- | | | X X X | Peripheral Id 5=Fabry Perot | |---------------------------------------------------------------------------------------------------------------- | | | Command Id = COMB_MSGS + FI_STATUS_REQ (30) | ---------| |---------------------------------------------------------------------------------------------------------------- Command/Response Protocol ------------------------- Sync Data Direction Sync Data ---- ---- --------- ---- ---- C status request -> <- C ACK-RTS <- D status Data 0 <- D . <- D . <- D status Data 66 <- C DTC page 29 COMMAND NAME: Status Response FUNCTIONAL DESCRIPTION: This message is sent to the LEB in response to the Status Request message. It contains all the global DAC values as well as software detected status. Both the RAM code and the ROM code return 67 words in the status response, but the content differs, as specified below. MESSAGE LAYOUT: RAM CODE ------------------------------------------------------------------------------------------------------------------------- WORD | | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | ---------| |---------------------------------------------------------------------------------------------------------------- ---------| |---------------------------------------------------------------------------------------------------------------- 0 | | | Control Loop Refernce DAC value Range: 0-4095 | ---------| |---------------------------------------------------------------------------------------------------------------- 1 | | | Z Offset DAC value Range: 0-511 | ---------| |---------------------------------------------------------------------------------------------------------------- 2 | | | Y Offset DAC value Range: 0-4095 | ---------| |---------------------------------------------------------------------------------------------------------------- 3 | | | X Offset DAC value Range: 0-4095 | ---------| |---------------------------------------------------------------------------------------------------------------- 4 | | Range DAC value Range: 0-7 | X | X | X | ---------| |---------------------------------------------------------------------------------------------------------------- 5 | | finesse opt type 1 = LONG, 0 = SHORT | X | check & correct type 1 = LONG, 0 = SHORT ---------| |---------------------------------------------------------------------------------------------------------------- 6 | | invalid transfer received 1 = TRUE, 0 = FALSE | X | status rom/ram code 1= RAM , 0= ROM | X | ---------| |---------------------------------------------------------------------------------------------------------------- 7 | | previous command | X | X | X | X | X | command in progress 1=TRUE,0=FALSE | X | ---------| |---------------------------------------------------------------------------------------------------------------- 8 | | Analog Chk/Corr Alg completed: 1=SUCC, 0=FAIL | X | Finesse Opt Alg completed: 1=SUCC, 0=FAIL | X | ---------| |---------------------------------------------------------------------------------------------------------------- 9 | | Illegal interrupt 8031 1=TRUE,0=FALSE | X | TBD ---------| |---------------------------------------------------------------------------------------------------------------- 10 | | Watchdog Timer fired 1=TRUE,0=FALSE | X | F.O. current step number | X | X | X | ---------| |---------------------------------------------------------------------------------------------------------------- 11 | | current no. of tweakup attempts (8 bits) | data source 1=SOLAR,2=HYBRID,3=LASER,4=Na | X | X | ---------| |---------------------------------------------------------------------------------------------------------------- 12 | | previous no. of tweakup attempts (8 bits) | calc wedge corr in C&C flag 0=Skip calc, 1=Do calc | X | ---------| |---------------------------------------------------------------------------------------------------------------- 13 | | status measure finesse 1=PASS,0=FAIL | X | status cal wavelength 1=PASS,0=FAIL | X | ---------| |---------------------------------------------------------------------------------------------------------------- 14 | | status move observation pt 1=PASS,0=FAIL | X | check & correct error code (8 bits) | ---------| |---------------------------------------------------------------------------------------------------------------- 15 | | in-flight debug #1 (Range: -32768 - 32767) ---------| |---------------------------------------------------------------------------------------------------------------- 16 | | laser line order (Range: 1 - 1000) ---------| |---------------------------------------------------------------------------------------------------------------- 17 | | laser line reference dac (Range: 0 - 4095) ---------| |---------------------------------------------------------------------------------------------------------------- 18 | | laser inter order spacing (Range: 0 -3000) ---------| |---------------------------------------------------------------------------------------------------------------- 19 | | optimum clr dac (Range: 0 -4095) ---------| |---------------------------------------------------------------------------------------------------------------- 20 | | in-flight debug #2 (Range: -32768 - 32767) ---------| |---------------------------------------------------------------------------------------------------------------- 21 | | physical miss * 100 (Range: -32768 - 32767) ---------| |---------------------------------------------------------------------------------------------------------------- 22 | | angstroms physical per dac * 1000 (Range: -9999 - 9999) ---------| |---------------------------------------------------------------------------------------------------------------- 23 | | in-flight debug #3 (Range: -32768 - 32767) ---------| |---------------------------------------------------------------------------------------------------------------- 24 | | diagnostic output (Range: -32768 - 32767) ---------| |---------------------------------------------------------------------------------------------------------------- 25 | | observation cavity length - most significant word ( a float variable) (Range: -32768 - 32767) ---------| |---------------------------------------------------------------------------------------------------------------- 26 | | laser line spectral - integer portion (Range: 2000 -8000) ---------| |---------------------------------------------------------------------------------------------------------------- 27 | | laser line spectral - fractional portion * 10000 (Range: 0 - 9999) ---------| |---------------------------------------------------------------------------------------------------------------- 28 | | laser physical cavity length - most significant word ( a float variable) (Range: -32768 - 32767) ---------| |---------------------------------------------------------------------------------------------------------------- 29 | | max threshold on OCC selected by 'threshold eye select (word 40,low nibble)' (Range: 0 - 4095) ---------| |---------------------------------------------------------------------------------------------------------------- 30 | | minimum threshold on OCC selected by 'threshold eye select (word 40,low nibble)' (Range: 0 - 4095) ---------| |---------------------------------------------------------------------------------------------------------------- 31 | | number of points above threshold - central aperature (Range: -32768 - 32767) ---------| |---------------------------------------------------------------------------------------------------------------- 32 | | max intensity on central aperature (Range: 0 - 4095) ---------| |---------------------------------------------------------------------------------------------------------------- 33 | | minimum intensity on central aperature (Range: 0 - 4095) ---------| |---------------------------------------------------------------------------------------------------------------- 34 | | sodium to observation point dac distance (Range: 0 - 4095) ---------| |---------------------------------------------------------------------------------------------------------------- 35 | | laser physical cavity length - least significant word ( a float variable) (Range: -32768 - 32767) ---------| |---------------------------------------------------------------------------------------------------------------- 36 | | angstroms spectral per dac * 100,000 (Range: -32768 - 32767) ---------| |---------------------------------------------------------------------------------------------------------------- 37 | | number of points above threshold - OCC1 (Range: -32768 - 32767) ---------| |---------------------------------------------------------------------------------------------------------------- 38 | | number of points above threshold - OCC2 (Range: -32768 - 32767) ---------| |---------------------------------------------------------------------------------------------------------------- 39 | | number of points above threshold - OCC3 (Range: -32768 - 32767) ---------| |---------------------------------------------------------------------------------------------------------------- 40 | | Upper 4 Bits: | | move observ flag: 0=no change in order, 1=increased order, 2=decreased order, 3=no meaning | | Next 4 Bits: | | short finesse optimization step number | | Next 4 Bits: | | tweak-up wavelenght status: 0=tweaked at 5889.94, 1=tweaked at 5895.93 | | Lowest 4 Bits: | | threshold eye select - Eye selected for words 29 and 30 ---------| |---------------------------------------------------------------------------------------------------------------- 41 | | four flags: | | Upper 4 Bits: | | abort flag 1=Abort, 0=Normal | | Next 4 Bits: | | status determine phase shifts(Step 4 of F.O.) 0=FAIL, 1=PASS | | Next 4 Bits: | | status short finesse optimization 0=FAIL, 1=PASS | | Lowest 4 Bits: | | status_tweak_up 0=FAIL, 1=PASS ---------| |---------------------------------------------------------------------------------------------------------------- 42 | | observation wavelength - integer portion (Range: 1 -9999) ---------| |---------------------------------------------------------------------------------------------------------------- 43 | | observation wavelength - fractional portion * 10000 (Range: 0 - 9999) ---------| |---------------------------------------------------------------------------------------------------------------- 44 | | temperature adjust DAC value (Range: 0 - 4095) ---------| |---------------------------------------------------------------------------------------------------------------- 45 | | OCC1 maximum intensity (Range: 0 - 4095) ---------| |---------------------------------------------------------------------------------------------------------------- 46 | | OCC1 minimum intensity (Range: 0 - 4095) ---------| |---------------------------------------------------------------------------------------------------------------- 47 | | OCC2 maximum intensity (Range: 0 - 4095) ---------| |---------------------------------------------------------------------------------------------------------------- 48 | | OCC2 minimum intensity (Range: 0 - 4095) ---------| |---------------------------------------------------------------------------------------------------------------- 49 | | OCC3 maximum intensity (Range: 0 - 4095) ---------| |---------------------------------------------------------------------------------------------------------------- 50 | | OCC3 mimimum intensity (Range: 0 - 4095) ---------| |---------------------------------------------------------------------------------------------------------------- 51 | | x wedge correction factor (dx/dz * 10000) (Range: -9999 - 9999) ---------| |---------------------------------------------------------------------------------------------------------------- 52 | | y wedge correction factor (dy/dz * 10000) (Range: -9999 - 9999) ---------| |---------------------------------------------------------------------------------------------------------------- 53 | | scan center - dac value (Range: 0 - 4095) ---------| |---------------------------------------------------------------------------------------------------------------- 54 | | ram scrub address (Range: -32768 - 32767) ---------| |---------------------------------------------------------------------------------------------------------------- 55 | | ram scrub word #1 (Range: -32768 - 32767) ---------| |---------------------------------------------------------------------------------------------------------------- 56 | | ram scrub word #2 (Range: -32768 - 32767) ---------| |---------------------------------------------------------------------------------------------------------------- 57 | | ram scrub word #3 (Range: -32768 - 32767) ---------| |---------------------------------------------------------------------------------------------------------------- 58 | | ram scrub word #4 (Range: -32768 - 32767) ---------| |---------------------------------------------------------------------------------------------------------------- 59 | | ram scrub word #5 (Range: -32768 - 32767) ---------| |---------------------------------------------------------------------------------------------------------------- 60 | | ram scrub word #6 (Range: -32768 - 32767) ---------| |---------------------------------------------------------------------------------------------------------------- 61 | | ram scrub word #7 (Range: -32768 - 32767) ---------| |---------------------------------------------------------------------------------------------------------------- 62 | | ram scrub word #8 (Range: -32768 - 32767) ---------| |---------------------------------------------------------------------------------------------------------------- 63 | | observation cavity length - least significant word ( a float variable) (Range: -32768 - 32767) ---------| |---------------------------------------------------------------------------------------------------------------- 64 | | address of in-flight debug #1 (Range: -32768 - 32767) ---------| |---------------------------------------------------------------------------------------------------------------- 65 | | address of in-flight debug #2 (Range: -32768 - 32767) ---------| |---------------------------------------------------------------------------------------------------------------- 66 | | address of in-flight debug #3 (Range: -32768 - 32767) ---------| |---------------------------------------------------------------------------------------------------------------- MESSAGE LAYOUT: ROM CODE ------------------------------------------------------------------------------------------------------------------------- WORD | | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | ---------| |---------------------------------------------------------------------------------------------------------------- ---------| |---------------------------------------------------------------------------------------------------------------- 0 | | | Control Loop Refernce DAC value Range: 0-4095 | ---------| |---------------------------------------------------------------------------------------------------------------- 1 | | | Z Offset DAC value Range: 0-511 | ---------| |---------------------------------------------------------------------------------------------------------------- 2 | | | Y Offset DAC value Range: 0-4095 | ---------| |---------------------------------------------------------------------------------------------------------------- 3 | | | X Offset DAC value Range: 0-4095 | ---------| |---------------------------------------------------------------------------------------------------------------- 4 | | Range DAC value Range: 0-7 | X | X | X | ---------| |---------------------------------------------------------------------------------------------------------------- 5 | | Diagnostic Test Number (Indicates last test run) : 0=TBD Test, 1=RAM Checksum, 2=RAM Test, | | 3=PROM Checksum, 4=ASICA Self Test ---------| |---------------------------------------------------------------------------------------------------------------- 6 | | PROM/RAM Status : 0=PROM Code Running ---------| |---------------------------------------------------------------------------------------------------------------- 7-61 | | Always = 0 ---------| |---------------------------------------------------------------------------------------------------------------- 62 | | Start Address for RAM Memory Tests -- Set up by Message 2 (Range: -32768 - 32767) ---------| |---------------------------------------------------------------------------------------------------------------- 63 | | Stop Address for RAM Memory Tests -- Set up by Message 2 (Range: -32768 - 32767) ---------| |---------------------------------------------------------------------------------------------------------------- 64 | | Global Temperature Controller DAC Value (Range: 0 - 4095) ---------| |---------------------------------------------------------------------------------------------------------------- 65 | | Diagnostic Output #1 ---------| |---------------------------------------------------------------------------------------------------------------- 66 | | Diagnostic Output #2 ---------| |---------------------------------------------------------------------------------------------------------------- page 30 COMMAND NAME: Setup for Program Upload FUNCTIONAL DESCRIPTION: This is LEB initiated, commanding the Fabry Perot to prepare for a program upload. The starting address in Ram is given as well as the number of bytes to be expected. MESSAGE LAYOUT: ------------------------------------------------------------------------------------------------------------------------- WORD | | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | ---------| |---------------------------------------------------------------------------------------------------------------- 0 | | 0 | indicates multiple word command | |---------------------------------------------------------------------------------------------------------------- | | | words to follow = 2 | | |---------------------------------------------------------------------------------------------------------------- | | | X X X | Peripheral Id 5=Fabry Perot | |---------------------------------------------------------------------------------------------------------------- | | | Command Id = COMB_MSGS + FI_SETUP_LOAD (23) | ---------| |---------------------------------------------------------------------------------------------------------------- 1 | | Start Address Range: -32768 to 32767 ---------| |---------------------------------------------------------------------------------------------------------------- 2 | | Length in bytes Range: -32768 to 32767 ---------| |---------------------------------------------------------------------------------------------------------------- Command/Response Protocol ------------------------- Sync Data Direction Sync Data ---- ---- --------- ---- ---- C Setup Load -> <- C ACK-RTR D Data 1 -> D Data 2 -> C DTC -> <- C ACK page 31 COMMAND NAME: Program Upload FUNCTIONAL DESCRIPTION: This is LEB initiated, commanding the Fabry Perot to take in it's new program, patch or new data. MESSAGE LAYOUT: ------------------------------------------------------------------------------------------------------------------------- WORD | | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | ---------| |---------------------------------------------------------------------------------------------------------------- 0 | | 0 | 0 indicates multiple word command | |---------------------------------------------------------------------------------------------------------------- | | | 0 | 0 | 0 | 0 | | |---------------------------------------------------------------------------------------------------------------- | | | X X X | Peripheral Id 5=Fabry Perot | |---------------------------------------------------------------------------------------------------------------- | | | Command Id = COMB_MSGS + FI_UPLOAD (24) | ---------| |---------------------------------------------------------------------------------------------------------------- 1 | | Data 1 | ---------| |---------------------------------------------------------------------------------------------------------------- 2 | | Data 2 | ---------| |---------------------------------------------------------------------------------------------------------------- . . . ---------| |---------------------------------------------------------------------------------------------------------------- n | | Data n | ---------| |---------------------------------------------------------------------------------------------------------------- n +1 | | | Checksum: the sum of all data + checksum (mod 256) = 0| | | (calculated by GSE) ---------| |---------------------------------------------------------------------------------------------------------------- * the number of words was sent in the Setup Upload message NOTE: If an odd number of bytes is to be uploaded, the odd byte must be placed in the upper byte of word n. The lower byte of word n must be zero. Otherwise, a NACK will result. Command/Response Protocol ------------------------- Sync Data Direction Sync Data ---- ---- --------- ---- ---- C UpLoad -> <- C ACK-RTR D Data 1 -> D Data 2 -> D Data n -> D Checksum -> C DTC -> <- C ACK page 32 COMMAND NAME: Execute at New PC FUNCTIONAL DESCRIPTION: A LEB initiated command which resets the PC to the user-input value. MESSAGE LAYOUT: ------------------------------------------------------------------------------------------------------------------------- WORD | | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | ---------| |---------------------------------------------------------------------------------------------------------------- 0 | | 0 | indicates multiple word command | |---------------------------------------------------------------------------------------------------------------- | | | words to follow = 1 | | |---------------------------------------------------------------------------------------------------------------- | | | X X X | Peripheral Id 5=Fabry Perot | |---------------------------------------------------------------------------------------------------------------- | | | Command Id = COMB_MSGS + FI_PROG_CNTR (25) | ---------| |---------------------------------------------------------------------------------------------------------------- 1 | | Program counter range: -32768 - 32767 ---------| |---------------------------------------------------------------------------------------------------------------- Command/Response Protocol ------------------------- Sync Data Direction Sync Data ---- ---- --------- ---- ---- C Progm cntr -> <- C ACK-RTR D PC -> C DTC -> <- C ACK page 33 COMMAND NAME: Echo Data FUNCTIONAL DESCRIPTION: A LEB initiated command which identifies 1 word of data that is sent to the Fabry Perot which is to be echoed back to the LEB. MESSAGE LAYOUT: ------------------------------------------------------------------------------------------------------------------------- WORD | | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | ---------| |---------------------------------------------------------------------------------------------------------------- 0 | | 0 | indicates multiple word command | |---------------------------------------------------------------------------------------------------------------- | | | words to follow = 1 | | |---------------------------------------------------------------------------------------------------------------- | | | X X X | Peripheral Id 5=Fabry Perot | |---------------------------------------------------------------------------------------------------------------- | | | Command Id = COMB_MSGS + FI_ECHO (26) | ---------| |---------------------------------------------------------------------------------------------------------------- 1 | | data to be echoed range: -32768 to 32767 ---------| |---------------------------------------------------------------------------------------------------------------- Command/Response Protocol ------------------------- Sync Data Direction Sync Data ---- ---- --------- ---- ---- C Echo Data -> <- C ACK-RTR D Data 1 -> C DTC -> <- C ACK-RTS <- D Echoed Data Response <- C DTC COMMAND NAME: Echo Data Response FUNCTIONAL DESCRIPTION: A Fabry Perot generated message response which echos a word of data that was sent from the LEB . MESSAGE LAYOUT: ------------------------------------------------------------------------------------------------------------------------- WORD | | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | ---------| |---------------------------------------------------------------------------------------------------------------- 0 | | Echoed Data Word Range: 0 - 65,535 | ---------| |---------------------------------------------------------------------------------------------------------------- page 34 COMMAND NAME: Abort FUNCTIONAL DESCRIPTION: This is a LEB generated command wich signals the Fabry Perot to abort the message in progress. MESSAGE LAYOUT: ------------------------------------------------------------------------------------------------------------------------- WORD | | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | ---------| |---------------------------------------------------------------------------------------------------------------- 0 | | 1 | indicates single word command | |---------------------------------------------------------------------------------------------------------------- | | | X X X | Peripheral Id 5=Fabry Perot | |---------------------------------------------------------------------------------------------------------------- | | | Command Id = COMB_MSGS + FI_ABORT (27) | ---------| |---------------------------------------------------------------------------------------------------------------- Command/Response Protocol ------------------------- Sync Data Direction Sync Data ---- ---- --------- ---- ---- C Abort -> <- C ACK page 35 COMMAND NAME: Download RAM FUNCTIONAL DESCRIPTION: This is a LEB initiated command. It tells the Fabry Perot to download a section of its memory to the LEB. MESSAGE LAYOUT: ------------------------------------------------------------------------------------------------------------------------- WORD | | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | ---------| |---------------------------------------------------------------------------------------------------------------- 0 | | 0 | indicates multiple word command | |---------------------------------------------------------------------------------------------------------------- | | | words to follow = 2 | | |---------------------------------------------------------------------------------------------------------------- | | | X X X | Peripheral Id 5=Fabry Perot | |---------------------------------------------------------------------------------------------------------------- | | | Command Id = COMB_MSGS + FI_DOWN_LD (28) | ---------| |---------------------------------------------------------------------------------------------------------------- 1 | | Starting address range: -32768 to 32767 ---------| |---------------------------------------------------------------------------------------------------------------- 2 | | Number of words range: 1 to 1000 ---------| |---------------------------------------------------------------------------------------------------------------- Command/Response Protocol ------------------------- Sync Data Direction Sync Data ---- ---- --------- ---- ---- C Download -> <- C ACK-RTR D Data 1 -> D Data 2 -> C DTC -> <- C ACK-RTS <- D RAM data 0 . . <- D RAM data n-1 <- D Checksum <- C DTC COMMAND NAME: RAM Data FUNCTIONAL DESCRIPTION: This is the RAM data in response to a LEB initiated command to download a section of its memory. MESSAGE LAYOUT: ------------------------------------------------------------------------------------------------------------------------- WORD | | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | ---------| |---------------------------------------------------------------------------------------------------------------- 0 | | RAM contents range: 0 to 65,535 | ---------| |---------------------------------------------------------------------------------------------------------------- n-1 | | RAM contents range: 0 to 65,535 | ---------| |---------------------------------------------------------------------------------------------------------------- n | | | Checksum: the sum of all data + checksum (mod 256) = 0| ---------| |---------------------------------------------------------------------------------------------------------------- page 36 COMMAND NAME: Software Reset FUNCTIONAL DESCRIPTION: This is a LEB initiated command to the Fabry Perot indicating that a reset is in order. Cold reset causes the Fabry Perot to start execution from PC 0 in PROM as if a power up occurred. Warm reset causes a start from the beginning of RAM application code. If a warm reset is received while in PROM code, the message will be NACKed. MESSAGE LAYOUT: ------------------------------------------------------------------------------------------------------------------------- WORD | | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | ---------| |---------------------------------------------------------------------------------------------------------------- 0 | | 0 | indicates multiple word command | |---------------------------------------------------------------------------------------------------------------- | | | words to follow = 1 | | |---------------------------------------------------------------------------------------------------------------- | | | X X X | Peripheral Id 5=Fabry Perot | |---------------------------------------------------------------------------------------------------------------- | | | Command Id = COMB_MSGS + FI_RESET (15) | ---------| |---------------------------------------------------------------------------------------------------------------- 1 | | control bit: cold=1=ROM reset, warm=0=RAM reset | X | ---------| |---------------------------------------------------------------------------------------------------------------- Command/Response Protocol ------------------------- Sync Data Direction Sync Data ---- ---- --------- ---- ---- C Reset -> <- C ACK-RTR D Data 1 -> C DTC -> <- C ACK page 37 COMMAND NAME: Fabry Perot Temperature Adjust FUNCTIONAL DESCRIPTION: This is a LEB initiated command, it informs the Fabry Perot to load the temperature adjust DAC with the input value. MESSAGE LAYOUT: ---------------------------------------------------------------------------------------------------------------------------- WORD | | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | ---------| |---------------------------------------------------------------------------------------------------------------- 0 | | 0 | | |---------------------------------------------------------------------------------------------------------------- | | | words to follow =2 | | |---------------------------------------------------------------------------------------------------------------- | | | X X X | Peripheral Id 5=Fabry Perot | |---------------------------------------------------------------------------------------------------------------- | | | Command Id = FP_MSGS + FI_TEMP_ADJ (14) | ---------| |---------------------------------------------------------------------------------------------------------------- 1 | | fp temperature adjust dac value (range: 0-255) | ---------| |---------------------------------------------------------------------------------------------------------------- 2 | | SPARE (-32768 to 32767) ---------| |---------------------------------------------------------------------------------------------------------------- Command/Response Protocol ------------------------- Sync Data Direction Sync Data ---- ---- --------- ---- ---- C Temp adjust -> <- C ACK-RTR D Data 1 -> D Data 2 -> C DTC -> <- C ACK page 38 COMMAND NAME: Modify Parameters FUNCTIONAL DESCRIPTION: This is a LEB initiated command. It contains values to be loaded into the designated parameters. These parameters are used in the algorithms. MESSAGE LAYOUT: ------------------------------------------------------------------------------------------------------------------------- WORD | | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | ---------| |---------------------------------------------------------------------------------------------------------------- 0 | | 0 | indicates multiple word command | |---------------------------------------------------------------------------------------------------------------- | | | 10 words to follow | | |---------------------------------------------------------------------------------------------------------------- | | | X X X | Peripheral Id 5=Fabry Perot | |---------------------------------------------------------------------------------------------------------------- | | | Command Id = FP_MSGS + FI_MOD_PARAMS (16) | ---------| |---------------------------------------------------------------------------------------------------------------- 1 | | Check and Correct Type 0 = Short, 1 = Long ---------| |---------------------------------------------------------------------------------------------------------------- 2 | | Finesse Optimization Type 0 = Medium, 1 = Long ---------| |---------------------------------------------------------------------------------------------------------------- 3 | | Re-calculate dx/dz & dy/dz in Long Check & Correct? 0 = No , 1 = Yes ---------| |---------------------------------------------------------------------------------------------------------------- 4 | | Maximize Intensity - maximum number of side steps for tweak #1 (Range: 1-200) ---------| |---------------------------------------------------------------------------------------------------------------- 5 | | Maximize Intensity - maximum number of side steps for tweak #2 (Range: 1-200) ---------| |---------------------------------------------------------------------------------------------------------------- 6 | | Finesse Optimization - Max number of times through tweak loops (Range: 1-20) ---------| |---------------------------------------------------------------------------------------------------------------- 7 | | Tweak up noise threshold for tweak #1 (Range: 0-1000) (If 1000, the tweak step is skipped) ---------| |---------------------------------------------------------------------------------------------------------------- 8 | | Tweak up noise threshold for tweak #2 (Range: 0-1000) ---------| |---------------------------------------------------------------------------------------------------------------- 9 | | Laser Line Spectral - integer portion (Range: 2000-8000) ---------| |---------------------------------------------------------------------------------------------------------------- 10 | | Laser Line Spectral - fractional portion * 10000 (Range: 0 -9999) ---------| |---------------------------------------------------------------------------------------------------------------- Command/Response Protocol ------------------------- Sync Data Direction Sync Data ---- ---- --------- ---- ---- C Mod params -> <- C ACK-RTR D Data 1 -> D Data 2 -> D Data 3 -> D Data 4 -> D Data 5 -> D Data 6 -> ... D Data 10 -> C DTC -> <- C ACK page 39 COMMAND NAME: I4 (Camera) Intensity Data FUNCTIONAL DESCRIPTION: This command is LEB/Controller initiated. It sends I4 Intensity information to the Fabry Perot. This information pertains to the intensity measured at the 4th channel (Camera). MESSAGE LAYOUT: ------------------------------------------------------------------------------------------------------------------------- WORD | | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | ---------| |---------------------------------------------------------------------------------------------------------------- 0 | | 0 | indicates indicates multiple word command | |---------------------------------------------------------------------------------------------------------------- | | | 1 word to follow | | |---------------------------------------------------------------------------------------------------------------- | | | X X X | Peripheral Id 5=Fabry Perot | |---------------------------------------------------------------------------------------------------------------- | | | Command Id = FP_MSGS + FI_NORM_DAT (18) | ---------| |---------------------------------------------------------------------------------------------------------------- 1 | | I4 Intensity Data (Camera) range: 0 - 4095 | ---------| |---------------------------------------------------------------------------------------------------------------- Command/Response Protocol ------------------------- Sync Data Direction Sync Data ---- ---- --------- ---- ---- C Norm Data -> <- C ACK-RTR D Data 1 -> C DTC -> <- C ACK page 40 COMMAND NAME: Move to Observation Point FUNCTIONAL DESCRIPTION: This is a LEB/GSE initiated message requesting the Fabry-Perot to move from one oberservation point to another. This implies using the fine adjust (clr) dac. MESSAGE LAYOUT: ------------------------------------------------------------------------------------------------------------------------- WORD | | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | ---------| |---------------------------------------------------------------------------------------------------------------- 0 | | 0 | 0 indicates multiple word command | |---------------------------------------------------------------------------------------------------------------- | | | 2 words to follow | | |---------------------------------------------------------------------------------------------------------------- | | | X X X | Peripheral Id 5=Fabry Perot | |---------------------------------------------------------------------------------------------------------------- | | | Command Id = FP_MSGS + FI_MOVE_OBSERV (20) | ---------| |---------------------------------------------------------------------------------------------------------------- 1 | | the Spectral observation point in Angstroms - integer portion (Range: 1-9999) ---------| |---------------------------------------------------------------------------------------------------------------- 2 | | the Fractional part * 10000 (10000ths of angstroms) (Range: 0 -9999) ---------| |---------------------------------------------------------------------------------------------------------------- 3 | | Observation Order ( 0 = use calculated order ) (Range: 0 - 500) ---------| |---------------------------------------------------------------------------------------------------------------- Command/Response Protocol ------------------------- Sync Data Direction Sync Data ---- ---- --------- ---- ---- C Move Obsv -> <- C ACK-RTR D Data 1 -> D Data 2 -> D Data 3 -> C DTC -> <- C ACK page 41 COMMAND NAME: Simulated Finesse Optimization Outcome FUNCTIONAL DESCRIPTION: This is a LEB initiated command informing the Fabry-Peroy to load the following Finesse Optimization parameters. MESSAGE LAYOUT: ------------------------------------------------------------------------------------------------------------------------- WORD | | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | ---------| |---------------------------------------------------------------------------------------------------------------- 0 | | 0 | 0 indicates multiple word command | |---------------------------------------------------------------------------------------------------------------- | | | 15 words to follow | | |---------------------------------------------------------------------------------------------------------------- | | | X X X | Peripheral Id 5=Fabry Perot | |---------------------------------------------------------------------------------------------------------------- | | | Command Id = FP_MSGS + FI_INIT_PARAMS (19) | ---------| |---------------------------------------------------------------------------------------------------------------- 1 Phase shift PS_OPT_12 Range -100 to +100 ---------| |---------------------------------------------------------------------------------------------------------------- 2 Phase shift PS_OPT_13 Range -100 to +100 ---------| |---------------------------------------------------------------------------------------------------------------- 3 Phase shift PS_OPT_X_12 Range -100 to +100 ---------| |---------------------------------------------------------------------------------------------------------------- 4 Phase shift PS_OPT_X_13 Range -100 to +100 ---------| |---------------------------------------------------------------------------------------------------------------- 5 Phase shift PS_OPT_Y_12 Range -100 to +100 ---------| |---------------------------------------------------------------------------------------------------------------- 6 Phase shift PS_OPT_Y_13 Range -100 to +100 ---------| |---------------------------------------------------------------------------------------------------------------- 7 Laser Line Ref DAC Range 0 to 4095 ---------| |---------------------------------------------------------------------------------------------------------------- 8 Laser Line Order Range 1 to 1000 ---------| |---------------------------------------------------------------------------------------------------------------- 9 Optimal CLR Dac value Range 0 to 4095 ---------| |---------------------------------------------------------------------------------------------------------------- 10 Phys_per_dac_step * 1000 Range -9999 to 9999 ---------| |---------------------------------------------------------------------------------------------------------------- 11 X_wedge_corr * 10000 Range -9999 to 9999 ---------| |---------------------------------------------------------------------------------------------------------------- 12 Y_wedge_corr * 10000 Range -9999 to 9999 ---------| |---------------------------------------------------------------------------------------------------------------- 13 Physical Miss * 100 Range -32768 to 32767 ---------| |---------------------------------------------------------------------------------------------------------------- 14 Spare Range -32768 to 32767 ---------| |---------------------------------------------------------------------------------------------------------------- 15 Spare Range -32768 to 32767 ---------| |---------------------------------------------------------------------------------------------------------------- Command/Response Protocol ------------------------- Sync Data Direction Sync Data ---- ---- --------- ---- ---- C Init Params -> <- C ACK-RTR D Data 1 -> D Data 2 -> . . . D Data 15 -> C DTC -> <- C ACK page 42 COMMAND NAME: Scope Command FUNCTIONAL DESCRIPTION: This is a LEB initiated command requesting the Fabry Perot to monitor the response on the specified mux channel resulting from moving the selected dac one step. MESSAGE LAYOUT: ------------------------------------------------------------------------------------------------------------------------- WORD | | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | ---------| |---------------------------------------------------------------------------------------------------------------- 0 | | 0 | 0 indicates multiple word command | |---------------------------------------------------------------------------------------------------------------- | | | 5 words to follow | | |---------------------------------------------------------------------------------------------------------------- | | | X X X | Peripheral Id 5=Fabry Perot | |---------------------------------------------------------------------------------------------------------------- | | | Command Id = FP_MSGS + FI_SCOPE (5) | ---------| |---------------------------------------------------------------------------------------------------------------- 1 MUX Channel Selection Range: 0-23 ---------| |---------------------------------------------------------------------------------------------------------------- 2 Delay between steps Range: -32768-32767 ---------| |---------------------------------------------------------------------------------------------------------------- 3 Dac selection ( 0=CLR, 1=XOFF, 2=YOFF, 3=ZOFF, 4=Range) ---------| |---------------------------------------------------------------------------------------------------------------- 4 Step size Range: -4095 to +4095 ---------| |---------------------------------------------------------------------------------------------------------------- 5 Spare Range: -32768 to 32767 ---------| |---------------------------------------------------------------------------------------------------------------- Command/Response Protocol ------------------------- Sync Data Direction Sync Data ---- ---- --------- ---- ---- C Init Params -> <- C ACK-RTR D Data 1 -> D Data 2 -> . . . D Data 4 -> D Data 5 -> C DTC -> <- C ACK page XX COMMAND NAME: (just a template ) FUNCTIONAL DESCRIPTION: MESSAGE LAYOUT: ------------------------------------------------------------------------------------------------------------------------- WORD | | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | ---------| |---------------------------------------------------------------------------------------------------------------- 0 | | 1 | indicates single word command , 0 indicates multiple word command | |---------------------------------------------------------------------------------------------------------------- | | | X X X | Peripheral Id 5=Fabry Perot | |---------------------------------------------------------------------------------------------------------------- | | | Command Id | ---------| |---------------------------------------------------------------------------------------------------------------- ---------| |---------------------------------------------------------------------------------------------------------------- ---------| |---------------------------------------------------------------------------------------------------------------- ---------| |----------------------------------------------------------------------------------------------------------------