This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2640R2F: Running BLE Without a 32 kHz Crystal

Part Number: CC2640R2F


Hi,

I am using CCS and CC2640R2 evaluation board with 5x5 QFN (RHB) with 32 KHz crystal removed.

For the 5x5 QFN, I added the pre-defined symbols CC2640R2DK_5XD for the 5x5 board.

I have tried to enable "Using 32-kHz Crystal-Less Mode" as per the link
https://dev.ti.com/tirex/content/simplelink_cc2640r2_sdk_4_20_00_04/docs/blestack/ble_user_guide/html/ble-stack-3.x/custom-hardware.html

As per the instruction, I opened the http://www.ti.com/lit/pdf/swra499 and In this document, there is no detailed instructions on how to enable it using CCS.

Is this link is broken ?

BR

django

  • Part Number: CC2640R2F

    Hi

    I have added the CC2640R2DK_5XD and USE_RCOSC (symbold to the predefined symbols) to build the simple peripheral project

    for an evaluation board with 5x5 QFN (RHB) and without 32 Khz crystal as shown below.

    I get the build error for the app as shown below.

    Building file: "../Application/board_key.c"
    Invoking: Arm Compiler
    "/root/ti/ti-cgt-arm_18.12.5.LTS/bin/armcl" --cmd_file="/home/yash/workspace_v10/ble5_simple_peripheral_cc2640r2lp_app/TOOLS/defines/ble5_simple_peripheral_cc2640r2lp_app_FlashROM_StackLibrary.opt" --cmd_file="/root/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/ble5stack/config/build_components.opt" --cmd_file="/root/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/ble5stack/config/factory_config.opt" --cmd_file="/home/yash/workspace_v10/ble5_simple_peripheral_cc2640r2lp_stack_library/TOOLS/build_config.opt"  -mv7M3 --code_state=16 -me -O4 --opt_for_speed=0 --include_path="/home/yash/workspace_v10/ble5_simple_peripheral_cc2640r2lp_app" --include_path="/home/yash/workspace_v10/ble5_simple_peripheral_cc2640r2lp_app/Application" --include_path="/home/yash/workspace_v10/ble5_simple_peripheral_cc2640r2lp_app/Startup" --include_path="/home/yash/workspace_v10/ble5_simple_peripheral_cc2640r2lp_app/PROFILES" --include_path="/home/yash/workspace_v10/ble5_simple_peripheral_cc2640r2lp_app/Include" --include_path="/root/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/ble5stack/controller/cc26xx/inc" --include_path="/root/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/ble5stack/inc" --include_path="/root/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/ble5stack/rom" --include_path="/root/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/ble5stack/common/cc26xx" --include_path="/root/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/ble5stack/icall/inc" --include_path="/root/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/ble5stack/target" --include_path="/root/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/ble5stack/hal/src/target/_common" --include_path="/root/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/ble5stack/hal/src/target/_common/cc26xx" --include_path="/root/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/ble5stack/hal/src/inc" --include_path="/root/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/ble5stack/heapmgr" --include_path="/root/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/ble5stack/icall/src/inc" --include_path="/root/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/ble5stack/osal/src/inc" --include_path="/root/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/ble5stack/services/src/saddr" --include_path="/root/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/ble5stack/services/src/sdata" --include_path="/root/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/devices/cc26x0r2" --include_path="/root/ti/ti-cgt-arm_18.12.5.LTS/include" --define=CC2640R2DK_5XD --define=USE_RCOSC --define=DeviceFamily_CC26X0R2 -g --c99 --gcc --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="Application/board_key.d_raw" --obj_directory="Application" --cmd_file="configPkg/compiler.opt"  "../Application/board_key.c"
    >> Compilation failure
    Application/subdir_rules.mk:7: recipe for target 'Application/board_key.obj' failed
    "/root/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/ble5stack/target/./cc2640r2em/../../boards/CC2640R2DK_5XD/CC2640R2DK_5XD.h", line 298: warning #1-D: last line of file ends without a newline
    "/root/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/ble5stack/target/./cc2640r2em/../../boards/CC2640R2DK_5XD/Board.h", line 141: warning #1-D: last line of file ends without a newline
    "../Application/board_key.c", line 105: error #20: identifier "Board_BTN1" is undefined
    "../Application/board_key.c", line 106: error #20: identifier "Board_BTN2" is undefined
    2 errors detected in the compilation of "../Application/board_key.c".
    gmake: *** [Application/board_key.obj] Error 1
    gmake: Target 'all' not remade because of errors.

    Did I missed anything ?

    Best Regards

    Django

  • Hello Django,

    I have assigned an expert to help you with this query.

    Sincerely,

    Jan

  • Hi,

    I'm investigating the issue. I'll post an update later today.

    -Luis

  • Any update on this ?

  • Hi,

    I'm sorry for the delay. We are overbooked.

    Please see the instructions here.

    -Luis