EasyManua.ls Logo

Tescom TC-3000C - Page 195

Default Icon
255 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
5.7 Reference Guide for using DLL
195
This function provides measurement of the transmitter carrier frequency accuracy at the given TX frequency.
The frequency is RX frequency of a tester The function can be used for the TRM/CA/08/C (Initial Carrier
Frequency Tolerance) test case.
Syntax
unsigned long init_car_freq(unsigned char test_mode, unsigned char freq, unsigned
charhop_mode,unsigned short num_pkts,unsigned char one_mhz_f, short *df0_max, short*df0_min);
Return Value
The return value of this function will be zero if the function is successful. Otherwise, the return value will be
an error code.
Parameter
test_mode // Test Mode. 1:TRANSMITTER_TEST(default), 2:LOOPBACK_TEST
freq // frequency. 0:2402 MHz, 1:2403 MHz, ... , 78:2480 MHz
hop_mode // Hopping 1: OFF, 79: ON(default)
num_pkts // number of packets, Default:10
one_mhz_f // 1MHz filter 0: OFF, 1: ON
df0_max // maximal deviation of carrier frequencies from (2402+'freq') MHz in hundreds Hz
df0_min // minimal deviation of carrier frequencies from (2402+'freq') MHz in hundreds Hz
car_freq_drift
Description
This function provides measurement of the transmitter centre frequency drift within a packet at the given TX
frequency. The frequency is RX frequency of a tester. The function can be used for the TRM/CA/09/C
(Carrier Frequency Drift) test case.
Syntax
unsigned long car_freq_drift(unsigned char test_mode, unsigned char freq, unsigned char
hop_mode,unsigned char pkt_type, unsigned short num_pkts, unsigned charone_mhz_f, unsigned
charmod_1010, unsigned short df2_avg_low_lim, short *f_drift_max, short *drift_rate_max, unsigned short
*df2_avg, unsigned short *df2_min, unsigned short *bytes_2, unsigned short *num_df2_l);
Return Value
The return value of this function will be zero if the function is successful. Otherwise, the return value will be
an error code.
Parameter
test_mode// Test Mode. 1:TRANSMITTER_TEST(default), 2:LOOPBACK_TEST
freq// frequency. 0:2402 MHz, 1:2403 MHz, ... , 78:2480 MHz
hop_mode// Hopping 1: OFF, 79: ON(default)
pkt_type // packet type. 0:Longest(default), 4:DH1, 9:AUX1, 11:DH3, 15:DH5
num_pkts// number of packets, Default:10
one_mhz_f// 1MHz filter 0: OFF, 1: ON
char mod_1010// Flag whether Modulation characteristic for 1010 bit pattern must
// be calculated at the same time
df2_avg_low_lim // lower limit for average of all maximum frequency deviations
// from the average frequency for the 1010 pattern in Hz
// divided by 100 (1unit = 100 Hz). This parameter is meningful only if mod_1010 == 1
f_drift_max // maximal frequency drift in hundreds Hz. The frequency drift
// limits apply to the difference between the average frequency of
// the 4 preamble bits f0 and the average frequency of any 10 bits
// in the payload field of the returned packets fk.
drift_rate_max// maximal drift rate in hundreds Hz per 50 us.
// The maximum drift rate applies to the difference between any two adjacent 10 bit groups
// separated by 50 us within the payload field of the returned packets.
df2_avg // average of all maximum frequency deviations from
// the average frequency for the 1010 pattern in Hz divided by 100. (1unit = 100 Hz)
df2_min // minimum of all maximum frequency deviations from
// the average frequency for the 1010 pattern in Hz divided by 100. (1unit = 100 Hz)

Table of Contents

Related product manuals