Part Number: CC2652R7
i want to read my own IEEE address from my program only, please suggest API for this
regards
jagdish K
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.
Part Number: CC2652R7
i want to read my own IEEE address from my program only, please suggest API for this
regards
jagdish K
You can use the following code to read IEEE/MAC address from CC26xx device.
#include"hw_memmap.h" #include"hw_fcfg1.h" #include"hw_types.h" uint64_tmacAddrLsb; uint64_tmacAddrMsb; uint64_tmacAddress; 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;