Sio(rs232) special commands – Unibrain 830 User Manual

Page 58

Advertising
background image

Unibrain Fire-i 530/630/830 Operation Manual

Page 52

4.9.3. SIO(RS232) Special Commands

0xF2F10018

Auto-Sync Mode control register
Bit 31 : auto sync enable
Bit 30 : SIO enable mode (0 : Custom mode, 1 : IIDC v1.31)
Bit 27 : auto sync complete (read only. 1: ready, 0: not yet auto-sync)

Read/Write

Custom commands are valid when the Bit30 is to be set “0”(zero).

SIO(RS232) custom commands are non IIDC compliant which is a specific mode for the cameras.

Before using these commands serial communication parameters must be set at Serial_Mode_Reg(F2F22000h)

F2F10018 means that the RS232 command is valid.

Baud Rate

Stop Bit

Parity

Flow Control

57600 bps (default)

1 bit

None

Non

Command format : [STX] [Command] [Data] [ETX]

[STX]

: Command start character : ‘S’

Command] : Command length is 2byte. See next page command table.

[Data]

: Data length is varied with each command. Data format is hexadecimal: ‘0’~’9’, ‘A’~’F’.

[ETX]

: Command end character : ‘Z’

Return value

‘

G’

: Command complete acknowledge.

“

Gdd..d” : “dd..d” is return data and hexadecimal character.

‘

U’

: Undefined command.

Valid Character: ‘0’~’9’, ‘A’~’F’, ‘S’,’Z’ Invalid character is received is discarded.

Example: Gain setting command with 0x200 value.

All of “SA0200Z”, “S A0 200 Z”, “SA0 200Z”, “S A0200 Z”, and “SKA0V200Z” are parsed to

“

SA0200Z Z”, and “SKA0V200Z” are parsed to “SA0200Z”.

SIO(RS232) Commands

STX Command

Data

Length

ETX

Return

Value

Function

S

A0

3Bytes

Z

G

Gain control (0x000 ~ 0x30F(BW Model) or 2D3(Color Model))

(see gain mapping graph)

Ex) SA0200Z : Gain index value 512 (18dB)

S

A1

3Bytes

Z

G

Shutter speed control
(0x001 ~ 0xCFB) (see shutter speed table)

S

A2

1Bytes

Z

G

Set/Clear auto shutter speed and auto gain
Bit 0 : Auto gain Bit 1 : Auto shutter speed
Ex) SA21Z : set auto gain and clear auto shutter speed

SA23Z : set auto gain and auto shutter speed

SA20Z : clear auto gain and auto shutter speed

S

A3

2Bytes

Z

G

Auto exposure control (0x00~0x64)

S

A4

1Bytes

Z

G

Gamma control (0x0~0x19) (see gamma table)

S

A5

3Bytes

Z

G

Brightness control (0x000~0x800)

S

A6

3Bytes

Z

G

Sharpness control (0x000~0x3F8)

S

A7

1Bytes

Z

G

ISO control 1: ISO enable, 0 : disable

S

A8

1Bytes

Z

G

Trigger control 1: trigger enable, 0 : trigger disable

Advertising
This manual is related to the following products: