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.

LAUNCHXL-CC1310: CC1310 Device ID read

Part Number: LAUNCHXL-CC1310
Other Parts Discussed in Thread: CC1310, UNIFLASH

Hi,

I added the following to my existing program to read the CC1310 chip ID:

#include DeviceFamily_constructPath(inc/hw_fcfg1.h)

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

uint64_t CHIPID = macAddress ;

Then loading the code into the board using code composer and setting up a break point, stepping through the CHIPID variable, hovering over the cursor to check its contents, I get the following:

Name: CHIPID
Default:5149013497782903
Hex:0x00124B00207AA277
Decimal:5149013497782903
Octal:04036521167
Binary:0000000000010010010010110000000000100000011110101010001001110111b

Does this look correct? I checked the following document, searched for "device id" found the register descriptions and it seems much different than the read values.

CC13x0, CC26x0 SimpleLinkTm Wireless MCU Technical Reference Manual (Rev. I) (ti.com)

What am I missing?

I plan on using the Device ID as a form of a unique identifier of each field transmitter and most interested in the smallest part of the ID that is unique and removing anything that can be a duplicate.

Thanks,

Dan

  • In your code you read out the MAC address which will give you a unique ID. But I don't understand why you are comparing this with "Device ID" which is something else (and not a unique ID)?

  • Ok. Yes, this would be the MAC address which is unique, yet 64 bits in size and looking for maybe 32 bits or less for a particular real time application with transmission. Perhaps the next question is how to read the device ID, is it  and is the device ID less than 64 bits and still unique for every device? I still my use the MAC address, just looking at all the options. Thanks.

  • Yes, I think the uniqueness question is answered with the 1.8447 x 10 19th, 20 digit decimal numbers and I will use this. Couldn't hurt to explore and learn something about the Device ID. Best Regards, Dan

  • Hi Dan,

    The MAC address is the unique identifier for the devices ad can be used for your purpose. To read the mac address you can also use the Uniflash tool. This is just for you to verify if you read the address correctly in the program. You just need to open a Uniflash session and in settings and utilities, read the primary IEEE address.

    https://www.ti.com/tool/UNIFLASH

    Regards,

    Sid