Access from the user program
KL3361 and KL3362
64
Version: 2.2.0
R55: Samples envelope curve
Number of samples to be evaluated (512 max.).
R56: Trigger frequency
Frequency of the
that can be used for triggering.
R60: Trace data register 1
Contains the sampling value from the register specified in the trace index register (R62).
After the end of the read access (change of register address), the trace index (R62) is incremented by the
zoom distance n
Z
R61: Trace data register 2
Contains the sampling value from the register following the register specified in the trace index register
(R62).
After the end of the read access (change of register address), the trace index (R62) is incremented by the
zoom distance n
Z
R62: Trace index register
Writing: Sets the trace index to offset
Reading: Current value of the trace index.
The index is reset to zero at the start of a recording.
Offset zero to 0x3FFF contains the trace data.
From 0x8000, the envelope curve is given
R63: Zoom register
With the zoom register you can specify that
• only certain values or
• pre-processed values (maximum value , minimum value or arithmetic mean value)
are transferred to the control.
Bit
Name
Value
Explanation
Default
R63.15
R63.14
Zoom mode
00
bin
Sample zoom - the trace index register is increased automatically after
each reading by the zoom distance n
Z
. Therefore, only every n
Z
th value is
read.
-
01
bin
Max zoom - the highest of the read values is output
10
bin
Min zoom - the lowest of the read values is output
11
bin
Mean value zoom - the arithmetic mean of the read values is output
R63.13
R63.12
-
-
reserved
-
R63.11
...
R63.0
Zoom distance n
Z
Number n
Z
of sampling values, by which the trace index register (
) is in-
creased in zoom mode
Sample zoom
after each reading. Samples:
-
0x000
The same value is always read.
0x001
All values are read.
0x002
Only every second value is read.
0x00A
Only every tenth value is read.