Note: Notes:FVAL, as defined in the Camera Link standard, is not used. FVAL is permanently tied to 0 (low) level. DVAL is not used. DVAL is permanently tied to 1 (high) level. In case of Single output, the data (multiplexed) are output in place of Odd data. 9.4 Serial Communication The Camera Link interface provides two LVDS signal pairs for the communication between the camera and the frame grabber. This is an asynchronous serial communication based on RS-232 protocol. The configuration of the serial line is:
? Full duplex/without handshaking
? 9600 bauds, 8-bit data, no parity bit, 1 stop bit.
Command Syntax The valid syntax is "S = n(CR)" with:
? S: command identification as per “Camera Command and Control” on page 5. S is a single character in upper case.
? n: setting value.
? (CR): means "carriage return". no space, nor tab may be inserted between S, =, n and (CR). Example of a valid command:
? G = 3(CR): sets the camera to gain 3 (refer to “Camera Command and Control” on page 5 for exact value calculation). Example of non valid commands:
? G = 3(CR): spaces
? g = 3(CR): g instead of G
? G = 1040(CR): 1040 is outside of range
Command Processing Each command received by the camera is processed: ? If the command is valid: – the setting is done in case of a write command. – the camera returns the data separated by (CR) in case of the read command. – the camera returns: >OK(CR). ? If the command is not valid: – nothing is done. – the camera returns: >1 = out of range; >2 = syntax error; >3 = command too long; >4,>6,>7 = internal error; >5 undefined function. Table 9-4. Serial Communication Signal Name I/O Type Description SerTFG O RS644 Differential pair for serial communication to the frame grabber SerTC I RS644 Differential pair for serial communication from the frame grabber 12 0889C–IMAGE–07/07 AViiVA® M2 CL e2v semiconductors SAS 2007 Example: when receiving "! = 3(CR)’’ the camera returns its current settings: ? A = 0(CR); B = 0(CR); ....; E = 0(CR); >OK(CR)