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 SimpleLink 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