Cmd_set_ttl_levels, Cmd_set_osci_trigger, Cmd_set_core_clock – GBS Elektronik MCA-527 Firmware Commands User Manual

Page 21

Advertising
background image

Description of the MCA527 Firmware Commands

Command name

CMD_SET_TTL_LEVELS

Compatibility

New MCA527 command.

Execution right

Necessary

Description

The command allows to change the low level (ll) and the high level (hl) for TTL input signals. The low
level must be lower than the high level. The default levels are 0.8V and 2.0V, which are the standard
levels for TTL input signals.
Micro version

21

:

low level = 6 … 23 * 0.1V,

high level = 7 … 24 * 0.1V

Other versions:

low level = 1 … 99 * 0.1V,

high level = 2 … 100 * 0.1V

The command is ignored and responds with an error value if a measurement is still running.

Format

integer

integer

integer

integer

integer

integer

Parameter

preamble

command

ll

hl

0

end flag

Byte string (HEX)

A5

5A

27

01

ll

00

hl

00

00

00

B9

9B

Command name

CMD_SET_OSCI_TRIGGER

Compatibility

New MCA527 command.

Execution right

Necessary

Description

The command allows to set source index (s), resolution index (r), threshold (t) and position (p) for the
oscilloscope mode.
s:

0 … 4

r:

-5 … +13

t:

0 … 16383

p:

0 … 499

The oscilloscope mode is described in document: “MCA527 Oscilloscope Mode”.

Format

integer

integer

char

char

integer

integer

integer

Parameter

preamble

command

s

r

t

p

end flag

Byte string (HEX)

A5

5A

11

01

s

r

t

l

t

h

p

l

p

h

B9

9B

Command name

CMD_SET_CORE_CLOCK

Compatibility

New MCA527 command (since firmware version 13.04).

Execution right

Necessary

Description

The command allows to set the core clock of the MCA527 processor.
Full, Lite and OEM version: clk:

1 … 6 * 100 MHz

Micro version:

clk:

1 … 4 * 100 MHz

Format

integer

integer

integer

integer

integer

integer

Parameter

preamble

command

clk

0

0

end flag

Byte string (HEX)

A5

5A

2D

01

ckl

l

00

00

00

00

00

B9

9B

Remarks

The default core clock is 400 MHz. This is sufficient in most cases. The change of the core clock is
only necessary in exceptional cases. Note, a higher core clock consumes more power.

21 Since firmware version 14.05, the command considered the special characteristic of the micro version. If pin AIN- and pin VCM

are tied together, a voltage from 0.5 to 2.5V can be applied between pin AIN+ and pin GND.

21

Advertising