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.

CC1310: CC1310 15.4 sensor MAC debug macAddrLsb Expression Value 为0 没有数据

Part Number: CC1310

HI    CC1310  15.4    simplelink_cc13x0_sdk_4_20_00_05   / sensor MAC 添加代码如下,其他未做任何更改

sensor   79 行 --85行 代码

#include "hw_memmap.h"
#include "hw_fcfg1.h"
#include "hw_types.h"

uint64_t macAddrLsb;
uint64_t macAddrMsb;
uint64_t macAddress;

427--429 行 代码 

macAddrLsb = HWREG(FCFG1_BASE + FCFG1_O_MAC_15_4_0);
macAddrMsb = HWREG(FCFG1_BASE + FCFG1_O_MAC_15_4_1);
macAddress = (uint64_t)(macAddrMsb << 32) + macAddrLsb;

 ---》debug---》Expressions     macAddrLsb   / macAddrMsb / macAddress  Value为 0X0000000000

Q1.麻烦请分析下原因是代码错误  还是HWREG函数未起作用。

Q2.如何正确debug---》Expressions   macAddrLsb   / macAddrMsb / macAddress 显示 MAC值

谢谢