Part Number:CC1310
问题如题,查看其它问题贴,
基于 https://e2e.ti.com/support/wireless-connectivity/sub-1-ghz-group/sub-1-ghz/f/sub-1-ghz-forum/1088257/cc1310-program-works-in-debug-but-not-after-reset
将ccfg.c 中修改如下代码:
#define SET_CCFG_MODE_CONF_SCLK_LF_OPTION 0x3 // LF RCOSC
#define SET_CCFG_BL_CONFIG_BOOTLOADER_ENABLE 0xC5 // Enable ROM boot loader
#include DeviceFamily_constructPath(startup_files/ccfg.c)
但是问题并没有解决。
Kevin Qiu1:
ccfg默认配置已经设置好了时钟,不需要再修改:
//##################################### // Clock settings //######################################ifndef SET_CCFG_MODE_CONF_SCLK_LF_OPTION // #define SET_CCFG_MODE_CONF_SCLK_LF_OPTION0x0// LF clock derived from High Frequency XOSC // #define SET_CCFG_MODE_CONF_SCLK_LF_OPTION0x1// External LF clock #define SET_CCFG_MODE_CONF_SCLK_LF_OPTION0x2// LF XOSC // #define SET_CCFG_MODE_CONF_SCLK_LF_OPTION0x3// LF RCOSC #endif已看到你的多个帖子,硬件可能有问题,需要按之前说的先检查硬件设计:
https://e2echina.ti.com/support/wireless-connectivity/sub-1-ghz/f/sub-1-ghz-forum/219045/cc1310-set_ccfg_mode_conf_sclk_lf_option-0-lf-clock-derived-from-high-frequency-xosc-jtag-1310
https://e2echina.ti.com/support/wireless-connectivity/sub-1-ghz/f/sub-1-ghz-forum/218973/cc1310-smartrf-studio-7-xds110-cc1310-device-reset-failed-cc26xx-hib-reset