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.

CC1350: how to get IEEE address and print on console

Part Number: CC1350

我想要取得IEEE的地址 我參照網路上的程式碼 但和我用Flash Programmer 2查找出來的不相同,且我使用兩台裝置顯示出來的數值相同

參考網站 : www.ti2k.com/48045.html

以下提供我的部分程式碼:

#define FCFG1_BASE              0x50001000    // FCFG1

#define EXTADDR_OFFSET    0x2F0

#define APIMAC_SADDR_EXT_LEN        8     // IEEE Address Length

uint8_t ApiMac_extAddr;

memcpy(ApiMac_extAddr, (uint8_t *)(FCFG1_BASE + EXTADDR_OFFSET), (APIMAC_SADDR_EXT_LEN));

printf("%x",ApiMac_extAddr);

希望能提供我取得ieee的地址 以及正確print的方式,目前我都需要把print放到while(1)內才有辦法顯示,我猜print並不是ccs正規的顯示方式