Author: LinglingG_46 Version: **
How can I get the silicon unique ID of PSoC® device?
The PSoC Creator and ModusToolbox® offer us system functions to acquire the unique ID.
PSoC 3, PSoC 4, and PSoC 5LP call the API: void CyGetUniqueId(uint32* uniqueId).
PSoC 6 calls the API: uint64_t Cy_SysLib_GetUniqueId(void).
The ID includes Die lot, Die Wafer, Die X, Die Y, Die Sort, Die Minor, and Die Year.
Note: The uniqueness of the number is guaranteed for 10 years due to the die lot number having a 10-year lifecycle; even after 10 years, the probability of getting two identical numbers is very small.