TI BLE5-Stack API Documentation  1.00.01.04
Macros
Micro BLE Stack RF Front End Settings

Macros

#define RF_BIAS_MODE_MASK   0x08
 RF Bias Mode Mask.
 
#define RF_FE_ANT_DIVERSITY_RFN_FIRST   4
 Antenna Diveristy RFN First.
 
#define RF_FE_ANT_DIVERSITY_RFP_FIRST   3
 Antenna Diversity RFP First.
 
#define RF_FE_DIFFERENTIAL   0
 Differential.
 
#define RF_FE_EXT_BIAS   (1<<3)
 External Bias.
 
#define RF_FE_INT_BIAS   (0<<3)
 Internal Bias.
 
#define RF_FE_IOD   {NULL, NULL, NULL}
 IOD.
 
#define RF_FE_IOD_NUM   3
 IOD Number.
 
#define RF_FE_IOD_VAL   {NULL, NULL, NULL}
 IOD Value.
 
#define RF_FE_MODE_AND_BIAS   (RF_FE_DIFFERENTIAL | RF_FE_EXT_BIAS)
 RF Front End Mode and Bias Configuration.
 
#define RF_FE_SATURATION   0
 // RF FE saturation
 
#define RF_FE_SENSITIVITY   0
 // RF FE sensitivity
 
#define RF_FE_SINGLE_ENDED_RFN   2
 Single Ended RFN.
 
#define RF_FE_SINGLE_ENDED_RFN_EXT_PINS   6
 Single Ended RFN External Pins.
 
#define RF_FE_SINGLE_ENDED_RFP   1
 Single Ended RFP.
 
#define RF_FE_SINGLE_ENDED_RFP_EXT_PINS   5
 Single Ended RFP External Pins.
 
#define RF_FRONTEND_MODE_MASK   0x07
 Frontend Mode Mask.
 

Detailed Description

Note
The use of these values completely depends on how the PCB is laid out.

The device may come in more than one type of packages. For each package, the user may change how the RF Front End (FE) is configured. The possible FE settings are provided as a set of defines. (The user can also set the FE bias, the settings of which are also provided as defines.) The user can change the value of RF_FE_MODE_AND_BIAS to configure the RF FE as desired. However, while setting the FE configuration determines how the device is configured at the package, it is the PCB the device is mounted on (the EM) that determines how those signals are routed. So while the FE is configurable, how signals are used is fixed by the EM. As can be seen, the value of RF_FE_MODE_AND_BIAS is organized by the EM board as defined by EMs produced by Texas Instruments Inc. How the device is mounted, routed, and configured for a user product would of course be user defined, and the value of RF_FE_MODE_AND_BIAS would have to be set accordingly; the user could even dispense with the conditional board compiles entirely. So too with the usage of the Tx Power tables.

Copyright 2017, Texas Instruments Incorporated