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: MAC address broken in SDK 2.40

Part Number: CC1310

I had previously accessed the MAC address using the following code:

#include <ti/devices/cc13x0/inc/hw_fcfg1.h> //for mac address register
            uint32_t * addrPtr = (uint32_t *)(FCFG1_BASE + FCFG1_O_MAC_BLE_0);

(I only needed the first 4 bytes). That worked fine until I updated to 2.40 and now it returns zero when I de-reference that pointer. Any thoughts? Nothing else changed on the hardware. I did however have to squash the usual breaking changes when switching between SDK's

  • CC1310 is not BLE chip and it won't have BLE MAC address. It should be 15.4 MAC address so I suppose you should use "uint32_t * addrPtr = (uint32_t *)(FCFG1_BASE + FCFG1_O_MAC_15_4_0);" instead of "uint32_t * addrPtr = (uint32_t *)(FCFG1_BASE + FCFG1_O_MAC_BLE_0);"
  • Well that makes sense. I guess when I wrote that code I was using a 1350 sensortag, so that would explain it. I still had the code in there, but wasn't actually using it since the changeover.


    Thanks!