Setting The Signal Frequency - HP E1340A User Manual

Arbitrary function generator
Hide thumbs Also See for E1340A:
Table of Contents

Advertisement

Setting the Signal
Frequency
Format
Arbitrary Waveform
Frequency
244 HP E1340A Register-Based Programming
There are five frequency parameters used with the AFG:
fixed (continuous) frequency
sweep start frequency
sweep stop frequency
FSK frequency 1
FSK frequency 2
Frequency Register 1 (command opcode 1) is used to set a fixed frequency,
the sweep start frequency, and the first FSK frequency. Frequency Register
2 (command opcode 2) is used to set a fixed frequency, the sweep stop
frequency, and the second FSK frequency.
The frequency is a four-byte parameter expressed in 10's of millihertz. The
format of the frequency value set from the Parameter Register is as follows:
32
Frequency = (F
* 2
o
Where
is the output frequency and
F
o
frequency. If the AFG's internal 42.94967296 MHz oscillator is used, the
equation simplifies to:
Frequency = (F
* 100)
o
Frequency is converted to the form:
24
16
(F
*2
+ F
*2
+ F
1
2
3
For example, to send 1kHz in four bytes (using the AFG internal oscillator):
Frequency = (1E3 * 100) = 100,000
The maximum frequency of an arbitrary waveform using the AFG internal
oscillator is 10.48576 kHz (42.94967296E6/4096). Higher frequencies can
be achieved, however; the arbitrary waveform cannot contain frequency
components greater that 15 MHz. At 10.48576 kHz, each amplitude point is
output once. At lower frequencies, some or all points may be output more
than once. At higher frequencies, some points are skipped on each repetition.
/Ref osc)
is the reference oscillator
Ref osc
8
*2
+F
)/100
4
= 00
01
86
= 0
1
134
byte 1 byte 2
byte 3
A0
16
160
10
byte 4
Appendix C

Advertisement

Table of Contents
loading

Table of Contents