This SaBLE-x-R2 Board File Package is specifically for v2.30.00.28 of the TI SIMPLELINK-CC2640R2 SDK. In particular, it is setup to ensure that the simple_peripheral sample app will work on the SaBLE-x-R2. If you need to use the other sample apps in the SDK, please refer to "The Files" section below and apply the same changes to the app you plan to use.
When the zip file is extracted into the SDK, it will add several files and modify some existing files in the SDK.
The SaBLE-x-R2 module contains the CC2640R2F 5x5 mm RHB package with 15 GPIOs. The RF frontend is configured as differential output with external bias.
The files in this board file package, and following the steps in this guide will include the correct defines in software to ensure correct operation of the SaBLE-x-R2 with the 5x5 chipset.
All TI examples in the SDK are setup to use the larger 7x7 mm package that has more GPIO pins. When writing your own board file please make sure to #define CC2650EM5XD and remove #define CC2650EM7ID.
The added files are located in the following folders:
C:\TI\SDK2.30.00.00.28\examples\rtos\SABLE-X-R2_DEV_BOARD\ble5stack\simple_peripheral\src\ccfg_app_ble.c
To ensure the user can still bootload the module with the UART bootloader, ccfg_app_ble.c is replaced with Laird's version of ccfg_app_ble.c
C:\TI\SDK2.30.00.00.28\examples\rtos\SABLE-X-R2_DEV_BOARD\ble5stack\simple_peripheral\tirtos\ccs\defines\ble5_simple_peripheral_cc2640r2lp_app_FlashROM_StackLibrary.opt
Line 4 modified. Replaced -DCC2640R2_LAUNCHXL with -DSABLEXR2_DEV_BOARD
C:\TI\SDK2.30.00.00.28\source\ti\ble5stack\target\board.c
Added lines 72 and 73. Added compile option for SABLEXR2_DEV_BOARD
C:\TI\SDK2.30.00.00.28\source\ti\ble5stack\target\board.h
Added ines 71 and 72. Added compile option for SABLEXR2_DEV_BOARD
C:\TI\SDK2.30.00.00.28\source\ti\ble5stack\icall\app\ble_user_config.c
Modified to set Tx Power to 12. See lines 82 to 86. This translates to 5dBm, the max power for the SaBLE-x-R2
C:\TI\SDK2.30.00.00.28\source\ti\ble5stack\common\cc26xx\board_key.c
The following lines were modified: 104, 141, 157 and 199. Added || defined(SABLEXR2_DEV_BOARD)