Other Parts Discussed in Thread: C2000WARE
Tool/software:
HI expert:
I can not find the UID register in ccs ,how to find the Device Unique ID value?

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.
Tool/software:
HI expert:
I can not find the UID register in ccs ,how to find the Device Unique ID value?

Hi Youjin,
Please refer to this thread:
Best,
Ryan Ma
yes。
the address error I finded.
such as,i can find the TestErrorRegs in ccs.


but i can not find the UidRegs in ccs?where can i find the value?
0x0007_1140 random ID1 (used to seed UID0/1)
0x0007_1142 random ID2 (used to seed UID0/1)
0x0007_1144 random ID3 (used to seed UID0/1)
0x0007_1146 random ID4 (used to seed UID0/1)
0x0007_1148 random ID5 (used to seed UID0/1)
the value is different after mcu reset each time?
0x0007_1140 random ID1 (used to seed UID0/1)
0x0007_1142 random ID2 (used to seed UID0/1)
0x0007_1144 random ID3 (used to seed UID0/1)
0x0007_1146 random ID4 (used to seed UID0/1)
0x0007_1148 random ID5 (used to seed UID0/1)
the value is different after mcu reset each time?or pseudo-random data is same after mcu reset each time and each mcu is different?
Hi Youjun,
Can you instead try calling the following driverlib function to get the unique ID?
Under sysctr.h, you'll find the SysCtl_getDeviceUID0 driverlib function.
Best,
Ryan Ma
OK.
0x0007_114A UID_UNIQUE0
0x0007_114C UID_UNIQUE1
UID_UNIQUE is 64 bit,which is the high 32bit?UID_UNIQUE1?
Under sysctr.h, you'll find the SysCtl_getDeviceUID0 driverlib function.
Q:sorry ,i can not find the SysCtl_getDeviceUID0 function
Hi Youjun,
Under sysctl.h, which can be found here:

C:\ti\c2000\C2000Ware_x_xx_xx_xx\driverlib\f280013x\driverlib\sysctl.h
the driverlib function reads the address as 32 bit, for both UID0 and UID1.
UID0's would be the LSB, UID1's would be MSB. Making your Unique identifier 64 bits long.
Best,
Ryan Ma