您好!
我想将 CC1352P7-4 launchpad 配置为边界路由器、路由器和节点。 但 ti_wisunfan 不适用于 CC1352P7-4。
它适用于 CC1352P7-1。 在 CC1352P7-4上进行端口连接之前、我需要更改的所有内容。
提前感谢
阿尔卡纳
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.
您好!
我想将 CC1352P7-4 launchpad 配置为边界路由器、路由器和节点。 但 ti_wisunfan 不适用于 CC1352P7-4。
它适用于 CC1352P7-1。 在 CC1352P7-4上进行端口连接之前、我需要更改的所有内容。
提前感谢
阿尔卡纳
你(们)好、Marie
感谢您的回答。 我根据您的建议进行了更改。
现在我遇到以下错误...
编译文件:"../ti_wisunfan_border_router.syscfg"
调用: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 逆时针
正在运行脚本...
正在验证...
subdir_rules.mk:9:目标'build-1397266417'的配方失败
错误:/ti/devices/radioconfig/rfdesign rfDesign:RF Design 必须与电路板选择保持一致:LP_CC1352P7-4
1个错误、0个警告
gmake:***[build-1397266417]错误1.
gmake:目标"全部"不会由于错误而重新生成。
****构建完成****
BR
阿尔卡纳
您好、Archana、
1.请打开相关的 SysConfig 设置(旁边应该有一个大红圈)并更改为 CC1352P7-4。
2.您需要创建缺失的文件(ti/ti_wisunfan/rf_config/lp_CC1352P7_4_rf_defaults.js)。 您可以从 其他文件夹之一(例如 ti 15.4-Stack)复制粘贴 LP_CC1352P7_4_RF_DEFAULTs.js。
谢谢、
玛丽·H
您好、Marie、
谢谢 Marie,我能稍微进步一点。 新错误是针对频段的。
****为项目 ns_br_src_lp_CC1352P7_1_tirtos7_ticlang 构建配置发布****
"C:\\ti\\ccs1210\\ccs\\utils\\bin\\gmake"-k -j 16 all -O
编译文件:"../ti_wisunfan_border_router.syscfg"
调用: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 逆时针
正在运行脚本...
正在验证...
subdir_rules.mk:9:目标'build-1397266417'的配方失败
错误:/ti/ti_wisunfan/ti_wisunfan radioConfig.freqBand:此/ti/devices/radioconfig/rfdesign fbSub1g 不支持868MHz 频带
错误:/ti/ti_wisunfan/ti_wisunfan rfDesign:必须与射频设计模块中的/ti/devices/radioconfig/rfdesign rfDesign 匹配
2个错误、0个警告
gmake:***[build-1397266417]错误1.
gmake:目标"全部"不会由于错误而重新生成。
****构建完成****
根据用户指南、CC1352p7_4支持的频带为
北美使用的主要频段为902至928MHz、北美使用的主要频段为863至876MHz
欧洲为920至928 MHz、日本为920至928 MHz。
请帮助我解决此问题
谢谢
阿尔卡纳
您好、Marie、
LP_CC1352P7_4仅支持与 LP-CC1352P7-1不同的433MHz
我们需要新的 rf_defaults.js 来运行 wisun。 目前我遇到此错误。 这意味着我必须为 phyType433添加 devSpecif2Gfsk50KbpsWiSUNSettings。
我 在当前示例中找不到 phyType433的 devSpecif2Gfsk50KbpsWiSUNWSUNWSettings。 是否有任何方法生成 RF_DEFAULT.js 文件
参考错误:未定义 devSpecif2Gfsk50KbpsWiSUNSettings
隐藏详细信息...
在 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
阿尔卡纳
您好、Marie、
您仅更改频率频带设备的建议 Specif2Gfsk50KbpsWiSUNSettings_12_5dev 无效。 因此、我尝试在 CC1352P_4_LAUNCHXL_RF_DEFAULTs.js 和 LP_CC1352P7_1_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_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, };
因此、我会遇到以下错误
TypeError:无法读取未定义的属性'args'
隐藏详细信息...
在 Object.moduleInpack (/src/pinmux/services/objectManagers/moduleRequirements/requirements.ts /src/pinmux/services/moduleAccessGuard.ts:ti_wisunfan\.meta_config\ti_wissue_c13xx_cc26xx_sdk_6_30_01_03\sources\ti_wisunfan\.meta_config\ti_wisunfan_config.syscfan_config.syscfan.sybun.cc30:jbun.cc363\ti:ti:ti:ti:cwest_un_unfan_un_uncs.cc30_un_un_uncsd30_un_uncsd/swest_un_un_uncs.meta/sim_un_un_un_un_un_uncs.cc363\meta/simbun_un_un_un_uncs.meta/sim_uncs.cc30_un_un_uncs.cc30_un_un_uncs.cc363.ti (c/swest_un_un_un_un_un_uncs.cc30_un_un_un_un /src/pinmux/services/scripting/scriptingGuard.ts /src/pinmux/services/deprecatedAccessGuard.ts /src/pinmux/services/objectManagers/moduleInstance.ts /src/pinmux/services/objectManagers/moduleInstance.ts /src/pinmux/services/objectManagers/moduleRequirements/requirements.ts
请帮我编写正确 的 LP_CC1352P7_4_RF_defaults.js 文件
BR
阿尔卡纳
您好、Archana、
实际上、我已经了解过它、不建议在868或915频段上使用 CC1352P7-4 LP。 此电路板上的低于1GHz 路径针对433MHz 频带进行了优化。
1.您之前说过、您已阅读用户指南、该电路板针对770-930频段进行了优化。 您能否发布准确的链接?
2.如果你真的想制作这个项目,你可以编译它,我想你最终会得到一个非常弱的信号。 下面是我执行的步骤:
-将 LP_CC1352P7_1_RF_defaults.js 文件复制到 C:\ti\simplelink_cc13xx_cc26xx_sdk_6_30_00_84\source\ti\ti_wisunfan\.meta\rf_config 文件夹中、并将名称更改为 lp_CC1352P7_4_rf_defaults.js
-将 wi-sun 项目导入 CCS
-打开 SysConfig。 将电路板更改为 CC1352P7-4。 根据射频设计打开 Wi-SUN ->无线电->并选择 CC1352P7-4
-开放射频设计->低于1GHz 频段并选择770-930 MHz。
谢谢、
玛丽·H
您好、Marie、
我所知电路板 LP-CC1352P7-4支持433MHz 和2.4GHz。 我们不能将其用于770-930频段。
我想针对433MHz 频带运行 wisun 示例、因为我具有 LP-CC1352P7-4。 您是否尝试为 LP-CC1352P7-4移植 wisun 示例。
LP-CC1352P7-4支持 wisun、但缺少 wisun 示例。
建议的解决方案无效。 我遇到以下错误
****为项目 ns_node_src_lp_CC1352P7_1_tirtos7_ticlang 构建配置发布****
"C:\\ti\\ccs1210\\ccs\\utils\\bin\\gmake"-k -j 16 all -O
构建目标:"ns_node_src_lp_CC1352P7_1_tirtos7_tirang.out"
调用:ARM 链接器
flags:@"D:/Projects/wolverine/ti_workspace/ns_node_src_LP_CC1352P7_1_tirtos7_ticlang/application/defines/router.opts mbed_config.h /ti/simplelink_cc13xx_cc26xx_sdk_6_30_01_03/source @"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 -mfpv4-s-D16 -mslittle-endian -mz -dWISUN_ncp_enable -dexclu_dtrade -dxswpch_to-dwl_t_exclus-texclus-tid_un-texclus-tid_un-tid_un-texctrad_un-tine-texclus-tine-tid_un-dwl_un-mctrad_un-tidem_un-texclus-tidem_un-mctrad_un-tex-texclus-mctrad_un-tex-tex-tex-mctrad_clus-tine-tine-mctrad_un-mctrad_un-mctrad_un-mctrad_un-tex-tex-tine-tines_un-m /ti/ccs1210/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/lib /Projects/wolverine/ti_workspace/ns_node_src_LP_CC1352P7_1_tirtos7_ticlang/Release/syscfg /ti/simplelink_cc13xx_cc26xx_sdk_6_30_01_03/kernel/tirtos7/packages /ti/simplelink_cc13xx_cc26xx_sdk_6_30_01_03/kernel
"c:/ti/ccs1210/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/bin/tiarmclang.exe mbed_config.h @"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 -mfpv4-sp-D16 -mslittle-endian -mthumb -oz -dWISUN_ncp_enable -dexcCLUDE_trace -dswp_sp_d16 -ms-mittsn_exclus_tex-tintrad_un_clus_un_un_un_un-texclus_un-texclus_un_un-texclus_un_un-texclus_un-tintrad_un-texctrad_un_un_un_un-dsp -texclus_un_un_un-texclus_un-texctrad_clus_un-tintrad_un_un_un-texctrad_un_un_un_un-dsp -texctrad_un_un_un_un-tinese-texctrad_
Makefile:637:目标'ns_node_src_LP_CC1352P7_1_tirtos7_tronang.out'的配方失败
警告#10247-D:在不使用 SECTIONS 规范的情况下创建输出段".arm.exidx"
警告#10229-D:输出段".data"是指加载符号"rfSelect"、因此无法压缩;压缩"lzss"会被忽略
未定义的首次引用
符号
------ --------
rfSelect ./application/main.o
错误#10234-D:未解析的符号仍然存在
错误#10010:链接期间遇到错误;未构建"ns_node_src_lp_CC1352P7_1_tirtos7_ticlang.out"
tiarmclang:错误:tiarmlnk 命令失败、退出代码为1 (使用-v 查看调用)
gmaked[1]:***[ns_node_src_LP_CC1352P7_1_tirtos7_tronang.out]错误1.
Makefile:633:目标“全部”的配方失败
gmake:***[全部]错误2.
****构建完成****
您是否能够 在本地构建?
BR
阿尔卡纳