请问msp430fr2673这个型号的芯片,有芯片自带唯一ID吗?如果有,应该在哪个地址读取呢?
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.
手册上devid按照表9-29是一个固定值,1A0A位置我通过调试尝读取了不同芯片获得的值都是0x31930114。哪一个代表的是芯片的唯一ID呢?
uint8_t temp[4] = {0}; uint8_t *p; //小端模式 p = (uint8_t *)0X1804; //Get Wafer ID and Die position uint8_t i = 0; for (; i < 4; i++, p++) { temp[i] = *p; } memcpy(&sys_reg.UID, temp, 4); return sys_reg.UID;