Hi,
I want to configure CC1352P7-4 launchpad as boarder router,router and node. but ti_wisunfan is not available for CC1352P7-4.
It is available for CC1352P7-1. What all things I have to change to port it on CC1352P7-4.
Thanks in advance
Archana
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.
Hi,
I want to configure CC1352P7-4 launchpad as boarder router,router and node. but ti_wisunfan is not available for CC1352P7-4.
It is available for CC1352P7-1. What all things I have to change to port it on CC1352P7-4.
Thanks in advance
Archana
Hi Marie
Thank you for the response. I changed as per your suggestion.
now I am getting following error...
Building file: "../ti_wisunfan_border_router.syscfg"
Invoking: SysConfig
"C:/ti/ccs1210/ccs/utils/sysconfig_1.14.0/sysconfig_cli.bat" -s "C:/ti/simplelink_cc13xx_cc26xx_sdk_6_30_01_03/.metadata/product.json" --script "D:/Projects/wolverine/ti_workspace/ns_br_src_LP_CC1352P7_1_tirtos7_ticlang/ti_wisunfan_border_router.syscfg" -o "syscfg" --compiler ticlang
Running script...
Validating...
subdir_rules.mk:9: recipe for target 'build-1397266417' failed
error: /ti/devices/radioconfig/rfdesign rfDesign: RF Design must align with board selection: LP_CC1352P7-4
1 error(s), 0 warning(s)
gmake: *** [build-1397266417] Error 1
gmake: Target 'all' not remade because of errors.
**** Build Finished ****
BR
Archana
Hi Archana,
1. Please open the relevant sysconfig setting (should have a big red circle next to it) and change to CC1352P7-4.
2. You need to create the missing file (ti/ti_wisunfan/rf_config/LP_CC1352P7_4_rf_defaults.js). You can copy-paste LP_CC1352P7_4_rf_defaults.js from one of the other folders, e.g. ti 15.4-Stack.
Cheers,
Marie H
Hi Marie,
Thanks Marie, I could able to progress little bit . New error is for frequency band .
**** Build of configuration Release for project ns_br_src_LP_CC1352P7_1_tirtos7_ticlang ****
"C:\\ti\\ccs1210\\ccs\\utils\\bin\\gmake" -k -j 16 all -O
Building file: "../ti_wisunfan_border_router.syscfg"
Invoking: SysConfig
"C:/ti/ccs1210/ccs/utils/sysconfig_1.14.0/sysconfig_cli.bat" -s "C:/ti/simplelink_cc13xx_cc26xx_sdk_6_30_01_03/.metadata/product.json" --script "D:/Projects/wolverine/ti_workspace/ns_br_src_LP_CC1352P7_1_tirtos7_ticlang/ti_wisunfan_border_router.syscfg" -o "syscfg" --compiler ticlang
Running script...
Validating...
subdir_rules.mk:9: recipe for target 'build-1397266417' failed
error: /ti/ti_wisunfan/ti_wisunfan radioConfig.freqBand: The 868 MHz band is not supported in this /ti/devices/radioconfig/rfdesign fbSub1g
error: /ti/ti_wisunfan/ti_wisunfan rfDesign: Must match /ti/devices/radioconfig/rfdesign rfDesign in the RF Design Module
2 error(s), 0 warning(s)
gmake: *** [build-1397266417] Error 1
gmake: Target 'all' not remade because of errors.
**** Build Finished ****
As per User guide supported band for CC1352p7_4 is
Major frequency bands used are 902 to 928 MHz for North America, 863 to 876 MHz for
Europe and 920 to 928 MHz for Japan.
Please help me to resolve this
Thanks
Archana
Hi Marie,
I could change RF design to LP_CC1352P7_4 . I also see big red cross for TI WI-SUN FAN but getting exception
I have collected screen shot to show you. Any Idea how to change this



Thanks
Archana
Hi Archana,
You need to create the missing file (ti/ti_wisunfan/rf_config/LP_CC1352P7_4_rf_defaults.js). You can copy-paste LP_CC1352P7_4_rf_defaults.js from one of the other folders, e.g. ti 15.4-Stack.
Cheers,
Marie H
Hello Marie,
LP_CC1352P7_4 supports only 433MHz different from LP-CC1352P7-1
We need new rf_defaults.js for wisun. currently I am getting this error. it means I have to add devSpecific2Gfsk50KbpsWiSUNSettings for phyType433.
I could not find devSpecific2Gfsk50KbpsWiSUNSettings for phyType433 in current examples. is there any way to generate rf_default.js file
ReferenceError: devSpecific2Gfsk50KbpsWiSUNSettings is not defined
Hide Details...
at loaderFunc (C:\ti\simplelink_cc13xx_cc26xx_sdk_6_30_01_03\source\ti\ti_wisunfan\.meta\rf_config\LP_CC1352P7_4_rf_defaults.js:162:30)
BR
Archana
Hi Marie,
Your suggestion just to change freqband devSpecific2Gfsk50KbpsWiSUNSettings_12_5dev didn't work. So I tried to create the file with the help of CC1352P_4_LAUNCHXL_rf_defaults.js and LP_CC1352P7_1_rf_defaults.js. new file is attached
/*
* 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_CC1352P7_4_rf_defaults.js ========
*/
"use strict";
// Get common rf settings
const rfCommon = system.getScript("/ti/ti_wisunfan/rf_config/"
+ "ti_wisunfan_rf_config_common.js");
/*
* ======== Device Specific Proprietary PHY Settings ========
*
* These Objects will be used to extend the common proprietary phy settings
* defined in ti_wisunfan_rf_config_common.js.
*
* These Objects must contain the following elements:
* - args: Phy setting arguments to be passed to the radio config module
* - freqBand: The frequency band containing the carrierFrequency.
* Valid options: 433, 868, 2440(reserved for future use)
* - phyType<band>: Name of the phy found in the radio config module.
* Valid options: phyType868, phyType433,
* phyType2440(reserved for future use)
* - carrierFrequency: Frequency setting within the freqBand
* - whitening: Type of whitening
* - preambleCount: Number of bytes in preamble
* - packetLengthConfig: Whether packets are variable or fixed length
* - syncWordLength: Number of bits in sync word
* - syncWord: Complete sync word
* - codeExportConfig: Exported code names to be passed to
* radioConfig.codeExportConfig
* - rfMode (optional): Name of the generated RF_Mode object
* - txPower (optional): Name of the generated Tx power table
* - txPowerSize (optional): Name of generated Tx power table size
* - overrides (optional): Name of the generated overrides table
* - cmdPropRadioDivSetupPa: Name of the generated
* rfc_CMD_PROP_RADIO_DIV_SETUP_PA_t command
* - paExport: Determines how PA table is exported
* - cmdFs (optional): Name of the generated rfc_CMD_FS_t command
* - cmdPropCs (optional): Name of the generated rfc_CMD_PROP_CS_t
* - cmdPropRxAdv (optional): Name of the generated
* rfc_CMD_PROP_RX_ADV_t command
* - cmdPropTxAdv (optional): Name of the generated
* rfc_CMD_PROP_TX_ADV_t command
*/
// Object containing SimpleLink Long Range, 5kbps setting for CC1352P_4_LAUNCHXL
const devSpecificSlLr5KbpsSettings = {
args: {
freqBand: "433", // options: 868 or 433
phyType433: "slr5kbps2gfsk433mhz", // phyType suffix must match freqBand
carrierFrequency: 433.92032,
whitening: `Dynamically IEEE 802.15.4g compatible whitener and \
16/32-bit CRC`,
packetLengthConfig: "Fixed",
codeExportConfig: {
rfMode: "RF_prop_slr5kbps2gfsk433mhz",
txPower: "txPowerTable_slr5kbps2gfsk433mhz",
txPowerSize: "TX_POWER_TABLE_SIZE_slr5kbps2gfsk433mhz",
overrides: "pOverrides_slr5kbps2gfsk433mhz",
cmdList_prop: ["cmdPropRadioDivSetupPa"],
cmdPropRadioDivSetupPa:
"RF_cmdPropRadioDivSetup_slr5kbps2gfsk433mhz",
paExport: "combined",
cmdFs: "RF_cmdFs_slr5kbps2gfsk433mhz",
cmdPropTxAdv: "RF_cmdPropTxAdv_slr5kbps2gfsk433mhz",
cmdPropRxAdv: "RF_cmdPropRxAdv_slr5kbps2gfsk433mhz",
cmdPropCs: "RF_cmdPropCs_slr5kbps2gfsk433mhz"
}
}
};
// Object containing 2GFSK, 50kbps settings for the CC1352P_4_LAUNCHXL
/*const devSpecific2Gfsk50KbpsSettings = {
args: {
freqBand: "433", // options: 868 or 433
// phyType suffix must match freqBand
phyType433: "2gfsk50kbps154g433mhz",
carrierFrequency: 433.92032,
whitening: `Dynamically IEEE 802.15.4g compatible whitener and \
16/32-bit CRC`,
codeExportConfig: {
rfMode: "RF_prop_2gfsk50kbps154g433mhz",
txPower: "txPowerTable_2gfsk50kbps154g433mhz",
txPowerSize: "TX_POWER_TABLE_SIZE_2gfsk50kbps154g433mhz",
overrides: "pOverrides_2gfsk50kbps154g433mhz",
cmdList_prop: ["cmdPropRadioDivSetupPa"],
cmdPropRadioDivSetupPa:
"RF_cmdPropRadioDivSetup_2gfsk50kbps154g433mhz",
paExport: "combined",
cmdFs: "RF_cmdFs_2gfsk50kbps154g433mhz",
cmdPropTxAdv: "RF_cmdPropTxAdv_2gfsk50kbps154g433mhz",
cmdPropRxAdv: "RF_cmdPropRxAdv_2gfsk50kbps154g433mhz",
cmdPropCs: "RF_cmdPropCs_2gfsk50kbps154g433mhz"
}
}
};
// Object containing 2GFSK, 50kbps settings for 866MHz WiSUN band
const devSpecific2Gfsk50KbpsWiSUNSettings_12_5dev = {
args: {
freqBand: "868", // options: 868 or 433
phyType868: "2gfsk50kbps12dev868wsun1a", // phyType suffix must match freqBand
whitening: `Dynamically IEEE 802.15.4g compatible whitener and \
16/32-bit CRC`,
preambleCount: "7 Bytes",
syncWordLength: "24 Bits",
syncWord: 0x55904E,
packetLengthConfig: "Variable",
codeExportConfig: {
cmdList_prop: ["cmdPropRadioDivSetupPa"],
cmdPropRadioDivSetupPa: "RF_cmdPropRadioDivSetup_2gfsk50kbps12dev868wsun1a",
paExport: "combined"
}
},
phy154Settings: {
freq866: {
ID: "APIMAC_50KBPS_866MHZ_PHY_4",
channelPage: "APIMAC_CHANNEL_PAGE_9"
}
}
};
*/
// Object containing 2GFSK, 50kbps settings for 433MHz WiSUN band
const devSpecific2Gfsk50KbpsWiSUNSettings_12_5dev = {
args: {
freqBand: "433",
phyType433: "2gfsk50kbps154g433mhz",
whitening: `Dynamically IEEE 802.15.4g compatible whitener and \
16/32-bit CRC`,
codeExportConfig: {
rfMode: "RF_prop_2gfsk50kbps154g433mhz",
txPower: "txPowerTable_2gfsk50kbps154g433mhz",
txPowerSize: "TX_POWER_TABLE_SIZE_2gfsk50kbps154g433mhz",
overrides: "pOverrides_2gfsk50kbps154g433mhz",
cmdList_prop: ["cmdPropRadioDivSetupPa"],
cmdPropRadioDivSetupPa:
"RF_cmdPropRadioDivSetup_2gfsk50kbps154g433mhz",
paExport: "combined",
cmdFs: "RF_cmdFs_2gfsk50kbps154g433mhz",
cmdPropTxAdv: "RF_cmdPropTxAdv_2gfsk50kbps154g433mhz",
cmdPropRxAdv: "RF_cmdPropRxAdv_2gfsk50kbps154g433mhz",
cmdPropCs: "RF_cmdPropCs_2gfsk50kbps154g433mhz"
}
},
phy154Settings: {
freq433: {
ID: "APIMAC_50KBPS_433MHZ_PHY_128",
channelPage: "APIMAC_CHANNEL_PAGE_10",
channelSpacing: "200",
totalChannels: "7",
ccaType: "1"
}
}
};
/*
* ======== Arrays Containing all PHY Settings ========
*
* These arrays will pull the common phy settings defined in
* ti_wisunfan_rf_config_common.js and merge them with the device specific phy
* settings defined in this file.
*/
// Array containing all the phy settings for the CC1352P_4_LAUNCHXL
// Order of merge matters for P4 settings to overwrite common settings
const defaultPropPhyList = [
rfCommon.mergeRFSettings(rfCommon.commonSlLr5KbpsSettings,
devSpecificSlLr5KbpsSettings),
rfCommon.mergeRFSettings(devSpecific2Gfsk50KbpsWiSUNSettings_12_5dev,
_.omit(rfCommon.common2Gfsk50KbpsSettings, ["phy154Settings"]))
];
const default50kbpsList_12_5_dev = [
rfCommon.mergeRFSettings(devSpecific2Gfsk50KbpsWiSUNSettings_12_5dev,
_.omit(rfCommon.common2Gfsk50KbpsSettings, ["phy154Settings"])),
]
exports = {
defaultPropPhyList: defaultPropPhyList,
default50kbpsList_12_5_dev: default50kbpsList_12_5_dev,
};
I am getting below error for this
TypeError: Cannot read property 'args' of undefined
Hide Details...
at addRFSettingDependency (C:\ti\simplelink_cc13xx_cc26xx_sdk_6_30_01_03\source\ti\ti_wisunfan\.meta\rf_config\ti_wisunfan_rf_config.syscfg.js:631:53) at Object.moduleInstances (C:\ti\simplelink_cc13xx_cc26xx_sdk_6_30_01_03\source\ti\ti_wisunfan\.meta\rf_config\ti_wisunfan_rf_config.syscfg.js:683:12) at func (C:\ti\simplelink_cc13xx_cc26xx_sdk_6_30_01_03\source\ti\ti_wisunfan\.meta\ti_wisunfan.syscfg.js:406:47) at cb (webpack:///src/pinmux/services/objectManagers/moduleRequirements/requirements.ts:26:6) at Object.guardCallbackAccess (webpack:///src/pinmux/services/moduleAccessGuard.ts:44:10) at h.resolveRequirements (webpack:///src/pinmux/services/objectManagers/moduleRequirements/requirements.ts:25:5) at u.resolveRequirements (webpack:///src/pinmux/services/objectManagers/moduleInstance.ts:931:27) at cb (webpack:///src/pinmux/services/objectManagers/moduleInstance.ts:540:11) at Object.withDeprecatedAccess (webpack:///src/pinmux/services/deprecatedAccessGuard.ts:14:10) at Object.s [as disableScriptingForCallback] (webpack:///src/pinmux/services/scripting/scriptingGuard.ts:14:10)
Could you please help me to write correct LP_CC1352P7_4_rf_defaults.js file
BR
Archana
Hi Archana,
Actually I looked into it and I would not recommend using CC1352P7-4 LP on the 868 or 915 frequency bands. The Sub-1 GHz path on this board is optimized for 433 MHz frequency band.
1. You said previously that you read in the User's Guide that this board is optimized for 770-930 frequency band. Can you post an exact link?
2. If you really want to make the project, you can compile it and I guess you will end up with a very weak signal. Here are the steps I followed:
- Copy the LP_CC1352P7_1_rf_defaults.js file into the C:\ti\simplelink_cc13xx_cc26xx_sdk_6_30_00_84\source\ti\ti_wisunfan\.meta\rf_config folder and change the name to LP_CC1352P7_4_rf_defaults.js
- Import the wi-sun project to CCS
- Open sysconfig. Change the board to CC1352P7-4. Open Wi-SUN-> Radio-> Based on RF design and select CC1352P7-4
- Open RF Design -> Sub-1 Ghz frequency band and select 770-930 MHz.
Cheers,
Marie H
Hi Marie,
What I know Board LP-CC1352P7-4 supports 433 MHz and 2.4 GHz. We can't use it for 770-930 band.
I want to run wisun example for 433 Mhz band as I have LP-CC1352P7-4. Did you try to port wisun example for LP-CC1352P7-4.
LP-CC1352P7-4 supports wisun but wisun example are missing for this.
suggested solution is not working. i am getting following error
**** Build of configuration Release for project ns_node_src_LP_CC1352P7_1_tirtos7_ticlang ****
"C:\\ti\\ccs1210\\ccs\\utils\\bin\\gmake" -k -j 16 all -O
Building target: "ns_node_src_LP_CC1352P7_1_tirtos7_ticlang.out"
Invoking: Arm Linker
Flags: @"D:/Projects/wolverine/ti_workspace/ns_node_src_LP_CC1352P7_1_tirtos7_ticlang/application/defines/router.opts" @"D:/Projects/wolverine/ti_workspace/ns_node_src_LP_CC1352P7_1_tirtos7_ticlang/Release/syscfg/ti_wisunfan_config.opts" -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mlittle-endian -mthumb -Oz -DWISUN_NCP_ENABLE -DEXCLUDE_TRACE -DxSWITCH_NCP_TO_TRACE -DTLS_SEC_PROT_LIB_USE_MBEDTLS_PLATFORM_MEMORY -DxWISUN_AUTO_START -DTI_WISUN_FAN_DEBUG -DBoard_EXCLUDE_NVS_EXTERNAL_FLASH -DDeviceFamily_CC13X2X7 -gdwarf-3 -fdiagnostics-show-option -fshort-enums -munaligned-access -funsigned-char -fcommon -ffunction-sections -fno-strict-aliasing -include mbed_config.h -march=armv7e-m -Wl,-m"ns_node_src_LP_CC1352P7_1_tirtos7_ticlang.map" -Wl,-i"C:/ti/simplelink_cc13xx_cc26xx_sdk_6_30_01_03/source" -Wl,-i"C:/ti/simplelink_cc13xx_cc26xx_sdk_6_30_01_03/kernel" -Wl,-i"C:/ti/simplelink_cc13xx_cc26xx_sdk_6_30_01_03/kernel/tirtos7/packages" -Wl,-i"D:/Projects/wolverine/ti_workspace/ns_node_src_LP_CC1352P7_1_tirtos7_ticlang/Release/syscfg" -Wl,-i"C:/ti/ccs1210/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/lib" -Wl,--reread_libs -Wl,--define=TIRTOS7 -Wl,--diag_wrap=off -Wl,--display_error_number -Wl,--warn_sections -Wl,--xml_link_info="ns_node_src_LP_CC1352P7_1_tirtos7_ticlang_linkInfo.xml" -Wl,--rom_model -Wl,--unused_section_elimination=on
"C:/ti/ccs1210/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/bin/tiarmclang.exe" @"D:/Projects/wolverine/ti_workspace/ns_node_src_LP_CC1352P7_1_tirtos7_ticlang/application/defines/router.opts" @"D:/Projects/wolverine/ti_workspace/ns_node_src_LP_CC1352P7_1_tirtos7_ticlang/Release/syscfg/ti_wisunfan_config.opts" -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mlittle-endian -mthumb -Oz -DWISUN_NCP_ENABLE -DEXCLUDE_TRACE -DxSWITCH_NCP_TO_TRACE -DTLS_SEC_PROT_LIB_USE_MBEDTLS_PLATFORM_MEMORY -DxWISUN_AUTO_START -DTI_WISUN_FAN_DEBUG -DBoard_EXCLUDE_NVS_EXTERNAL_FLASH -DDeviceFamily_CC13X2X7 -gdwarf-3 -fdiagnostics-show-option -fshort-enums -munaligned-access -funsigned-char -fcommon -ffunction-sections -fno-strict-aliasing -include mbed_config.h -march=armv7e-m -Wl,"ccsLinker.opt" -Wl,ccsObjs.opt -o "ns_node_src_LP_CC1352P7_1_tirtos7_ticlang.out"
makefile:637: recipe for target 'ns_node_src_LP_CC1352P7_1_tirtos7_ticlang.out' failed
warning #10247-D: creating output section ".ARM.exidx" without a SECTIONS specification
warning #10229-D: output section ".data" refers to load symbol "rfSelect" and hence cannot be compressed; compression "lzss" is ignored
undefined first referenced
symbol in file
--------- ----------------
rfSelect ./application/main.o
error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "ns_node_src_LP_CC1352P7_1_tirtos7_ticlang.out" not built
tiarmclang: error: tiarmlnk command failed with exit code 1 (use -v to see invocation)
gmake[1]: *** [ns_node_src_LP_CC1352P7_1_tirtos7_ticlang.out] Error 1
makefile:633: recipe for target 'all' failed
gmake: *** [all] Error 2
**** Build Finished ****
Are you able to build locally?
BR
Archana