Telink TLSR8232 BLE SDK Developer Handbook
AN-19112700-E1
191
Ver.1.0.0
EMI Test supports four test mode: Carrire mode (send carrier only), CD mode (send
Carrirer with data), RX mode, TX mode. TX mode supports three sub-modes with
different packet types.
struct
test_list_s
ate_list
[] = {
{
0x01
,emicarrieronly},
{
0x02
,emi_con_prbs9},
{
0x03
,emirx},
{
0x04
,emitxprbs9},
{
0x05
,emitx55},
{
0x06
,emitx0f},
};
11.3.1.1 Carrier Mode
Carrier mode is used to test the sending of carrier. The function is:
void
emicarrieronly
(
RF_ModeTypeDef
rf_mode,
RF_TxPowerTypeDef
pwr,
signed
char
rf_chn);
Parameters:
rf_mode
Set RF mode, RF_MODE_BLE_1M and RF_MODE_BLE_2M are
optional
pwr
Set tx power, see the definition of RF_TxPowerTypeDef for its values.
rf_chn
Set RF channel, the channel actually used is (2400+rf_chn).
11.3.1.2 CD Mode
CD mode is used to test
the
sending of carrirer with data. The function is:
void
emi_con_prbs9
(
RF_ModeTypeDef
rf_mode,
RF_TxPowerTypeDef
pwr,
signed
char
rf_chn)
Parameters:
rf_mode
Set RF mode, RF_MODE_BLE_1M and RF_MODE_BLE_2M are
optional
pwr
Set tx power, see the definition of RF_TxPowerTypeDef for its values.