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.

CC2642R: Host_Test cannot work with BTool after enable RF Coexistence

Part Number: CC2642R
Other Parts Discussed in Thread: SYSCONFIG,

Hi team,

My customer want to enable RF Coexistence on Host_Test project. However, CC2642 cannot work with BTool (Device Reset Timeout) after just checking "RF Coexistence" on sysconfig file. Please help clarify. Thank you.

Part number: CC2642R

SDK: simplelink_cc13x2_26x2_sdk_5_20_00_52

Project : Host_Test

  • Hey Jerry,

    I've assigned this to an expert to comment on. You may need to also add "-DUSE_COEX" predefined symbol in build_config.opt file.

  • Hi Jerry,

    You'll also need to provide us with some more detail about the nature of their Coex. From the screenshot you've shared, it looks like the CC device isn't responding when the BTool software sends a request. This may be because host_test's coexistence configuration doesn't allow it. I've attached a project that enabled host_test that works, the only things I've modified are the sysconfig and the build_config.opt files. Feel free to use it as a reference.

    ble_host_test_coex_5.20.zip

    Best,
    Nate

  • Hi Nathan,

    For your code "ble_host_test_coex_5.20.zip", you don't enable "RF Coexistence". Besides, the build_config.opt is a linker to the SDK. I cannot see what you modified. Do you only add "-DUSE_COEX" in build_config.opt ? 

    Please try to enable  "RF Coexistence", then you can see our problem.

  • Hi Nathan,

    I use CCS10.4 to open your project. But there are many building error. 

    My steps:

    1. use CCS10.4 to open one new workspace. 

    2. unzip your ble_host_test_coex_5.20.zip to the folder of the above workspace.

    3.  on CCS, File --> Open projects from File System.  Directory choose the above folder of ble5_host_test_cc26x2r1lp_app.

    4. on CCS, Build above project. Then, there happen many errors as attachment.

    build_error.txt 

  • Hi Jerry,

    Can you clean the project, build the stack library, build the project then flash the project and see if that works?

  • Hi Nathan,

    After adding stack library, I can build your project. However, I find for your code (ble_host_test_coex_5.20.zip), you don't enable "RF Coexistence".

    Besides, build_config.opt is a linker file. If I just add "-DUSE_COEX" in build_config.opt (in my SDK) enable "RF Coexistence" in sysconfig file and , there are linker error as below.

    undefined        first referenced
    symbol            in file
    ---------             ----------------
    coexConfig      <whole-program>
    coexConfigBle <whole-program>

  • Hi Jerry,

    I see the issue now.

    When you enable coexistence, do you enable it with 1 wire request, or grant? 

    The error tells me that the device is not responding when BTool sends it data. I would recommend reviewing what files get changed when Coexistence is enabled or not. I will review this on my end too and get back to you

    Best,

    Nate

  • Hi Jerry

    I've checked our internal reports, and I've verified myself that coexistence works with host_test for the 4.20 SDK. I'd revert to that SDK first and see if it works, and I'm going to take action internally to fix for 5.20.

    Best,

    Nate