Skip to content

Instantly share code, notes, and snippets.

@a46554
Created April 2, 2018 09:58
Show Gist options
  • Save a46554/4fd2744dc6ab58582ad4b0b715ab6375 to your computer and use it in GitHub Desktop.
Save a46554/4fd2744dc6ab58582ad4b0b715ab6375 to your computer and use it in GitHub Desktop.
// RF Front End Settings
// Note: The use of these values completely depends on how the PCB is laid out.
// Please see Device Package and Evaluation Module (EM) Board below.
#define RF_FE_DIFFERENTIAL 0
#define RF_FE_SINGLE_ENDED_RFP 1
#define RF_FE_SINGLE_ENDED_RFN 2
#define RF_FE_ANT_DIVERSITY_RFP_FIRST 3
#define RF_FE_ANT_DIVERSITY_RFN_FIRST 4
#define RF_FE_SINGLE_ENDED_RFP_EXT_PINS 5
#define RF_FE_SINGLE_ENDED_RFN_EXT_PINS 6
//
#define RF_FE_INT_BIAS (0<<3)
#define RF_FE_EXT_BIAS (1<<3)
...
...
...
#define BLE_USER_CFG { MAX_NUM_BLE_CONNS, \
MAX_NUM_PDU, \
MAX_PDU_SIZE, \
RF_FE_MODE_AND_BIAS, \
rfRegTbl, \
&txPwrTbl, \
rfDriverTable, \
eccDriverTable, \
CRYPTO_DRV_TABLE, \
trngDriverTable, \
ASSERT_CBACK, \
L2CAP_NUM_PSM, \
L2CAP_NUM_CO_CHANNELS,\
&pfnBMAlloc, \
&pfnBMFree, \
PM_STARTUP_MARGIN }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment