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.

CC1354R10: Require Assistance getting BLE working on CC1354R10 on CC1352R Launchpad

Part Number: CC1354R10
Other Parts Discussed in Thread: CC1354P10, SYSCONFIG

Tool/software:

Dear TI Community,

I am attempting to use a CC1354R10 chipset on a CC1352R1_Launchpad.

The CC1352R1 chipset was removed from its development kit and was replaced with a CC1354R10 chipset.

Environment:

  • Board: CC1354R10 on CC1352R1 Launchpad development kit.
  • SDK Version: simplelink_cc13xx_cc26xx_sdk_8_30_01_01
  • Development Environment: Windows 11 with CCS_20.1.0.00006_win
  • Using CC1354P10_1 samples from SDK
  • Removed BLE and 802.15.4 stacks from sysconfig and then re-added them with configuration for "CC1354R10 RGZ on CC1352R1_LAUNCHXL"

What's tested and works:

  • MCUboot works with external flash; i.e., MCUboot successfully swaps image from external flash to internal flash. 
  • Sub-GHz works. TI 802.15.4 samples (collector and sensor) works fine for sub-GHz.

What's tested and does not work:

  • All Bluetooth Samples.
  • 2.4GHz TI 802.15.4 samples, i.e. collector_2.4g and sensor_2.4g.

In Summary:

May someone please advise me on how to get a simple BLE sample such as "Basic_BLE" sample working on the CC1354R10 on the CC1352R1-Launchpad.

Kind Regards

Brenton

  • Hi Brenton,

    Here are some steps and files I have used. Please test this and let me know how it goes.

    1. Attached two files, add these in your local SDK installation and overwrite the default version:

    - source/ti/ble5stack/.meta/ble_common.js https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/156/ble_5F00_common.js

    - source/ti/ble5stack/.meta/rf_config/LP_CC1354R10_rf_defaults.js 

    /*
     * Copyright (c) 2019 Texas Instruments Incorporated - http://www.ti.com
     * All rights reserved.
     *
     * Redistribution and use in source and binary forms, with or without
     * modification, are permitted provided that the following conditions
     * are met:
     *
     * *  Redistributions of source code must retain the above copyright
     *    notice, this list of conditions and the following disclaimer.
     *
     * *  Redistributions in binary form must reproduce the above copyright
     *    notice, this list of conditions and the following disclaimer in the
     *    documentation and/or other materials provided with the distribution.
     *
     * *  Neither the name of Texas Instruments Incorporated nor the names of
     *    its contributors may be used to endorse or promote products derived
     *    from this software without specific prior written permission.
     *
     * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
     * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
     * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
     * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
     * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
     * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
     * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
     * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
     * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
     * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
     * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
     *
     */
    
    /*
     *  ======== LP_CC1354R10_rf_defaults.js ========
     */
    
    "use strict";
    
    const radioConfigParams = {
        symGenMethod: "Custom",
        rfMode: "RF_modeBle",
        txPower: "RF_BLE_txPowerTable",
        txPowerSize: "RF_BLE_TX_POWER_TABLE_SIZE",
        overrides: "pOverrides_ble",
        stackOverride: "ti/ble5stack_flash/icall/inc/ble_overrides.h",
        stackOverrideMacro: "BLE_STACK_OVERRIDES",
        cmdList_ble: []
    };
    //const radioConfigParams = {};
    const rfDesignParams = {};
    
    exports = {
        radioConfigParams: radioConfigParams,
        rfDesignParams: rfDesignParams
    };

    2. Open CCS (I have only tested with CCS 12.8.1 but I expect this to work in CCS 20 as well). Import the CC1354P10-1 version of your desired project, e.g.  C:\ti\simplelink_cc13xx_cc26xx_sdk_8_30_01_01\examples\rtos\LP_EM_CC1354P10_1\ble5stack\basic_ble

    3. Open the project sysconfig file. Open "Show Device view". Press SWITCH.

    4. You will get a window called Migrate Settings. For Board, New Value, there's a drop down menu where you can select CC1354R10RGZ on CC1352R1_LAUNCHXL and then press CONFIRM.

    5. We will get a few errors in SysConfig. Anyways, press save (CTRL+S) to actually migrate SysConfig.

    6. You will get an error in SysConfig -> RF Design -> Based on RF Design. This is resolved by switching this drop down to LP_CC1354R10_RGZ.

    7. There is another error in TI Drivers -> RF -> Use Hardware. This error we can just accept/acknowledge.

    8. There are errors for every pin mux. I actually don't know why. These can also be accepted, or reselected in the drop down menu. E.g. TI driver aps -> Button -> CONFIG_BUTTIN_0 and 1 -> PinMux -> Button. 

    9. When all SysConfig errors are handled we can build and debug the project.

    Cheers,

    Marie H

  • Thank you Marie and TI team for assisting us to solve the above mentioned problem. For future reference for other people viewing this forum, the above steps solved our problem. The only other requirement for the solution is to disable "XOSC Cap Array Modification" for both MCUBoot and the BLE APP.

    Kind Regards

    Brenton