
Chapter 11.
Tools and Utilities
11.1 dut tool
11.1.1 Using dut to configure the HwTest driver
dut is the configuration tool for the HwTest driver. The command dut start will enable the driver
as well as the UMX library. You can use dut to configure radio parameters. For example, run
dut txgain --value 0x1000
to set the transmission gain. Or, you can set the receiving gain with
dut rxgain --value 0x1000.
Or you can set the central frequency of the radio with
dut centralfreq --value 2414.
You can also use “dut dump” to take a snapshot of the channel and store the dump file at root
of disk C. You can use the software oscilloscope to load the dump file and check the signal.
11.1.2 Using dut to transmit a signal
To transmit a signal, you can first prepare the waveform in a Tx signal file. The Tx signal file is
simply an array of I/Q samples (each I or Q component is of 8-bit). The total file size should be
less than 2MB. The following command line transfers the signal to the RCB memory,
dut transfer –-file d:\frame.tx.
You can use “dut info” to check the id of all signals stored on RCB and run “dut tx –-sid 0x01” to
transfer the cached waveform (assuming the id of the frame.tx returned is 0x01). You may
optionally specify a repeat number for the tx command. For example,
dut tx --sid 0x01 --value 100
tells the hwtest driver to transmit the signal 0x01 for 100 times. You can use “dut stoptx” to
cancel a repeating transmission. When transmission is complete, you can remove the signal
from the RCB memory using
Comments to this Manuals