Page46 of 48
7.
APIs for YTPC-E-Series
7.1
Set Enhance board state: set_EK_LB();
⚫
set_EK_LB(0,type);
⚫
type : 0: PA, 1: internal-LB, 2: bypass PA
7.2
Set Transmitted Power: set_TX_power()
⚫
set_TX_power([RF_chain0 Amp_val0; RF_chain1 Amp_val1;RF_chain2 Amp_val2; RF_chain3
Amp_val3])
⚫
Input array: ([RF_chain0 Amp_val0; RF_chain1 Att_val1; RF_chain2 Att_val2; RF_chain2
Att_val2])
⚫
For example: set tx power 10dBm:
set_TX_power([0 10; 1 10; 2 10; 3 10]); % dBm, set channel power
This type is used to control the transmitted power by TX amplitude(dBm). This function will modify the
TX power by using the calibration table. YTTEK provides this API to allow users to directly set TX
amplitude(dBm).
7.3
YTPC1004E LO Change with Calibration: LO_Change_YTPC1004E()
⚫
LO_Change_YTPC1004E(idx_SDR, tx_lo_1, rx_lo_1, tx_lo_2, rx_lo_2)
⚫
Unit: MHz
⚫
SDR default frequency: 1GHz
⚫
Frequency range: 700MHz~6GHz, index SDR: 0~4
⚫
There are two LOs in each platform. TRX1&TRX2 share the first LO, TRX3&TRX4 share the
second LO.
This API is used for change center frequency with calibration to improve overall performance. Three
parameters are needed in this function, index of SDR, TX Frequency, RX Frequency.
For example: set LO: 3GHz
LO_Change_YTPC0564E(0,3000,3000,3000,3000); % MHz
Summary of Contents for YTPC100 Series
Page 28: ...Page28 of 48 Plot Result...
Page 33: ...Page33 of 48 Program...
Page 37: ...Page37 of 48 Plot Result QPSK 16QAM 64QAM...
Page 38: ...Page38 of 48 256QAM 1024QAM...
Page 40: ...Page40 of 48 16QAM 64QAM...
Page 41: ...Page41 of 48 256QAM 1024QAM...