background image

 

 

Hawk Instruction Manual 

 

Document number 

Revision 

File name 

Date 

Page 

2015-07-22-05 

V1.1 

HK82x_IM_v1_1 

30

th

 Jul 2015 

13 of 14 

 

 

4.4 

Query Commands 

Notes: 

-

 

Command 0x4F writes to the system status register, 0x49 reads from the system status register. 

-

 

Command 0x53 0xE0 write to the FPGA registers, 0x53 0xE1 read from the FPGA registers. 

 

Query Command

 

Send Serial Packet 

Comments

 

Get system status 

0x49 0x50 

1 Byte returned; Default = 0x16 
 
YY Bit 6= 0 Check sum mode disabled 
YY Bit 4 = 1 Command acknowledge enabled 
YY Bit 1 = 1 FPGA enabled 
YY Bit 0 = 0 EEPROM communications disabled 
YY Bits 2,3,5,7 = reserved 

Get FPGA CTRL 

0x53 0xE0 0x01 0x00 0x50 
0x53 0xE1 0x01 0x50 

1 Byte returned; Default = 0x19 
 
YY Bit 3 = 1 = to enable ALC (Default) 
YY Bits 0-2,4-7 = unused 

Get TEST PATTERN state 

0x53 0xE0 0x01 0xFA 0x50 
0x53 0xE1 0x01 0x50 

1 byte returned; default = 0xE0 
YY Bit 7= 1 Gamma Enabled (Default) 
YY Bit 7= 0 Gamma Disabled  
Bit 3  Bit 2  Bit 1  Bit0 (of YY) 
  0         0        0         0     Disabled (Default) 
  0         0         1        0     Full White 
  0         0         1        1     ½ White 
  0         1         0        0      ¼ White 
  1         0        0         0      Black 
  1         0        0         1     Vertical Stripes 

Get internal temperature 

0x53 0xE0 0x01 0x70 0x50 
0x53 0xE1 0x01 0x50 
 
0x53 0xE0 0x01 0x71 0x50 
0x53 0xE1 0x01 0x50 

2 bytes returned  
 
1

st

 byte = Top nibble (top 4 bits=0) 

 
2

nd

 byte = Lower byte 

 
Counts = ((1

st

 byte x 256)+2

nd

 byte) 

If counts<2048: 
Positive Temperature 

o

C=counts/16 

If counts>2047: 
Negative Temperature 

o

C=(counts-4096)/16 

 

Get Micro version 

0x56 0x50 

Two bytes transmitted from camera when command 
received. 1

st

 byte Major version 2

nd

 byte Minor version. 

Get FPGA version 

0x53 0xE0 0x01 0x7E 0x50 
0x53 0xE1 0x01 0x50 
 
0x53 0xE0 0x01 0x7F 0x50 
0x53 0xE1 0x01 0x50 

Set address 7E (Major Version Byte) 
Read address 7E, 1 byte  
 
Set address 7F (Minor Version Byte) 
Read address 7F, 1 byte 

Get Unit Serial Number 

0x4f 0x13 0x50 
0x53 0xAE 0x05 0x01 0x00 
0x00 0x02 0x00 0x50 
 
0x53 0xAF 0x02 0x50 
 
0x4f 0x12 0x50 

Enable EEPROM access 
2 bytes returned: 
 
1

st

 byte is the LSB 

 
2

nd

 is the MSB 

Disable EEPROM access 

 
 

Summary of Contents for Hawk

Page 1: ...0th Jul 2015 1 of 14 This document is the property of Raptor Photonics Limited and must not be copied shown or in any way be communicated to persons other than those requiring the information for the...

Page 2: ...e Date Prepared Paul Carson Principal Engineer Raptor Photonics Ltd 22nd July 2015 Reviewed B Rolston CTO 30 07 15 Reviewed Approved Authorized DOCUMENT CHANGE RECORD Issue Date Name Pages sections af...

Page 3: ...ign 8 3 1 1 Power Input 8 3 1 2 Communications Interface 8 3 1 3 Trigger Output 8 3 1 4 Analogue Video out 8 3 1 5 Iris Control 9 3 2 Functionality 9 3 2 1 Automatic Light Control ALC 9 4 SERIAL COMMU...

Page 4: ...82x_IM_v1_1 30th Jul 2015 4 of 14 ACRONYMS ALC Automatic Light Control CCD Charge Coupled Device EEPROM Electrically Erasable Programmable Read Only Memory FPGA Field Programmable Gate Array LSB Least...

Page 5: ...IM_v1_1 30th Jul 2015 5 of 14 1 SCOPE This document details the design for the Hawk 829 mono PAL colour PAL NTSC cameras P N HK829 AP HK829 AC HK247 AE Details of the camera electrical interfaces and...

Page 6: ...range 3 In Out Trigger Red 4 GND Brown 5 In 12V Black 6 Reserved Grey 7 Reserved Violet 8 O Reserved Blue 9 GND Green Figure 2 9 Pin MDM connector 2 1 2 Video Output SMA The camera has a 50 characteri...

Page 7: ...ile Figure 3 Mechanical external dimensions Notes Drawing shown with CS mount ring fitted to camera CS mount has a flange focal distance of 12 50mm From the above drawing the estimated focal plane of...

Page 8: ...be altered TIA EIA 485A Standard Compliant 120 termination 3 1 3 Trigger Output The trigger output has a 51 source impedance with a 3 3V pulse synchronised to the video out Vertical Sync pulse a HIGH...

Page 9: ...red with the average video in each video field to determine the required digital gain to reach equilibrium If ALC is disabled digital gain remains fixed at the last level 2 Auto EXP Auto EXP will auto...

Page 10: ...TX i e should the host command require data to be sent from the camera then the ETX byte will be sent at the end of the requested data Another optional mode of operation is included in the firmware is...

Page 11: ...command packet received camera timed out waiting for end of packet Command not processed 0x52 ETX_CK_SUM_ERR Check sum transmitted by host did not match that calculated for the packet Command not proc...

Page 12: ...ate 0x4F 0xYY 0x50 Default 0x16 YY Bit 6 1 to enable check sum mode YY Bit 4 1 to enable command ack YY Bit 1 0 to Hold FPGA in RESET YY Bit 0 1 to enable EEPROM communications YY Bits 7 5 3 2 reserve...

Page 13: ...Default YY Bit 7 0 Gamma Disabled Bit 3 Bit 2 Bit 1 Bit0 of YY 0 0 0 0 Disabled Default 0 0 1 0 Full White 0 0 1 1 White 0 1 0 0 White 1 0 0 0 Black 1 0 0 1 Vertical Stripes Get internal temperature 0...

Page 14: ...o camera RX d bytes from camera Get Micro version 0x56 0x50 0x02 0x07 V2 7 4 5 3 Read internal temperature Command TX bytes to camera RX d bytes from camera Get internal temperature 0x53 0xE0 0x01 0x7...

Reviews: